[Samba] bind failed on port 139
novosirj at umdnj.edu
Wed Apr 23 14:09:23 GMT 2003
My assumption is that you are trying to start Samba both from inetd and
from /etc/init.d/samba or equivalent. You must choose one or the other.
Hope this helps.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| | | |__/ | \| _| | novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
On Fri, 11 Apr 2003, Meyrick Chapman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> I have recently installed SuSE 8.1. Previously this workstation ran SuSE 7.2
> with Samba server without problems. Since the latest installation inet.d
> loads nmbd on boot but smbd fails.
> testparm /etc/samba/smb.conf returns "Loaded sevices file is OK"
> Log files
> /var/log/samba/log.smbd shows:
> [2003/04/09 20:48:41, 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
> nmblookup query to server results in following:
> The only service listed in /etc/services to bind to port 139 is as follows:
> netbios-ssn 139/tcp # NETBIOS Session Service
> netbios-ssn 139/udp # NETBIOS Session Service
> /etc/inet.d shows:
> entry in the inet.d file shows as follows
> netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
> netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd
> Smbclient confirms the server setup is correct as follows:
> Ariel:/home/meyrick # smbclient '\\Ariel\TMP'
> added interface ip=18.104.22.168 bcast=22.214.171.124 nmask=255.255.255.0
> Domain=[FAMILY] OS=[Unix] Server=[Samba 2.2.5]
> smb: \>
> - - - I can successfully ping localhost, my own fully qualified
> host.domain.name (Ariel.Hedge-analytics.co.uk) & IP address (126.96.36.199).
> - - - From the client I can ping the server on IP address (188.8.131.52) but
> CANNOT ping using the fully qualified domain name
> I have changed nothing on the client PC since installation of SuSE 8.1, so
> settings on the newly installed SuSE 8.1 probably at fault. Hostname &
> domain name are correctly set in the client PC running Windows 98.
> Thanks for your help.
> - - --
> Meyrick Chapman
> -----BEGIN PGP SIGNATURE-----
> Comment: trusted mail
> -----END PGP SIGNATURE-----
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba