From: Laurent Blin on
I'm testing both sunfreeware and official sun (sfw) samba on Solaris
10. For some reason since yesterday, the smbd process just "hangs" at
the start.
No log is generated on server side
Where smbd is started, I can't find any open port on 139 or 145

My OS is Solaris 10

# uname -a
SunOS labo2 5.10 Generic_142900-13 sun4v sparc SUNW,SPARC-Enterprise-T5120

# /usr/sfw/bin/testparm
Load smb config files from /etc/sfw/smb.conf
Processing section "[itmsnd]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
security = SHARE
guest account = lisfse

[itmsnd]
comment = FTP file space
path = /tmp
read only = No
guest ok = Yes

# /usr/sfw/sbin/smbd -D -d 3
< it just hangs here>
<CTRL-C>

# /usr/sfw/sbin/smbd -i -d 3
Maximum core file size limits now -3(soft) -3(hard)
get_current_groups: user is in 11 groups: 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 12
smbd version 3.0.37 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
uid=0 gid=0 euid=0 egid=0
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/sfw/smb.conf"
Processing section "[global]"
Processing section "[itmsnd]"
adding IPC service
reloading printcap cache

# /usr/sfw/bin/smbclient -N -L labo2 -d 3
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/sfw/smb.conf"
Processing section "[global]"
added interface ip=172.16.4.2 bcast=172.16.5.255 nmask=255.255.254.0
added interface ip=192.9.200.212 bcast=192.9.200.255 nmask=255.255.255.0
added interface ip=192.9.200.215 bcast=192.9.200.255 nmask=255.255.255.0
added interface ip=192.9.200.216 bcast=192.9.200.255 nmask=255.255.255.0
added interface ip=172.16.0.130 bcast=172.16.0.255 nmask=255.255.255.128
added interface ip=172.16.1.2 bcast=172.16.1.127 nmask=255.255.255.128
Client started (version 3.0.37).
resolve_lmhosts: Attempting lmhosts lookup for name labo2<0x20>
resolve_wins: Attempting wins lookup for name labo2<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name labo2<0x20>
Connecting to 192.9.200.212 at port 445
error connecting to 192.9.200.212:445 (Connection refused)
Connecting to 192.9.200.212 at port 139
error connecting to 192.9.200.212:139 (Connection refused)
Error connecting to 192.9.200.212 (Connection refused)
Connection to labo2 failed (Error NT_STATUS_CONNECTION_REFUSED)


Any idea?
Strange thing is it used to work perfectly fine until one close/start.
Since then, smbd juste don't start.

regards,
Laurent
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba