Re: How to tell what is binding a port?
Quoting Brian Servis (servis@purdue.edu):
>
> Something is binding to port 139 which is what samba is trying to use
> and thus smbd is failing to start. How can I track down what is bound
> to the port? /etc/services points to netbios-ssn service which is what
> smbd handles but I am getting the following errors in the smb logs:
>
> [1999/10/13 11:39:42, 0] lib/util_sock.c:open_socket_in(671)
> bind failed on port 139 socket_addr=0.0.0.0 (Address already in use)
>
> Thanks for any pointers,
Sounds a bit like bug #17907. Have you tried running nmbd and smbd
as daemons rather than from inetd?
Sorry if it's not related.
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to: