I have a Solaris 10 SunFire v880 machine and I'm having trouble with Samba.
Samba has worked on this machine but since the machine has been re-booted Samba has not worked.
Machine details are:
cat /etc/release
Solaris 10 10/08 s10s_u6wos_07b SPARC
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008
The Samba version is:
smbd -V
Version 3.0.37
If I disable Samba Wins and Swat then check the 'svcs' I get
svcs samba wins
STATE STIME FMRI
disabled 11:51:08 svc:/network/samba:default
disabled 11:51:08 svc:/network/wins:default
svcs swat
STATE STIME FMRI
disabled 11:51:22 svc:/network/swat:default
When I execute the start command and check the process I see its running
svcadm enable samba wins
svcadm enable swat
ps -ef | grep smbd
root 15898 2920 0 11:54:21 pts/3 0:00 grep smbd
root 15890 7 0 11:54:16 ? 0:00 /usr/sfw/sbin/smbd -D
The network-samba:default.log file shows the following:
[ Mar 31 11:54:15 Enabled. ]
[ Mar 31 11:54:15 Executing start method ("/usr/sfw/sbin/smbd -D") ]
But the svcs command shows the Samba STATE as offline
svcs samba wins
STATE STIME FMRI
online 11:54:15 svc:/network/wins:default
offline* 11:54:15 svc:/network/samba:default
The Swat STATE is showing as online
svcs swat
STATE STIME FMRI
online 11:58:14 svc:/network/swat:default
Then after a few minutes the Samba services goes into maintenance STATE
svcs samba wins
STATE STIME FMRI
online 11:54:15 svc:/network/wins:default
maintenance 11:57:05 svc:/network/samba:default
The network-samba:default.log file shows this entry
[ Mar 31 11:57:05 Method or service exit timed out. Killing contract 178 ]
Does anyone have any idea what the problem is?