PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba geht nicht mehr!!!!! Hilfe!!!!



Seiten : [1] 2 3

be1001
12.11.07, 09:46
Hallo,
folgendes Problem.

Ich habe ein Suse 7.2 System mit einem Samba Server 2.2.1. Der Server leif die Letzen Jahre einwandfrei.

Seit einer Woche muss ich den Sambaserver jeden Tag neu starten, dann leif er für den restlichen Tag.

Heute morgen geht gar nichts mehr, der Samba läst sich nicht mehr starten, der Restliche Server Hylafax, Postfix ..... läuft.

Ich bekomme folgende Fehlermeldung:

compaq_p500:/etc/init.d # rcsmb restart
SMB demon not installed ! compaq_p500:/etc/init.d #

Was kann ich tun?????

Christian

psy
12.11.07, 10:57
Als erstes schaut man mal in die Logdateien!
Was steht denn da drin?
Wir könne leider auch nicht hellsehen...

frank66
12.11.07, 11:02
SMB demon not installed !
Sagt Dir das irgendwas? Ich würde mal tippen, dass bei irgendeinem Update o.ä. der Samba-Dämon deinstalliert wurde.

be1001
12.11.07, 11:02
Welche sind das, wo finde ich die.

Linux hat so viele, ich bin mir nie sicher welche ich aufrufen muss.

in /var/log/messages steht nichts.

zyrusthc
12.11.07, 11:04
Welche sind das, wo finde ich die.

Linux hat so viele, ich bin mir nie sicher welche ich aufrufen muss.

in /var/log/messages steht nichts.
zb. /var/log/daemons/info|warnings|errors und /var/log/samba/smbd.log

Desweiteren was sagt den:
rpm -qa | grep samba


Greeez Oli

be1001
12.11.07, 11:06
Das Hab ich in compaq_p500:/var/log/samba # vi log.smbd gefunden

[2007/11/12 08:01:05, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/12 08:01:12, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer

be1001
12.11.07, 11:09
compaq_p500:/var/log/samba # rpm -qa |grep samba
samba-client-2.2.1a-32
samba-2.2.1a-32

zyrusthc
12.11.07, 11:12
Da fehlt samba-server würde ich mal sagen.

PS:Suse 7.2 , schon mal über nen Update auf was aktuelleres nachgedacht?


Greeez Oli

be1001
12.11.07, 11:15
ist suse 7.3 Update ist mit neuem PC geplant aber est nächstes Jahr, da ich dann alle Dienste neu aufsetzen muss, Hylafax, Postfix, Apache.......

be1001
12.11.07, 11:16
Wie starte ich samba-server????

zyrusthc
12.11.07, 11:17
Wie starte ich samba-server????
Über das init-Script!
/etc/init.d/smb start
oder
/etc/init.d/samba start

Ich meinte aber eher samba-server installieren!


Greeez Oli

be1001
12.11.07, 11:22
compaq_p500:/var/log/samba # /etc/init.d/smb start
SMB demon not installed ! compaq_p500:/var/log/samba #


Was soll ich tun?????

zyrusthc
12.11.07, 11:23
compaq_p500:/var/log/samba # /etc/init.d/smb start
SMB demon not installed ! compaq_p500:/var/log/samba #


Was soll ich tun?????
Zum 3x samba-server installieren!!!!!!1111ELF1EINS


Greeez Oli

be1001
12.11.07, 11:24
Wie,
die smb ist geschrieben.

marce
12.11.07, 11:24
Zum 3x samba-server installieren!!!!!!1111ELF1EINS

Der Sambaserver sollte im Paket Samba enthalten sein...

bla!zilla
12.11.07, 11:26
Wie wäre es mal mit einem gepflegten

rpm --info -q samba-2.2.1a-32

um mal zu gucken was das Paket so macht?

zyrusthc
12.11.07, 11:26
Der Sambaserver sollte im Paket Samba enthalten sein...
Bei mir sieht das jedenfals so aus:
samba-common-3.0.23d-2.3
samba-server-3.0.23d-2.3
samba-client-3.0.23d-2.3

Und mal die Verfügbarkeit in der Paketverwaltung zu prüfen sollte eigentlich nicht das Problem sein.

Greeez Oli

be1001
12.11.07, 11:27
Soll ich mit yast samba nochmal drüber installieren, bis gestern lief Samba doch, und die smb.con f ist doch auch vorhanden.

marce
12.11.07, 11:27
zu 7.3er-Zeiten war das noch ein bisserl anders :-)

zyrusthc
12.11.07, 11:29
Soll ich mit yast samba nochmal drüber installieren, bis gestern lief Samba doch, und die smb.con f ist doch auch vorhanden.
An deiner Stelle würde ich erst einmal die Logs überprüfen/posten die in #5 (http://www.linuxforen.de/forums/showpost.php?p=1591444&postcount=5) genannt wurden.

Greeez Oli

be1001
12.11.07, 11:29
Ich lasse mit yast die Pakete nochmal einlesen.

be1001
12.11.07, 11:30
Er hat samba und Samba-client gefunden, und beide sind installiert.

be1001
12.11.07, 11: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: Sun Apr 14 23:35:15 2002 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

marce
12.11.07, 11:34
(1) Toll
(2) Es gibt auch einen Edit-Button
(3) Es fehlen noch erbetene Infos

be1001
12.11.07, 11:35
die logs habe ich doch in 6 beantwortet...

oder braucht ihr mehr, das gesamte log ist sehr lang von 2005, kann ich es auch anders als mit dem vi anschaeunen???

zyrusthc
12.11.07, 11:36
(4) Es gibt CODE-Tags (http://www.linuxforen.de/forums/showthread.php?t=229647)

EDIT: JA du kannst zb die letzten Zeilen mit dem Befehl tail auslesen.

be1001
12.11.07, 11:39
compaq_p500:/var/log/samba # tail log.smbd
[2007/11/12 07:49:10, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/12 07:49:12, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/12 08:01:05, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2007/11/12 08:01:05, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
[2007/11/12 08:01:12, 0] lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4. Error = Connection reset by peer

zyrusthc
12.11.07, 11:40
Liest Du die Postings überhaupt richtig?
Es wurde nach anderen Logs in #5 (http://www.linuxforen.de/forums/showpost.php?p=1591444&postcount=5) gefragt und auf die CODE-Tags (http://www.linuxforen.de/forums/showthread.php?t=229647) des Forums hingewiesen!

be1001
12.11.07, 11:45
/var/log/daemons/info|warnings|errors
Gibt es bei mir nicht...

Das verzeichnis /var(log/daemons ist nicht vorhanden.

bla!zilla
12.11.07, 11:50
Fakt ist: Samba ist installiert. Bitte

/etc/init.d/smb stop && /etc/init.d/smb start

ausführen. Wenn das nix bringt, bitte mal die smb.conf in Code-Tags hier posten. Und bitte mal die Ausgabe von ps ax |grep smbd hier posten.