Re: Idiots guide to setting up samba
On Mon, 16 Jan 2012 23:32:19 +, Richard wrote: On Mon, 16 Jan 2012 17:01:57 + (UTC) Camaleón noela...@gmail.com wrote: (...) this is from samba.log :- (...) (...) [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 = Thanks, I've managed to get smbd up and running, Ah good, but what did you finally have to do? What was broken? 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 :(. sftp also does a good job for sharing files over two hosts and is easier and more secure than samba. But of course, you son's application have to support it... 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. What kind of firewall? The router's one usually does not block intranet data flow but external → internal connections :-? Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jf44c1$c5f$7...@dough.gmane.org
Re: Idiots guide to setting up samba
El 2012-01-17 a las 19:08 +0330, hamed hosseini escribió: (resending to the list...) use this http://www.debian-tutorials.com/general/samba-how-do-you-install-and-set-up-samba-in-debian-squeezeubuntu i hope this tutorial can help you. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120117170202.ga7...@stt008.linux.site
Re: Idiots guide to setting up samba
On Tue, 17 Jan 2012 18:02:02 +0100 Camaleón noela...@gmail.com wrote: El 2012-01-17 a las 19:08 +0330, hamed hosseini escribió: (resending to the list...) use this http://www.debian-tutorials.com/general/samba-how-do-you-install-and-set-up-samba-in-debian-squeezeubuntu i hope this tutorial can help you. Greetings, Yes thank you, I've got further running as a server, and printing working. Just now to get shares sorted. Cheers Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120117185809.0c529...@lappy.g8jvm.com
Idiots guide to setting up samba
Hi is there an idiots guide to setting up samba on debian ? I'm ending up with multiple services on samba and winbindd but smbd not running. 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 1392 ?Sl 0:00 /usr/sbin/gdm3 10874 ?Ss 0:00 nmbd -D -s /etc/samba/smb.conf 10877 ?Ss 0:00 winbindd -D -s /etc/samba/smb.conf 10878 ?S 0:00 winbindd -D -s /etc/samba/smb.conf 10879 ?S 0:00 winbindd -D -s /etc/samba/smb.conf 10891 ?S 0:00 winbindd -D -s /etc/samba/smb.conf I so rarely use samba and I've never managed to get my head around setting it up , just for a simple network with one alien laptop of my sons running winblows. I've tried using GADMIN-SAMBA but can't see why smbd is not running. 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:38:34.819407, 0] smbd/server_exit.c:172(exit_server_common) === [2012/01/16 13:38:34.820541, 0] lib/util.c:1221(log_stack_trace) BACKTRACE: 6 stack frames: #0 smbd(log_stack_trace+0x1a) [0x7f7c68b34dca] #1 smbd(+0x6a6063) [0x7f7c68da8063] #2 smbd(+0x6a6361) [0x7f7c68da8361] #3 smbd(main+0xa52) [0x7f7c6880bc32] #4 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f7c654a9ead] #5 smbd(+0x10a5a9) [0x7f7c6880c5a9] [2012/01/16 13:38:34.820948, 0] lib/fault.c:372(dump_core) dumping core in /var/log/samba/cores/smbd [2012/01/16 13:40:21.284953, 0] param/loadparm.c:7969(lp_do_parameter) Ignoring unknown parameter update encrypted [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.909149, 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.909262, 0] smbd/server.c:756(open_sockets_smbd) open_sockets_smbd: No sockets available to bind to. [2012/01/16 13:40:23.909549, 0] smbd/server_exit.c:169(exit_server_common) Any ideas please -- Best wishes / 73 Richard Bown e-mail: rich...@g8jvm.com or richard.b...@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 ## -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120116134515.102a4...@g8jvm.com
Re: Idiots guide to setting up samba
On Mon, 16 Jan 2012 13:45:15 +, 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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jf1l65$odu$1...@dough.gmane.org
Re: Idiots guide to setting up samba
On Mon, 16 Jan 2012 17:01:57 + (UTC) Camaleón noela...@gmail.com wrote: On Mon, 16 Jan 2012 13:45:15 +, 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: rich...@g8jvm.com or richard.b...@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 ## -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120116233219.31bae...@g8jvm.com