Re: Idiots guide to setting up samba
On Mon, 16 Jan 2012 13:45:15 +0000, Richard wrote:
> is there an idiots guide to setting up samba on debian ?
Uf... samba is not idiot-proof :-)
> I'm ending up with multiple services on samba and winbindd but smbd not
> running.
Before going any further with the samba beast, are you sure you need to
set it up the server side? What are your goals?
> Also which version of samba should I be using.
>
> 1377 ? S 0:00 /usr/sbin/samba -D
> 1378 ? S 0:00 /usr/sbin/samba -D
> 1379 ? S 0:00 /usr/sbin/samba -D
> 1380 ? S 0:00 /usr/sbin/samba -D
> 1386 ? S 0:00 /usr/sbin/samba -D
> 1388 ? S 0:00 /usr/sbin/samba -D
(...)
There are many running instances of samba, I only have 3, but this could
have changed since lenny.
(...)
> this is from samba.log :-
>
> ===============================================================
> [2012/01/16 13:38:34.819332, 0]
> smbd/server_exit.c:171(exit_server_common)
> Abnormal server exit: open_sockets_smbd() failed
(...)
> [2012/01/16 13:40:23.908335, 0] lib/util_sock.c:664(open_socket_in)
> bind failed on port 445 socket_addr = 127.0.0.1. Error = Address
> already in use
> [2012/01/16 13:40:23.908838, 0] smbd/server.c:569(smbd_open_one_socket)
> smbd_open_once_socket: open_socket_in: Address already in use
> [2012/01/16 13:40:23.908976, 0] lib/util_sock.c:664(open_socket_in)
> bind failed on port 139 socket_addr = 127.0.0.1. Error = Address
> already in use
(...)
> [2012/01/16 13:40:23.909262, 0] smbd/server.c:756(open_sockets_smbd)
> open_sockets_smbd: No sockets available to bind to.
(...)
>
>
> Any ideas please ????
Your samba service is crashing because of the above errors, I'd say related
to the network interface you have set. Check your smb.conf variables:
interfaces =
bind interfaces only =
Greetings,
--
Camaleón
Reply to: