Samba - port already in use
Hi all, here's my config:
redhat 9, samba comes preinstalled. nmdb is working, because I can see the linux computer on my workgroup, I just can't access it or the shares. smb.conf: [global] log level = 2 workgroup = MILKYWAY [test] comment = For testing only, please path = /mnt/tmp read only = no guest ok = yes smbd log: [2004/07/18 22:57:33, 0] smbd/server.c:main(707) smbd version 2.2.7a started. Copyright Andrew Tridgell and the Samba Team 1992-2002 [2004/07/18 22:57:33, 1] lib/debug.c:debug_message(258) INFO: Debug class all level = 2 (pid 3974 from pid 3974) [2004/07/18 22:57:33, 2] param/loadparm.c:do_section(3055) Processing section "[test]" [2004/07/18 22:57:33, 2] lib/interface.c:add_interface(81) added interface ip=10.0.0.100 bcast=10.255.255.255 nmask=255.0.0.0 [2004/07/18 22:57:34, 0] lib/util_sock.c:open_socket_in(804) bind failed on port 139 socket_addr = 0.0.0.0. Error = Address already in use I found out that I can use: fuser -n tcp 139 and then use the number it gives me with: ps auxw | grep 3988 and that gives me the (seemingly) unhelpful: root 4269 0.0 0.2 3576 616 pts/0 S 23:11 0:00 grep 3988 I'm lost and don't know where to go with this. Any help would REALLY be appreciated. |
check /etc/inetd.conf or /etc/xinetd.conf for possible samba services
|
hi, dont know if this will make sense, but could it be a problem with your iptables if you are using a firewall?
|
I've disabled my firewall for this test.
I opened /etc/xinetd.conf, but nothing of any use was in there or services or servers in /etc/xinetd.d/. |
netstat -pl should give you a list of open ports.
|
Ok thanks for that... it turned out to be vmware, which by default installs it's own samba for it's emulated windows OS.
So I reinstalled without that particular feature. Thanks all who answered. |
All times are GMT -5. The time now is 08:52 AM. |