[SuSE Linux] nmbd -D, bind failed on port 137?
Hi, Could someone please just give me a little help here. I got samba up and running from a simple installation. Was able to copy and delete files from Win --> Linux, everything worked find. Shut down the computer, went to bed, got up this morning and smbd -D worked, but not nmbd -D. Both are started by hand. Checked /etc/log/log.nmb and found the following: "12/30/1998 09:26:44 netbios nameserver version 1.9.18p4 started Copyright Andrew Tridgell 1994-1997 bind failed on port 137 socket_addr=192.168.0.2 (Cannot assign requested address) make_subnet: Failed to open nmb socket on interface 196.168.0.2 for port 137. Error was Cannot assign requested address ERROR: Failed when creating subnet lists. Exiting." Thanks Bryn Joynes -- To reply to my e-mail, remove the REMOVE from my e-mail address. Thank You. Bryn Joynes - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Bryn Joynes wrote:
Hi,
Could someone please just give me a little help here. I got samba up and running from a simple installation. Was able to copy and delete files from Win --> Linux, everything worked find. Shut down the computer, went to bed, got up this morning and smbd -D worked, but not nmbd -D. Both are started by hand.
Checked /etc/log/log.nmb and found the following:
"12/30/1998 09:26:44 netbios nameserver version 1.9.18p4 started Copyright Andrew Tridgell 1994-1997
bind failed on port 137 socket_addr=192.168.0.2 (Cannot assign requested address)
make_subnet: Failed to open nmb socket on interface 196.168.0.2 for port 137. Error was Cannot assign requested address ERROR: Failed when creating subnet lists. Exiting."
Thanks Bryn Joynes
use an ip without the 0 i.e. 196.168.1.2 - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
At 02:05 PM 12/30/98 -1000, you wrote:
Bryn Joynes wrote:
Hi,
Could someone please just give me a little help here. I got samba up and running from a simple installation. Was able to copy and delete files from Win --> Linux, everything worked find. Shut down the computer, went to bed, got up this morning and smbd -D worked, but not nmbd -D. Both are started by hand.
Checked /etc/log/log.nmb and found the following:
"12/30/1998 09:26:44 netbios nameserver version 1.9.18p4 started Copyright Andrew Tridgell 1994-1997
bind failed on port 137 socket_addr=192.168.0.2 (Cannot assign requested address)
make_subnet: Failed to open nmb socket on interface 196.168.0.2 for port 137. Error was Cannot assign requested address ERROR: Failed when creating subnet lists. Exiting."
Thanks Bryn Joynes
use an ip without the 0 i.e. 196.168.1.2
Using 192.168.0.* shouldn't make a difference. Is your network card working with other applications. What do you get when you enter: ifconfig [network device] at the command line? - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Dear Kyle, You where right about the ip address not making a difference. I changed it but with no luck. I have not problem with using Windows WS_FTP and Linux, I can ping both ways. The ifconfig eth0 lists me out the normal information as expected. I'm thinking that S.u.S.E. loading some other software which is grabbing the port before nmbd gets hold of it. The reason I believe this is because of the following. I removed Samba with YaST, and then rebooted and then reinstalled Samba again with YaST, and immediately started smbd -D and nmbd -D, and was able to make a connection, but when I rebooted, something grabbed the port I believe. This question about port 137 comes up infrequently, and I have not been able to find an answer in dajanews or other news groups. I have found the same question being asked about different flavors of Unix also. Thanks for the help, if you have any further ideas I sure would appreciate them. Best Regards Bryn Joynes kyle wrote:
Using 192.168.0.* shouldn't make a difference. Is your network card working with other applications. What do you get when you enter:
ifconfig [network device]
at the command line?
-- To reply to my e-mail, remove the REMOVE from my e-mail address. Thank You. Bryn Joynes - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Try this: netstat -n | grep 137 If port 137 is in use, this will list it. Steve - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (3)
-
andersons001@hawaii.rr.com
-
bjoynesREMOVE@edge.net
-
kyle@binary.net