|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: May 2005
Città: Provincia di Torino
Messaggi: 1566
|
Problema trasferimento files samba
Ciao a tutti, nella mia rete domestica ho aggiunto da poco un file server basato su ubuntu 10.4, versione desktop sul quale ho installato e configurato samba in modo da poter condividere un disco usb (formattato ext3) collegato al server.
Il problema si presenta randomicamente quando vado a copiare i files (tipicamente divx) dal disco condiviso agli altri pc della rete (tutti windows). Capita infatti che a volte il trasferimento si interrompa con un messaggio di errore relativo al I/O hardware. Questo accade anche durante gli streaming dei divx. Se provo a trasferire i files dal disco ad una chiavetta usb collegata direttamente sul server, il problema non si presenta. Vi posto la configurazione di samba che ho attualmente, sperando che possa essere utile per risolvere questo stranissimo problema. Codice:
[global] workgroup = CASA netbios name = server security = share encrypt passwords = yes browsable = yes wins support = no [condivisa su iomega 1TB] path = /media/d3e0a963-532a-4f78-beaa-c73bd8082bb7 available = yes browsable = yes public = yes writable = yes create mask = 0777 directory mask = 0777
__________________
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
controlla i log
|
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: May 2005
Città: Provincia di Torino
Messaggi: 1566
|
__________________
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
li trovi dentro:
/var/log/samba |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: May 2005
Città: Provincia di Torino
Messaggi: 1566
|
ok, ce ne sono un casino! quale devo guardare?
__________________
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
nmbd
e smbd |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: May 2005
Città: Provincia di Torino
Messaggi: 1566
|
nmbd:
Codice:
[2010/08/05 22:28:34, 0] nmbd/nmbd.c:854(main) nmbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/05 22:28:57, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) ***** Samba name server SERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.7 ***** [2010/08/05 22:32:54, 0] nmbd/nmbd.c:71(terminate) Got SIGTERM: going down... [2010/08/05 23:29:00, 0] nmbd/nmbd.c:854(main) nmbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/05 23:29:23, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) ***** Samba name server SERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.7 ***** [2010/08/05 23:55:18, 0] nmbd/nmbd.c:71(terminate) Got SIGTERM: going down... [2010/08/06 12:00:22, 0] nmbd/nmbd.c:854(main) nmbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 12:00:22, 1] param/loadparm.c:6378(map_parameter) Unknown parameter encountered: "SO_RCVBUF" [2010/08/06 12:00:22, 0] param/loadparm.c:7472(lp_do_parameter) Ignoring unknown parameter "SO_RCVBUF" [2010/08/06 12:00:22, 1] param/loadparm.c:6378(map_parameter) Unknown parameter encountered: "SO_RCVBUF" [2010/08/06 12:00:22, 0] param/loadparm.c:7472(lp_do_parameter) Ignoring unknown parameter "SO_RCVBUF" [2010/08/06 12:00:55, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) ***** Samba name server SERVER is now a local master browser for workgroup CASA on subnet 192.168.1.7 ***** [2010/08/06 12:01:06, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name CASA<1b> for the workgroup CASA. Unable to sync browse lists in this workgroup. [2010/08/06 12:02:07, 0] nmbd/nmbd_incomingdgrams.c:308(process_local_master_announce) process_local_master_announce: Server ALICEGATE at IP 192.168.1.1 is announcing itself as a local master browser for workgroup CASA and we think we are master. Forcing election. [2010/08/06 12:02:07, 0] nmbd/nmbd_become_lmb.c:148(unbecome_local_master_success) ***** Samba name server SERVER has stopped being a local master browser for workgroup CASA on subnet 192.168.1.7 ***** [2010/08/06 12:02:26, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) ***** Samba name server SERVER is now a local master browser for workgroup CASA on subnet 192.168.1.7 ***** [2010/08/06 12:02:35, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name CASA<1b> for the workgroup CASA. Unable to sync browse lists in this workgroup. [2010/08/06 12:09:15, 0] nmbd/nmbd_incomingdgrams.c:308(process_local_master_announce) process_local_master_announce: Server ALICEGATE at IP 192.168.1.1 is announcing itself as a local master browser for workgroup CASA and we think we are master. Forcing election. [2010/08/06 12:09:15, 0] nmbd/nmbd_become_lmb.c:148(unbecome_local_master_success) ***** Samba name server SERVER has stopped being a local master browser for workgroup CASA on subnet 192.168.1.7 ***** [2010/08/06 12:09:34, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) ***** Samba name server SERVER is now a local master browser for workgroup CASA on subnet 192.168.1.7 ***** [2010/08/06 12:09:45, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name CASA<1b> for the workgroup CASA. Unable to sync browse lists in this workgroup. [2010/08/06 12:17:22, 0] nmbd/nmbd_incomingdgrams.c:308(process_local_master_announce) process_local_master_announce: Server ALICEGATE at IP 192.168.1.1 is announcing itself as a local master browser for workgroup CASA and we think we are master. Forcing election. [2010/08/06 12:17:22, 0] nmbd/nmbd_become_lmb.c:148(unbecome_local_master_success) ***** Samba name server SERVER has stopped being a local master browser for workgroup CASA on subnet 192.168.1.7 ***** [2010/08/06 12:17:41, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) ***** Samba name server SERVER is now a local master browser for workgroup CASA on subnet 192.168.1.7 ***** [2010/08/06 12:17:52, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name CASA<1b> for the workgroup CASA. Unable to sync browse lists in this workgroup. [2010/08/06 12:26:04, 0] nmbd/nmbd.c:71(terminate) Got SIGTERM: going down... [2010/08/06 12:27:27, 0] nmbd/nmbd.c:854(main) nmbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 15:16:01, 0] nmbd/nmbd.c:71(terminate) Got SIGTERM: going down... [2010/08/06 15:16:03, 0] libsmb/nmblib.c:834(send_udp) Packet send failed to 192.168.1.255(138) ERRNO=Invalid argument [2010/08/06 21:10:25, 0] nmbd/nmbd.c:854(main) nmbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 Codice:
[2010/08/05 22:28:34, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/05 22:28:34, 0] smbd/server.c:1115(main) standard input is not a socket, assuming -D option [2010/08/05 23:28:44, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/05 23:28:46, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/05 23:28:46, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/05 23:28:46, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/05 23:28:46, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/05 23:28:46, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/05 23:28:46, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/05 23:28:46, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/05 23:28:47, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/05 23:28:47, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/05 23:28:47, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/05 23:28:47, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/05 23:28:47, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/05 23:28:47, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/05 23:28:47, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/05 23:28:47, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/05 23:28:47, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/05 23:28:48, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2010/08/05 23:28:48, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2010/08/05 23:28:48, 0] smbd/server.c:1115(main) standard input is not a socket, assuming -D option [2010/08/05 23:28:51, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/08/05 23:28:51, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/08/05 23:35:43, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected [2010/08/05 23:35:46, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected [2010/08/05 23:37:22, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected [2010/08/05 23:39:32, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected [2010/08/06 12:00:13, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 12:00:13, 1] param/loadparm.c:6378(map_parameter) Unknown parameter encountered: "SO_RCVBUF" [2010/08/06 12:00:13, 0] param/loadparm.c:7472(lp_do_parameter) Ignoring unknown parameter "SO_RCVBUF" [2010/08/06 12:00:13, 1] param/loadparm.c:6378(map_parameter) Unknown parameter encountered: "SO_RCVBUF" [2010/08/06 12:00:13, 0] param/loadparm.c:7472(lp_do_parameter) Ignoring unknown parameter "SO_RCVBUF" [2010/08/06 12:00:13, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 12:00:13, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 12:00:13, 0] smbd/server.c:1115(main) standard input is not a socket, assuming -D option [2010/08/06 12:00:15, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/08/06 12:00:15, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/08/06 12:27:12, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 12:27:13, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2010/08/06 12:27:13, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2010/08/06 12:27:14, 0] smbd/server.c:1115(main) standard input is not a socket, assuming -D option [2010/08/06 12:27:16, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/08/06 12:27:16, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/08/06 12:28:53, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected [2010/08/06 12:28:53, 0] lib/util_sock.c:738(write_data) [2010/08/06 12:28:53, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer [2010/08/06 12:28:53, 0] smbd/process.c:62(srv_send_smb) Error writing 4 bytes to client. -1. (Transport endpoint is not connected) [2010/08/06 12:30:23, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected [2010/08/06 12:30:23, 0] lib/util_sock.c:738(write_data) [2010/08/06 12:30:23, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer [2010/08/06 12:30:23, 0] smbd/process.c:62(srv_send_smb) Error writing 4 bytes to client. -1. (Transport endpoint is not connected) [2010/08/06 12:30:27, 1] smbd/service.c:1063(make_connection_snum) __ffff_192.168.1.4 (::ffff:192.168.1.4) connect to service condivisa su iomega 1TB initially as user nobody (uid=65534, gid=65534) (pid 1262) [2010/08/06 12:35:23, 1] smbd/notify_inotify.c:357(watch_destructor) inotify_rm_watch returned Invalid argument [2010/08/06 12:35:32, 1] smbd/service.c:1240(close_cnum) __ffff_192.168.1.4 (::ffff:192.168.1.4) closed connection to service condivisa su iomega 1TB [2010/08/06 12:36:02, 0] lib/util_sock.c:738(write_data) [2010/08/06 12:36:02, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer [2010/08/06 12:36:02, 0] smbd/process.c:62(srv_send_smb) Error writing 4 bytes to client. -1. (Transport endpoint is not connected) [2010/08/06 12:36:04, 1] smbd/service.c:1063(make_connection_snum) __ffff_192.168.1.4 (::ffff:192.168.1.4) connect to service condivisa su iomega 1TB initially as user nobody (uid=65534, gid=65534) (pid 1353) [2010/08/06 13:16:05, 1] smbd/notify_inotify.c:357(watch_destructor) inotify_rm_watch returned Invalid argument [2010/08/06 13:23:04, 1] smbd/notify_inotify.c:357(watch_destructor) inotify_rm_watch returned Invalid argument [2010/08/06 15:16:01, 1] smbd/service.c:1240(close_cnum) __ffff_192.168.1.4 (::ffff:192.168.1.4) closed connection to service condivisa su iomega 1TB [2010/08/06 21:09:43, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:44, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:44, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:44, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:44, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:44, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:44, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:44, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:45, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:45, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:45, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:45, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:45, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:45, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:45, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:45, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:45, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:45, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:45, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:45, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:45, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:45, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:46, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:47, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:48, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2010/08/06 21:09:48, 0] lib/interface.c:527(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line [2010/08/06 21:09:49, 0] smbd/server.c:1069(main) smbd version 3.4.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/08/06 21:09:49, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2010/08/06 21:09:49, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2010/08/06 21:09:49, 0] smbd/server.c:1115(main) standard input is not a socket, assuming -D option [2010/08/06 21:09:49, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/08/06 21:09:49, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/08/06 21:11:03, 0] param/loadparm.c:8569(process_usershare_file) process_usershare_file: stat of /var/lib/samba/usershares/condivisa failed. Permission denied [2010/08/06 21:11:03, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:35, 0] param/loadparm.c:8569(process_usershare_file) process_usershare_file: stat of /var/lib/samba/usershares/condivisa failed. Permission denied [2010/08/06 21:11:35, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:35, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:36, 0] param/loadparm.c:8569(process_usershare_file) process_usershare_file: stat of /var/lib/samba/usershares/condivisa failed. Permission denied [2010/08/06 21:11:36, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:36, 0] param/loadparm.c:8569(process_usershare_file) process_usershare_file: stat of /var/lib/samba/usershares/condivisa failed. Permission denied [2010/08/06 21:11:36, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:36, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:36, 0] param/loadparm.c:8569(process_usershare_file) process_usershare_file: stat of /var/lib/samba/usershares/condivisa failed. Permission denied [2010/08/06 21:11:36, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:36, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:36, 0] param/loadparm.c:8569(process_usershare_file) process_usershare_file: stat of /var/lib/samba/usershares/condivisa failed. Permission denied [2010/08/06 21:11:36, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:36, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:36, 0] param/loadparm.c:8569(process_usershare_file) process_usershare_file: stat of /var/lib/samba/usershares/condivisa failed. Permission denied [2010/08/06 21:11:36, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:36, 0] smbd/service.c:1202(make_connection) __ffff_192.168.1.5 (::ffff:192.168.1.5) couldn't find service condivisa [2010/08/06 21:11:58, 1] smbd/service.c:1063(make_connection_snum) __ffff_192.168.1.5 (::ffff:192.168.1.5) connect to service condivisa su iomega 1TB initially as user nobody (uid=65534, gid=65534) (pid 1254) [2010/08/06 21:11:59, 1] smbd/vfs.c:932(check_reduced_name) reduce_name: couldn't get realpath for lost+found/desktop.ini ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
mah
potrebbe essere un problema di rete? o scheda di rete.... o porta dell'hub o switch ? |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: May 2005
Città: Provincia di Torino
Messaggi: 1566
|
insomma, potrebbe essere di tutto
![]() in effetti sono tutti pezzi di recupero alcuni piuttosto old come la scheda di rete. però durante la navigazione normale questi problemi non mi sembra si siano mai presentati...mi sa che dovrò provare con xp come funziona, ma mi girano le palle tornare a M$.
__________________
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
io proverei a fare dei ping continui tra le macchine
e vedere se rispondono nei momenti in cui la copia si ferma |
![]() |
![]() |
![]() |
#11 |
Senior Member
Iscritto dal: Oct 2008
Città: Roma
Messaggi: 570
|
ciao, non è facile configurare samba con lo script, basta solo una riga o un codice errato che si impazzisce.
Se ti dovesse servire una condivisione semplice metti gli hard disk in avvio automatico con il pc e poi fai una condivisione cartella semplice con il tasto destro sulla cartella. Se ti dovesse servire un condivisione piu complessa ti consiglio di vedere le giude su internet. Ecco un modello di codice: workgroup = GRUPPO < prima configurazione su samba server string = NOME SERVER security = user < seconda configurazione gli account e ristrezioni obey pam restriction = yes guest account = TUO ACCOUNT invalid users = root [cartella] < terza configurazione ogni cartella che condividi comment = cartella1 path = /media/HARD DISK/CARTELLA read only = no guest ok = yes guest only = yes create mask = 0600 directory mask = 0700 Spero che questo modello ti dia un idea, forse hai qualche problema sulle restrizioni degli account o sulla lettura e scrittura delle cartelle. |
![]() |
![]() |
![]() |
#12 |
Member
Iscritto dal: Apr 2001
Città: Alessandria
Messaggi: 123
|
Sul mio file server samba accessibile contemporaneamente da vari pc ho nella sezione [global] la seguente impostazione:
Codice:
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 ciao
__________________
I miei bambini: 1)Xp2200/Abit KD7/512DDR 3200/50gb /radeon9800 XT 2)Duron 750/ BiostarM7VKB/ 256MB/ 30GB/ Geforce2MX-200 TV-out 3)K62 500/ AsusP5a/ 256Mb /40GB/ Geforce2MX 4)Altri |
![]() |
![]() |
![]() |
#13 |
Senior Member
Iscritto dal: Feb 2006
Città: Parma
Messaggi: 3010
|
Nei log ci sono parecchie righe strane, a partire dagli errori di comunicazione con Cups (usi Cups?), per finire con i pessimi "stat failed", "couldn't get realpath", ecc...
Quando si presenta l'errore invoca il comando dmesg Trovi qualcosa di collegabile al disco in fondo al lungo output? Leggilo dal fondo; non posso prevedere quante righe potrebbero riguardare l'eventuale errore ne cosa potrebbero contenere per restringere l'output. Non trovo fuori luogo il suggerimento di orenom, però, stando ai log e agli esperimenti con la chiavetta, non sembra essere un problema di rete. Anche il suggerimento di nico_roma ci sta, puoi provare a passare security = user che mi risulta essere usata più comunemente, quindi potenzialmente meno soggetta ad eventuali bug. Per finire ricordo a tutti dell'esistenza del comodo comando testparm che legge il file smb.conf, ne controlla la correttezza, suggerisce eventuali correzioni e lo riformatta nel modo migliore. P.S. per togliere il rumore generato da Cups (sempre se non lo usi) puoi provare a disattivarne la ricerca con questi parametri nella sezione global: Codice:
load printers = No printcap name = /dev/null disable spoolss = Yes
__________________
~Breve riferimento ai comandi GNU/Linux (ormai non molto breve...) |
![]() |
![]() |
![]() |
#14 |
Senior Member
Iscritto dal: May 2005
Città: Provincia di Torino
Messaggi: 1566
|
ciao a tutti e grazie per le molte risposte! in questi giorni sono in ferie, per cui non posso provare direttamente le varie soluzioni che mi avete proposto, ma appena a casa lo farò.cmq per quanto riguarda cups, avevo già rimosso le righe relative. appena sarò a casa riupperò il tipica, tranquilli!
__________________
![]() |
![]() |
![]() |
![]() |
#15 |
Senior Member
Iscritto dal: May 2005
Città: Provincia di Torino
Messaggi: 1566
|
buona sera...di ritorno dalle ferie ho implementato i suggerimenti che mi avete dato nel frattempo. Ho quindi inserito le righe di codice suggerite da Gimli[2BV!2B] e da orenom. Ora ci faccio qualche esperimento e vi saprò dire
![]() Per quanto riguarda la condivisione semplice, senza samba, quando ho provato a farla, il sistema mi ha avvertito che mancava la componente samba e che quindi bisognava prima installarlo, per poi procedere alla condivisione e così ho fatto...
__________________
![]() |
![]() |
![]() |
![]() |
#16 | |
Senior Member
Iscritto dal: Mar 2002
Città: Provincia di Varese
Messaggi: 5096
|
Quote:
Con la "condivisione semplice" presente in gnome che problemi hai avuto? |
|
![]() |
![]() |
![]() |
#17 |
Senior Member
Iscritto dal: May 2005
Città: Provincia di Torino
Messaggi: 1566
|
premetto che ho avuto qualche giorno per fare degli esperimenti che tra poco andrò a descrivere e che da un paio di giorni (di test) pare funzionare bene.
La condivisione semplice di gnome mi diceva "semplicemente" di installare samba per poter contiunuare a creare una cartella condivisa, nel senso che a sistema pulito e appena installato non ero in grado di poterla fare senza installare samba, per cui ho proceduto; a quel punto la condivisione è avvenuta, ma con i problemi che ho descritto sopra. Veniamo alla parte degli esperimenti ![]() - ripristinare il file di configurazione originale di samba, che mi ha portato - creare una cartella condivisa sul disco di installazione del SO, che ha funzionato senza problemi - cambiare la porta usb del disco esterno - collegare una penna usb alla porta dove prima c'era il disco, riscontrando che la penna NON aveva problemi. Dopo aver rimosso la penna, senza toccare null'altro la cosa al momento funziona. Non so, però, se sia la combinazione delle tre o una sola di quelle cose che ho fatto. Io mi sono fatto l'idea che sia la porta usb...è una scheda di espansione usb 2 cinese... Ora ho "paura" a toccare qualcosa per timore che si impalli di nuovo, anche se vorrei cambiare il nome del gruppo di lavoro in samba e cancellare la cartella condivisa di prova (anche se non da fastidio). Cosa ne pensate?
__________________
![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 19:05.