Re: Idiots guide to setting up samba
On Mon, 16 Jan 2012 17:01:57 +0000 (UTC)
Camaleón <noelamac@gmail.com> wrote:
> 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,
>
Thanks,
I've managed to get smbd up and running, the application needs to be a server and not just a client,
as one of the directories is used by another computer. Not my app ,my son's :(.
What I'm not seeing is any broadcast on x.x.x.255, the firewall should be open in both directions on the
samba ports.
Play again in the morning.
--
Best wishes / 73
Richard Bown
e-mail: richard@g8jvm.com or richard.bown@blueyonder.co.uk
nil carborundum a illegitemis
##################################################################################
Ham Call G8JVM . OS Debian Wheezy/Sid amd64 on a Dual core AMD Athlon 5200, 4 GB RAM
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs mins )
QRV HF + VHF Microwave 23 cms:140W,13 cms:100W,6 cms:10W & 3 cms:5W
##################################################################################
Reply to: