Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba Stopped wieder!!!!
Hallo,
ich bins wieder, mit meinem Samba 2.2.1 auf einem Suse 7.2 System.
Nach dem Ärger mit meinem System gestern, lief der Server heute morgen und Vormittag einwandfrei. D.h. ich ab den smbd und nmbd gestern gestartet und bis zum Mittag liefen beide Dienste einwandfrei durch. Nach der Mittagspause als ich wieder am PC war waren beide Dienste gestoppt. Im Haus war keiner. Wo kann ich suchen???????
Brauch nochmal Support. Danke
Meine /var/log/samba/ log.samba
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/13 06:29:15, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/13 06:29:15, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/13 06:29:15, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/13 08:30:21, 0] smbd/nttrans.c:call_nt_transact_ioctl(1798)
call_nt_transact_ioctl: Currently not implemented.
[2007/11/13 09:51:47, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/13 11:09:03, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/13 11:09:03, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/13 11:09:05, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/13 12:54:48, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/13 12:54:48, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/13 12:54:48, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/13 12:54:48, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/13 12:54:57, 0] smbd/nttrans.c:call_nt_transact_ioctl(1798)
call_nt_transact_ioctl: Currently not implemented.
und was kommt als Meldung, wenn Du die Dienste wieder startest?
Koenntest Du bitte den Gebrauch ueberfluessiger Satzzeichen ein wenig einschraenken? Deine Postings werden dadurch nicht wichtiger.
'cuda
Und mach jetzt bitte nicht jeden Tag einen neuen Thread auf wenn dein Samba Server nicht mehr startet!
=> http://www.linuxforen.de/forums/showthread.php?t=244355
Greeez Oli
Hab in einfach per SWAT gestartet. Wenn morgen der Samba wieder ausfällt werde ich ihn per Putty starten.
Danke
Christian
Hallo,
heute ist der Sambadienst wieder ausgefallen. Habe Samba über Putty neu gestartet.
compaq_p500:/etc # rcsamba start
Starting SAMBA nmbd : Warning: /var/run/samba/nmbd.pid exists ! done
Starting SAMBA smbd : done
compaq_p500:/etc #
Habe Samba über Putty neu gestartet.
compaq_p500:/etc # rcsamba start
Starting SAMBA nmbd : Warning: /var/run/samba/nmbd.pid exists ! done
Starting SAMBA smbd : done
compaq_p500:/etc #
Nein hast Du nicht! Du hast start ausgeführt nicht restart!
Exisitert den die PID noch aus /var/run/samba/nmbd.pid ?
ps aux | grep $(cat /var/run/samba/nmbd.pid)
Greeez Oli
compaq_p500:~ # ps aux | grep $(cat /var/run/samba/nmbd.pid)
root 662 0.0 0.6 3580 1588 ? S 20:22 0:00 /usr/sbin/nmbd -D
compaq_p500:~ #
Und wie siehts mit dem smbd nach einem rcsamba restart aus ?
ps aux | grep /usr/sbin/smbd
root 667 0.0 0.6 4560 1668 ? S 20:22 0:00 /usr/sbin/smbd -D
root 691 0.3 0.9 4948 2500 ? S 20:24 0:13 /usr/sbin/smbd -D
Nach restart
compaq_p500:~ # rcsamba restart
Shutting down SAMBA nmbd : done
Shutting down SAMBA smbd : done
Starting SAMBA nmbd : done
Starting SAMBA smbd : done
compaq_p500:~ # ps aux | grep $(cat /var/run/samba/nmbd.pid)
root 1704 0.0 0.6 3572 1568 ? S 21:29 0:00 /usr/sbin/nmbd -D
compaq_p500:~ # ps aux | grep /usr/sbin/smbd
root 1709 0.0 0.6 4560 1664 ? S 21:29 0:00 /usr/sbin/smbd -D
compaq_p500:~ #
Warum laufen den da jetzt 2 Prozesse?
Kille die mal und restarte erneut.
kill -9 667
kill -9 691
rcsamba restart
ps aux | egrep 'smbd|nmbd'
Greeez Oli
Nach restart
compaq_p500:~ # rcsamba restart
Shutting down SAMBA nmbd : done
Shutting down SAMBA smbd : done
Starting SAMBA nmbd : done
Starting SAMBA smbd : done
compaq_p500:~ # ps aux | grep $(cat /var/run/samba/nmbd.pid)
root 1704 0.0 0.6 3572 1568 ? S 21:29 0:00 /usr/sbin/nmbd -D
compaq_p500:~ # ps aux | grep /usr/sbin/smbd
root 1709 0.0 0.6 4560 1664 ? S 21:29 0:00 /usr/sbin/smbd -D
compaq_p500:~ #
Das sieht doch jetzt gut aus!
Ist der Dienst jetzt nicht zu erreichen?
Was sagt den netstat -tulpen ?
Greeez Oli
compaq_p500:~ #
compaq_p500:~ # kill -9 667
bash: kill: (667) - No such pid
compaq_p500:~ # kill -9 691
bash: kill: (691) - No such pid
compaq_p500:~ # rcsamba restart
Shutting down SAMBA nmbd : done
Shutting down SAMBA smbd : done
Starting SAMBA nmbd : done
Starting SAMBA smbd : done
compaq_p500:~ # ps aux | egrep 'smbd|nmbd'
root 1919 0.0 0.6 3572 1564 ? S 21:41 0:00 /usr/sbin/nmbd -D
root 1923 0.0 0.5 3528 1312 ? S 21:41 0:00 /usr/sbin/nmbd -D
root 1924 0.0 0.6 4560 1664 ? S 21:41 0:00 /usr/sbin/smbd -D
compaq_p500:~ #
compaq_p500:~ # netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:513 0.0.0.0:* LISTEN 0 72223 14718/inetd
tcp 0 0 0.0.0.0:21473 0.0.0.0:* LISTEN 0 835 455/perl
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN 0 1499 621/lpd Waiting
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN 0 72227 14718/inetd
tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN 0 72220 14718/inetd
tcp 0 0 0.0.0.0:5801 0.0.0.0:* LISTEN 500 13671 1234/Xvnc
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 0 463814 1924/smbd
tcp 0 0 0.0.0.0:20011 0.0.0.0:* LISTEN 0 349 160/isdnlog
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 500 13670 1234/Xvnc
tcp 0 0 0.0.0.0:4557 0.0.0.0:* LISTEN 10 4213 909/hfaxd
tcp 0 0 0.0.0.0:79 0.0.0.0:* LISTEN 0 72226 14718/inetd
tcp 0 0 0.0.0.0:4559 0.0.0.0:* LISTEN 10 4206 909/hfaxd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 13158 1183/httpd
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 0 5147 994/X
tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN 500 13667 1234/Xvnc
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 0 72222 14718/inetd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 1698 708/master
tcp 0 0 0.0.0.0:444 0.0.0.0:* LISTEN 0 4217 909/hfaxd
tcp 0 0 0.0.0.0:7741 0.0.0.0:* LISTEN 0 5551 1038/lisa
udp 0 0 0.0.0.0:514 0.0.0.0:* 0 72058 14715/syslogd
udp 0 0 0.0.0.0:517 0.0.0.0:* 0 72224 14718/inetd
udp 0 0 0.0.0.0:518 0.0.0.0:* 0 72225 14718/inetd
udp 0 0 127.0.0.1:33414 0.0.0.0:* 0 71200 14599/xntps
udp 0 0 172.29.174.29:137 0.0.0.0:* 0 463808 1919/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 0 463805 1919/nmbd
udp 0 0 172.29.174.29:138 0.0.0.0:* 0 463809 1919/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 0 463806 1919/nmbd
udp 0 0 0.0.0.0:10000 0.0.0.0:* 0 836 455/perl
udp 0 0 0.0.0.0:37 0.0.0.0:* 0 72221 14718/inetd
udp 0 0 0.0.0.0:7741 0.0.0.0:* 0 5788 1038/lisa
udp 0 0 0.0.0.0:37577 0.0.0.0:* 51 448470 1056/local
udp 0 0 172.29.174.29:123 0.0.0.0:* 0 4952 995/ntpd
udp 0 0 192.168.0.1:123 0.0.0.0:* 0 4951 995/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 0 4950 995/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 0 4949 995/ntpd
compaq_p500:~ #
Liest Du meine Posts überhaupt richtig?
Oder gibste einfach alles nur Blind ein?!
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 0 463814 1924/smbd
Sagt das der Dienst auf allen Adressen lauscht!
Hallo,
war mal schnell weg. Ich lese Deine Posts, nur ich war zu schnell mit der Eingabe. Hatte den Befehl schon gesendet, da hab ich erst gesehen das Du ein Reset wolltest.
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 0 463814 1924/smbd
Kann ich daraus entnehmen das der Samba jetzt richtig läuft, oder heisst es jetzt wieder abwarten ob er wieder ausfällt.
Nachdem auf dem Sambaserver meine Outlookdaten liegen merke ich immer erst wenn Outlook ausfällt das der Samba weg ist.
Ich warts einfach mal ab.
Danke für Deine Hilfe.
Christian
Kann ich daraus entnehmen das der Samba jetzt richtig läuft, oder heisst es jetzt wieder abwarten ob er wieder ausfällt.
JA <zehnzeichen>
Heute ist der Samba wieder ausgefallen und lässt sich nicht wieder starten.
compaq_p500:~ # rcsamba restart
Shutting down SAMBA nmbd : Warning: nmbd not running ! done
Shutting down SAMBA smbd : Warning: smbd not running ! done
Starting SAMBA nmbd :startproc: exit status of parent of /usr/sbin/nmbd: 255
failed
Starting SAMBA smbd : failed
compaq_p500:~ # rcsamba start
Starting SAMBA nmbd :startproc: exit status of parent of /usr/sbin/nmbd: 255
failed
Starting SAMBA smbd :startproc: exit status of parent of /usr/sbin/smbd: 255
failed
compaq_p500:~ # compaq_p500:~ # rcsamba restart
Shutting down SAMBA nmbd : Warning: nmbd not running ! done
Shutting down SAMBA smbd : Warning: smbd not running ! done
Starting SAMBA nmbd :startproc: exit status of parent of /usr/sbin/nmbd: 255
failed
Starting SAMBA smbd : failed
compaq_p500:~ #
compaq_p500:~ # netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:513 0.0.0.0:* LISTEN 0 72223 14718/inetd
tcp 0 0 0.0.0.0:21473 0.0.0.0:* LISTEN 0 835 455/perl
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN 0 1499 621/lpd Waiting
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN 0 72227 14718/inetd
tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN 0 72220 14718/inetd
tcp 0 0 0.0.0.0:5801 0.0.0.0:* LISTEN 500 13671 1234/Xvnc
tcp 0 0 0.0.0.0:20011 0.0.0.0:* LISTEN 0 349 160/isdnlog
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 500 13670 1234/Xvnc
tcp 0 0 0.0.0.0:4557 0.0.0.0:* LISTEN 10 4213 909/hfaxd
tcp 0 0 0.0.0.0:79 0.0.0.0:* LISTEN 0 72226 14718/inetd
tcp 0 0 0.0.0.0:4559 0.0.0.0:* LISTEN 10 4206 909/hfaxd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 13158 1183/httpd
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 0 5147 994/X
tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN 500 13667 1234/Xvnc
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 0 72222 14718/inetd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 1698 708/master
tcp 0 0 0.0.0.0:444 0.0.0.0:* LISTEN 0 4217 909/hfaxd
tcp 0 0 0.0.0.0:7741 0.0.0.0:* LISTEN 0 5551 1038/lisa
udp 0 0 0.0.0.0:514 0.0.0.0:* 0 72058 14715/syslogd
udp 0 0 0.0.0.0:517 0.0.0.0:* 0 72224 14718/inetd
udp 0 0 0.0.0.0:518 0.0.0.0:* 0 72225 14718/inetd
udp 0 0 127.0.0.1:33414 0.0.0.0:* 0 71200 14599/xntps
udp 0 0 0.0.0.0:10000 0.0.0.0:* 0 836 455/perl
udp 0 0 0.0.0.0:37 0.0.0.0:* 0 72221 14718/inetd
udp 0 0 0.0.0.0:7741 0.0.0.0:* 0 5788 1038/lisa
udp 0 0 0.0.0.0:38883 0.0.0.0:* 51 612642 6467/local
udp 0 0 172.29.174.29:123 0.0.0.0:* 0 4952 995/ntpd
udp 0 0 192.168.0.1:123 0.0.0.0:* 0 4951 995/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 0 4950 995/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 0 4949 995/ntpd
compaq_p500:~ #
Was steht in den Logs dazu?
Hallo,
da bin ich wieder, war heute viel unterwegs. Anbei die Ausdrucke:
[2007/11/18 20:42:45, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/18 20:42:46, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/18 22:19:31, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/18 22:21:18, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = No route to host
[2007/11/18 22:39:45, 0] smbd/password.c:authorise_login(909)
authorise_login: Invalid guest account ??
[2007/11/18 23:11:25, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/18 23:11:25, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/18 23:11:25, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/18 23:15:24, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/18 23:23:49, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/19 09:39:25, 0] param/params.c:OpenConfFile(539)
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
[2007/11/19 09:39:58, 0] param/params.c:OpenConfFile(539)
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
[2007/11/19 10:03:51, 0] param/params.c:OpenConfFile(539)
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
compaq_p500:/var/log/samba # rpm -qa | grep samba
samba-client-2.2.1a-32
samba-2.2.1a-32
compaq_p500:/var/log/samba #
compaq_p500:/var/log/samba # rpm --info -q samba-2.2.1a-32
Name : samba Relocations: (not relocateable)
Version : 2.2.1a Vendor: SuSE GmbH, Nuernberg, Germany
Release : 32 Build Date: Mon Sep 24 05:23:36 2001
Install date: Mon Nov 12 14:38:13 2007 Build Host: Fatou.suse.de
Group : Networking/Daemons Source RPM: samba-2.2.1a-32.src.rpm
Size : 8985846 License: 1992-95 Andrew Tridgell, Karl Auer, Jeremy Allison
Packager : feedback@suse.de
URL : http://www.samba.org
Summary : An SMB file server for Unix
Description :
Samba is a suite of programs which work together to allow clients to access Unix filespace and printers via the SMB protocol (Server Message Block).
In practice, this means that you can redirect disks and printers to
Unix disks and printers from LAN Manager clients, Windows for
Workgroups 3.11 clients, Windows'95 clients, Windows NT clients
and OS/2 clients. There is also a Unix client program supplied as part of the suite which allows Unix users to use an ftp-like interface to access filespace and printers on any other SMB server.
Samba includes the following programs (in summary):
* smbd, the SMB server. This handles actual connections from clients.
* nmbd, the Netbios name server, which helps clients locate servers.
* smbclient, the Unix-hosted client program.
* smbrun, a little 'glue' program to help the server run external programs.
* testprns, a program to test server access to printers.
* testparm, a program to test the Samba configuration file for correctness.
* smb.conf, the Samba configuration file.
* smbprint, a sample script to allow a Unix host to use smbclient
to print to an SMB server.
The suite is supplied with full source and is GPLed.
This package expects its config file under /etc/samba/smb.conf.
Authors:
--------
Andrew Tridgell <Andrew.Tridgell@anu.edu.au>
Karl Auer <Karl.Auer@anu.edu.au>
Jeremy Allison <jeremy@netcom.com>
SuSE series: n
compaq_p500:/var/log/samba # find / -name "smbd"
/usr/sbin/smbd
compaq_p500:/var/log/samba #
Unable to open configuration file "/etc/samba/smb.conf": No such file or directory
Was ist mit deiner Konfigurationsdatei passiert?
Greeez Oli
Das Verzeichnis ist weg.
ich habe kein Verzeichnis etc/samba/ mehr.
ich habe aber nicht geändert.
Das Verzeichnis ist weg.
ich habe kein Verzeichnis etc/samba/ mehr.
ich habe aber nicht geändert.
Alleine verschwindet das nicht!
Spiele die Datei aus deinen Backup wieder ein.
Greeez Oli
Das Verzeichnis ist weg.
ich habe kein Verzeichnis etc/samba/ mehr.
ich habe aber nicht geändert.
Also von alleine verschwinden keine Verzeichnisse, außer z.B. bei einem Platten- oder Dateisystemsdefekt.
das komplette Verzeichnis ist weg. soll ich Samba wieder neu installieren, vielleicht findet es es dann wieder???
Laut Yast ist es noch installiert.
Ich habe am SambaServer noch nicht verändert, weder heute noch gestern.
Kann ich die Bootplatte kopieren, ich habe 2 Platten im System, eine kleine mit 16 GB von der hab ich noch eine und eine mit 160GB mit meinen Daten.
Mit welchem Programm kann ich die kleine Spiegeln?
Ich habe am SambaServer noch nicht verändert, weder heute noch gestern.
Dann mache lieber erst mal ein fsck !
YaST spiegelt nur den Inhalt der RPM DB wieder, nicht des Dateisystems. Daher ist das YaST ziemlich egal ob das Verzeichnis da ist oder nicht.
Check mal die Platte oder das Dateisystem. Hat auf das System noch jemand Zugriff? Per SSH o.ä.?
compaq_p500:/etc # fsck !
fsck 1.24a (02-Sep-2001)
No devices specified to be checked!
Auf das System hat niemend Zugriff, nur ich greife auf den Rechner zu, entweder per Putty oder VNC.
Wenn da wie beschrieben auf der Kiste nen Suse 7.2 läuft, dann vermute ich mal das der Server schon einige Jahre im Betrieb ist.
Und unter Umständen wurde auch viele Monate das Dateisystem nicht überprüft und das solltest Du dringent nachholen.
man fsck
Und vorher das umounten nicht vergessen!
Wenn das RPM neu installiert wird, dann wird das Verzeichnis wieder da sein, aber alle Einstellungen werden default sein.
Greeez Oli
Der rechner ist einige Jahre in Betrieb, welche Laufwerke muss ich unmount, und wie ist der richtige Befehl dazu???
compaq_p500:/etc # mount
/dev/hda7 on / type reiserfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda5 on /boot type ext2 (rw)
/dev/hdc1 on /chris type reiserfs (rw)
/dev/hdb on /media/dvd type iso9660 (ro,nosuid,nodev)
shmfs on /dev/shm type shm (rw)
capifs on /dev/capi type capifs (rw,mode=0666)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
compaq_p500:/etc #
Wenn ich mit yast installiere kann ich
i = Installieren
d = Deinstallieren
oder x eingeben, für was steht x?
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.