Tag Archives: Samba Server

Samba service not starting

By solaris_1977

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 ?


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


Source: FULL ARTICLE at The UNIX and Linux Forums