[OpenIndiana-discuss] smb/server not getting a socket - service fails

Jim Klimov jimklimov at cos.ru
Fri Mar 28 19:21:46 UTC 2014


On 2014-03-28 20:04, Harry Putnam wrote:
> Setup:
>    Running oi -b 151_a8 as guest in a Vbox vm on win7 host. (Most
>    recent Vbox)
>
> I'm getting this error message from the smb/server on boot
>
> From: /var/svc/log/network-smb-server:default.log
>
>    [ Mar 28 13:27:06 Executing start method ("/usr/lib/smbsrv/smbd start"). ]
>    smbd: NetBIOS services started
>    smbd: kernel bind error: Address already in use
>    smbd: daemon initialization failed
>    [ Mar 28 13:27:06 Method "start" exited with status 95. ]
>...
> Any suggestions or a brief general outline of how I might go about
> tracking this down?

Did you test it at "face value" - i.e. that you have some daemon
already serving cifs (i.e. "samba" and "smb/server" both enabled)
or otherwise holding the ip:port in question?

Does this show any ports as used while your smb/server and samba
SMF (or manually launched) services are disabled?
# netstat -an | egrep '\.(13[5789]|445) '

Does this show anything unexpected?
# ps -ef | grep -v grep | egrep -i 'smb|samba|winbind'

I have these results with a kCIFS server (oi_151a8):
     root  1749     1   0   Jan 12 ?     1:00 /usr/lib/smbfs/smbiod-svc
     root  5525     1   0   Jan 25 ?    13:35 /usr/lib/smbsrv/smbd start
     root 25495  1749   0 23:18:52 ?     0:00 smbiod

...and these with a Samba server (older SXCE):
     root   628     1   0   Sep 05 ?     0:00 /usr/sfw/sbin/smbd -D
     root   644   628   0   Sep 05 ?     0:00 /usr/sfw/sbin/smbd -D
     root  8807     1   0   Sep 05 ?     0:05 /usr/sfw/sbin/smbd -D
     root 12112  8807   0   Sep 05 ?     0:00 /usr/sfw/sbin/smbd -D


HTH,
//Jim




More information about the OpenIndiana-discuss mailing list