Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Samba service not starting

Solaris


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-05-2013
solaris_1977 solaris_1977 is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 22 June 2015, 5:13 PM EDT
Posts: 379
Thanks: 35
Thanked 4 Times in 4 Posts
Samba service not starting

I have Solaris-10. On one of the zone, I am not able to start samba service, while configuration looks fine. Can somebody have a look at it ?
HTML Code:
root@prt_oradb03:/# svcs -a svc:/network/samba:default
svcs: -a ignored when used with arguments.
STATE          STIME    FMRI
maintenance    11:35:16 svc:/network/samba:default
root@prt_oradb03:/# svcs -xv svc:/network/samba:default
svc:/network/samba:default (SMB file server)
 State: maintenance since Tue Feb 05 11:35:16 2013
Reason: Start method failed repeatedly, last exited with status 1.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 1m smbd
   See: man -M /usr/share/man -s 4 smb.conf
   See: /var/svc/log/network-samba:default.log
Impact: This service is not running.
root@prt_oradb03:/# tail -10 /var/svc/log/network-samba:default.log
[ Sep  4 07:30:46 Rereading configuration. ]
[ Sep  4 07:52:28 Disabled. ]
[ Feb  5 11:35:16 Enabled. ]
[ Feb  5 11:35:16 Executing start method ("/usr/sbin/smbd -D") ]
[ Feb  5 11:35:16 Method "start" exited with status 1 ]
[ Feb  5 11:35:16 Executing start method ("/usr/sbin/smbd -D") ]
[ Feb  5 11:35:16 Method "start" exited with status 1 ]
[ Feb  5 11:35:16 Executing start method ("/usr/sbin/smbd -D") ]
[ Feb  5 11:35:16 Method "start" exited with status 1 ]
[ Feb  5 11:37:26 Rereading configuration. ]
root@prt_oradb03:/#
root@prt_oradb03:/# cat /etc/sfw/smb.conf
[global]
workgroup = T-SUITE
server string = Samba Server
log file = /var/adm/samba_log.%m
security = SHARE
[export_pub]
comment = export_pub
path = /t3/data/export_pub
force user = e3qa1
force group = t3
read only = No
guest ok = Yes
root@prt_oradb03:/#
root@prt_oradb03:/# df -h /t3/data/export_pub
Filesystem             size   used  avail capacity  Mounted on
/t3/data/export_pub     50G   627M    46G     2%    /t3/data/export_pub
root@prt_oradb03:/# ls -ld /t3/data/export_pub
drwxr-xr-x   7 e3qa1    t3          1024 Oct 26 21:27 /t3/data/export_pub
Sponsored Links
    #2  
Old Unix and Linux 02-08-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 17 February 2015, 1:56 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,671
Thanks: 8
Thanked 586 Times in 559 Posts
Maybe lacks environment settings at the place/point where it is launched. Often a simple wrapper can fix that.
Sponsored Links
    #3  
Old Unix and Linux 02-09-2013
solaris_1977 solaris_1977 is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 22 June 2015, 5:13 PM EDT
Posts: 379
Thanks: 35
Thanked 4 Times in 4 Posts
I am able to fix it. It seems smb configuration file was not at riht place.
PHP Code:
root@prt_oradb03:/# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max
increasing rlimit_max (256to minimum Windows limit (16384)
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
        
No such file or directory
Error loading services
.
root@prt_oradb03:/# ls -l /etc/samba/smb.conf
/etc/samba/smb.confNo such file or directory
root
@prt_oradb03:/# cp -p /etc/sfw/smb.conf /etc/samba/smb.conf
root@prt_oradb03:/# svcadm clear svc:/network/samba:default
root@prt_oradb03:/# svcs -a|grep -i samba
online          3:46:54 svc:/network/samba:default 
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Service not starting Solaris10 fugitive Solaris 3 12-20-2010 03:30 PM
Starting a service at startup. pinga123 UNIX for Dummies Questions & Answers 3 05-11-2010 04:32 AM
Smf managed service not starting kumarmani Solaris 11 10-08-2008 01:29 PM
Service starting Problem pernasivam AIX 1 09-29-2008 05:17 AM
Requiste for starting service xinetd tuxfood Linux 0 05-24-2005 09:57 AM



All times are GMT -4. The time now is 12:39 AM.