Diese Website existiert nur weil wir Werbung mit AdSense ausliefern.
Bitte den AdBlocker daher auf dieser Website ausschalten! Danke.

[gelöst] Plötzlich kein Zugriff auf Freigaben mehr

Alles rund um die Server (Web-, Mail-, Datenbank-, Datenaustausch-, etc.) die man unter Linux betreiben kann

Moderator: Moderatoren

Antworten
gTux
Member
Member
Beiträge: 158
Registriert: 22. Jan 2009, 14:31

[gelöst] Plötzlich kein Zugriff auf Freigaben mehr

Beitrag von gTux » 4. Mär 2012, 16:39

Hi all,
ich habe seit ein paar Tagen ein Problem mit meinem Server (Suse 11.2 - SAMBA Fileserver). Ich hatte ein Lüfterausfall im Gehäuse und eine HDD wurde zu heiss. Also habe ich ihn heruntergefahren und starte ihn erstmal - bis das behoben wurde - nur wenn absolut nötig.

Dabei stellte ich aber auch noch fest, daß ich von meinen winxp pro clients zugreifen kann auf die Freigaben, aber die Dateien und Verzeichnisse nicht mehr öffnen kann. Es kommt immer die Fehlermeldung (windows popup) "Verzeichnis nicht gefunden" und der Dateipfad dazu. Bei /usr/local/logs/samba.log.rechnername steht zum Beispiel folgendes (der Anfang der Datei zeigt, daß es bis dahin noch lief:

Code: Alles auswählen

  pmws3 (::ffff:192.168.2.21) connect to service pictures initially as user eddy (uid=1021, gid=1004) (pid 24877)
[2011/03/03 15:13:58,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pictures
[2011/03/03 17:04:30,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pictures initially as user eddy (uid=1021, gid=1004) (pid 24877)
[2011/03/03 17:30:14,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pictures
[2011/03/03 17:30:53,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pictures initially as user eddy (uid=1021, gid=1004) (pid 24877)
[2011/03/03 17:41:23,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pictures
[2011/03/03 17:41:41,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pictures initially as user eddy (uid=1021, gid=1004) (pid 24877)
[2011/03/03 18:05:11,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pictures
[2011/03/03 23:54:24,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pelikgk
[2011/03/04 07:55:22,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pelikgk initially as user eddy (uid=1021, gid=1000) (pid 1203)
[2011/03/04 08:17:02,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 08:17:02,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 08:17:02,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 08:18:08,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 08:18:08,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 08:18:08,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 08:56:06,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 08:56:06,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 08:56:06,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 09:14:02,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 09:14:02,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 09:14:02,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 09:14:16,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pelikgk
[2011/03/04 09:14:18,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pelikgk initially as user eddy (uid=1021, gid=1000) (pid 1549)
[2011/03/04 09:14:30,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pelikgk
[2011/03/04 09:30:04,  0] lib/util_sock.c:738(write_data)
[2011/03/04 09:30:04,  0] lib/util_sock.c:1491(get_peer_addr_internal)
  getpeername failed. Error was Der Socket ist nicht verbunden
  write_data: write failure in writing to client 0.0.0.0. Error Die Verbindung wurde vom Kommunikationspartner zurückgesetzt
[2011/03/04 09:30:04,  0] smbd/process.c:62(srv_send_smb)
  Error writing 4 bytes to client. -1. (Der Socket ist nicht verbunden)
[2011/03/04 09:30:08,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pelikgk initially as user eddy (uid=1021, gid=1000) (pid 1636)
[2011/03/04 09:43:53,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 09:43:53,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 09:43:53,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 10:17:11,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 10:17:11,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 10:17:11,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:02:19,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:02:19,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:02:19,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:09:03,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:09:03,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:09:03,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:56:54,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:56:54,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:56:54,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 11:58:40,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pelikgk
[2011/03/04 14:47:23,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pelikgk initially as user eddy (uid=1021, gid=1000) (pid 2922)
[2011/03/04 16:25:56,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 16:26:05,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pictures initially as user eddy (uid=1021, gid=1004) (pid 2922)
[2011/03/04 16:36:25,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pictures
[2011/03/04 17:10:01,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 17:10:01,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/04 17:10:01,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/05 01:56:36,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pelikgk
[2011/03/07 09:16:39,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pelikgk initially as user eddy (uid=1021, gid=1000) (pid 13900)
[2011/03/07 09:45:51,  0] smbd/nttrans.c:2076(call_nt_transact_ioctl)
  call_nt_transact_ioctl(0x9005c): Currently not implemented.
[2011/03/07 09:45:54,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:46:12,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:53:25,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:53:25,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:54:14,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:54:14,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:54:27,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:54:27,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:54:43,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:54:43,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:55:56,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:55:56,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:56:20,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:56:20,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:56:45,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:56:45,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:57:10,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:57:10,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:57:51,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:57:51,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 09:58:18,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 09:58:18,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:00:36,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:00:36,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:01:08,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:01:08,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:02:01,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:02:01,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:02:29,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:02:29,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:07:21,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:07:21,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:08:16,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:08:17,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:09:26,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:09:27,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:09:56,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:09:56,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:10:38,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:10:38,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:15:24,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:15:24,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:16:47,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:16:47,  0] smbd/service.c:1196(make_connection)
  pmws3 (::ffff:192.168.2.21) couldn't find service haf
[2011/03/07 10:28:57,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:29:14,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pictures initially as user eddy (uid=1021, gid=1004) (pid 13900)
[2011/03/07 10:30:07,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:30:20,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:31:16,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:31:29,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:31:39,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:31:51,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:32:01,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:32:06,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:32:14,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/03/07 10:42:37,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pictures
[2011/03/07 11:06:48,  1] smbd/service.c:1055(make_connection_snum)
  pmws3 (::ffff:192.168.2.21) connect to service pelikgk initially as user eddy (uid=1021, gid=1000) (pid 14420)
[2011/03/07 11:19:10,  0] lib/util_sock.c:539(read_fd_with_timeout)
[2011/03/07 11:19:10,  0] lib/util_sock.c:1491(get_peer_addr_internal)
  getpeername failed. Error was Der Socket ist nicht verbunden
  read_fd_with_timeout: client 0.0.0.0 read error = Die Wartezeit für die Verbindung ist abgelaufen.
[2011/03/07 11:19:10,  0] lib/util_sock.c:738(write_data)
[2011/03/07 11:19:10,  0] lib/util_sock.c:1491(get_peer_addr_internal)
  getpeername failed. Error was Der Socket ist nicht verbunden
  write_data: write failure in writing to client 0.0.0.0. Error Datenübergabe unterbrochen (broken pipe)
[2011/03/07 11:19:10,  0] smbd/process.c:62(srv_send_smb)
  Error writing 75 bytes to client. -1. (Der Socket ist nicht verbunden)
[2011/03/07 11:19:10,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pelikgk
[2011/03/07 14:48:29,  1] smbd/service.c:1234(close_cnum)
  pmws3 (::ffff:192.168.2.21) closed connection to service pelikgk
Weder die /etc/samba/smb.conf noch die /etc/group Datei wurden verändert. Eigentlich müssten alle Benutzer weiterhin Zugriff haben. Aber auch wenn der Rechner noch ganz kalt ist (gerade gestartet nach langer Auszeit), können die Dateien nicht geöffnet werden.

Hat irgendjemand eine Idee was das sein kann?
Zuletzt geändert von gTux am 5. Mär 2012, 00:25, insgesamt 1-mal geändert.

Werbung:
spoensche
Moderator
Moderator
Beiträge: 7396
Registriert: 30. Okt 2004, 23:53
Wohnort: Siegen

Re: Plötzlich kein Zugriff auf Freigaben mehr

Beitrag von spoensche » 4. Mär 2012, 20:15

Wie soll das mit der Freigabe funktionieren, wenn du in der smb.conf keine Freigabe angelegt hast? Die Logs vom Samba liegen unter /var/log und nicht unter /usr/local; du hast ihn per Paketmanager installiert oder?

gTux
Member
Member
Beiträge: 158
Registriert: 22. Jan 2009, 14:31

Re: Plötzlich kein Zugriff auf Freigaben mehr

Beitrag von gTux » 4. Mär 2012, 20:29

Hi, das stimmt beides nicht. Habe ihn manuell eingerichtet und komplett mit Freigaben.

Er lief jahrelang, die smb.conf ist da siehe hier:

Code: Alles auswählen

vi /etc/samba/smb.conf
[global]
        workgroup = gTUXland
        server string = juliett
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        map to guest = Bad User
        usershare allow guests = No
        security = user
        encrypt passwords = Yes
        log level = 1
        log file = /usr/local/logs/samba.log.%m
        syslog = 0
        max log size = 1000
        passdb backend = smbpasswd
        wins support = No
        netbios name = juliett
[printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0600
        browseable = Yes
[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        guest ok = yes
        browsable = yes
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
[dokumenteJ]
        comment = dokumente
        path = /home/shares/dokumente
        writeable = yes
        valid users = @dokumente
        force group = dokumente
        create mask = 740
        directory mask = 750
        force create mode = 020
        force directory mode = 020
[pictures]
        comment = famillienfotos
        path = /home/shares/pictures
        writable = yes
        valid users = @pictures
        force group = pictures
        create mask = 740
        directory mask = 750
        force create mode = 020
        force directory mode = 020
Erst vor wenigen Tagen fing das an, der Server wurde nicht manipuliert (zumindest nicht von mir) und von einer Minute zur anderen ging das nicht mehr!

edit
Sorry, hatte nicht alles vorhin aus der smb.conf rauskopiert - jetzt habe ich es aber gemerkt und ergänzt.

gTux
Member
Member
Beiträge: 158
Registriert: 22. Jan 2009, 14:31

Re: Plötzlich kein Zugriff auf Freigaben mehr

Beitrag von gTux » 5. Mär 2012, 00:11

Problem ist gelöst! Ich hatte noch andere Logs von Clients überprüft und siehe da - es stand was von wenig Speicher darin.

Code: Alles auswählen

du -hS
brachte dann die Lösung - das ".cache" Verzeichnis war voll.

Antworten