Has anyone had this one? My log.nmb file gives: 1999/03/22 11:29:48 netbios nameserver version 1.9.18p10 started Copyright Andrew Tridgell 1994-1997 1999/03/22 11:29:49 becoming a daemon Added interface ip=10.1.7.1 bcast=10.1.255.255 nmask=255.255.0.0 bind failed on port 137 socket_addr=10.1.7.1 (Address already in use) make_subnet: Failed to open nmb socket on interface 10.1.7.1 for port 137. Error was Address already in use ERROR: Failed when creating subnet lists. Exiting. Samba works except for browsing (we have to specify the server name in the path, or use Find Computer). We are on AIX 4.1.5. I check the services running and see the following for port 137: netbios-ns 137/tcp # NETBIOS Name Service netbios-ns 137/udp # NETBIOS Name Service Anyone see whats not right here? Regards, Dave
samba 2.0.6 hp-ux 10.20 When I attempt to start nmbd as a daemon from the command line, I get an error message stating: bind failed on port 137 nmbd is not running, nor is it setup via inetd. smbd starts up successfully. I found many similar problems in the archives, but no resolutions to the problem. Any help would be appreciated. Thanks, Aaron Aaron Fein System Administrator - Scientific Programmer National Institute of Standards and Technology (301) 975-3719
Hi Aaron, Check to see if anything is currently bound to 137 - use netstat -an|grep 137 on the HP-UX system... Perhaps an old instance of nmbd left this port in an unstable state. Also there are HP products (LM/X, LM/U and AS/U) that make use of this port - perhaps someone has installed a trial version of one of these to make tests with... Just a thought, Don
I checked port 137 with netstat -an and port 137 was listed as udp 0 0 *.137 *.* Port 137 does not even show up if I omit the -a, so this seems to imply that it is "passive", as opposed to "active". I'm trying to figure out what "passive" means, is it anything more than the fact that it is listed in /etc/services? Any other ideas? TIA, Aaron On Friday, December 10, 1999 11:59 AM don_mccall@hp.com wrote: Check to see if anything is currently bound to 137 - use netstat -an|grep 137 on the HP-UX system... Original Post ------------- samba 2.0.6 hp-ux 10.20 When I attempt to start nmbd as a daemon from the command line, I get an error message stating: bind failed on port 137 nmbd is not running, nor is it setup via inetd. smbd starts up successfully. I found many similar problems in the archives, but no resolutions to the problem. Any help would be appreciated.
Hi Aaron, Having a port in /etc/services is not enough to get it to show up in netstat -an; a process would have had to created and attached to this port at some time. HP does sell a product (and there is a 4user 'try and buy' version that you can get free from the web, so someone may have tried it out on your system) called AS/U that has a netbios daemon that would create and attach to port 137; Look in the ps -ef listing of your system to see if there is anything called /opt/lmu/netbios/bin/netdemon. If YES, then as root execute the command /opt/lmu/netbios/bin/nbutil -N stop. That will stop the daemon and release the port. You also might want to check the ps -ef listing for any lmx processes (ps -ef|grep -i lmx) and see if an older product like lmx or lmu are out there; they also create and attach to port 137. Finally, if you send me the output of your swlist command, I can check to see if any of these products are installed (maybe add the output of the ps -ef command as well, so I can check for any active processes that I know use this port). If none are, then the best bet is that one of the initial startups of nmbd has gone wrong, and never detached from this port... Let me know, Don