Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dienste lassen nicht nicht restarten :-<
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
AlexanderJunghans
n00b
n00b


Joined: 25 Feb 2004
Posts: 2
Location: Hamburg, Germany

PostPosted: Wed Feb 25, 2004 3:55 pm    Post subject: Dienste lassen nicht nicht restarten :-< Reply with quote

Hallo ich habe eininge Gentoos in Firmen an laufen. .->

Jedoch habe ich es leider öfters erlebt, dass sich Dienste, z.B. named nicht
restarten lassen. Die meldung besagt, dass der Dienst bereits läuft. Macht er allerdings nicht.

Code:
gateway service # /etc/init.d/named start
 * WARNING:  "named" has already been started.
gateway service # /etc/init.d/named stop
 * Stopping named...                                                                        [ !! ]

gateway service # /etc/init.d/named start
 * WARNING:  "named" has already been started.


Meine Vermutung es läge an der PID unter var run hat sich leider nicht bestätigt.

Code:
gateway service # ls /var/run/named/ -a
.  ..


Den selben Effekt hatte ich schon öfters mit apache, bind , samba etc

Nach einem Neustart ist alles o.k.

Die Prozesse laufen auch nicht! Auch nicht als Zomie.
Die Rechner kann ich nur mit sehr viel ärger am Tag neu starten, weil vielle User auf dem Rechner laufen.

Ich habe noch herrausgefungen, dass die "start" Zeile aus dem initscript nicht erreicht wird. Die Fehlermeldung kommt aus dem runscript.

Für jede Hilfe bin ich sehr dankbar, auch für Stellen wo ich noch suchen kann.
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Wed Feb 25, 2004 4:00 pm    Post subject: Reply with quote

/etc/init.d/foo zap && /etc/init.d/foo start sowie http://www.gentoo.de/doc/de/rc-scripts.xml
_________________
Ganz frisch: Praxisbuch Nagios
Gentoo Linux - Die Metadistribution (2. Auflage)
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Wed Feb 25, 2004 4:01 pm    Post subject: Reply with quote

Das Problem scheint mir zu sein, dass sich die Dienste nicht beenden lassen. Hast du es mal mit /etc/init.d/named zap versucht?
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
tacki
Guru
Guru


Joined: 29 Jun 2002
Posts: 418
Location: Germany

PostPosted: Wed Feb 25, 2004 4:03 pm    Post subject: Reply with quote

zap ?? hmm, wow, die funktion hab ich bisher übersehen :D hab immer von hand aus /var/lib/init.d/started gelöscht (früher /mnt/.init.d/started). seit wann gibts die funktion denn?
_________________
"Kazaa ist der beste MP3-Player den es gibt!"
.o( ... )
Back to top
View user's profile Send private message
AlexanderJunghans
n00b
n00b


Joined: 25 Feb 2004
Posts: 2
Location: Hamburg, Germany

PostPosted: Wed Feb 25, 2004 4:03 pm    Post subject: Reply with quote

Super danke!!!

Das mit dem zap hat sofort funktioniert!!!

Code:

gateway service # /etc/init.d/named zap
 * Manually resetting named to stopped state.
gateway service # /etc/init.d/named start
 * Starting named...                                                                        [ ok ]
gateway service #


Ist nicht 100% sauber aber hilft!!!

Danke !!!!
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Wed Feb 25, 2004 5:21 pm    Post subject: Reply with quote

Wenn sich ein Dienst nicht richtig beenden lässt liegt es meine Meinung nach zu 99,9% an Konfigurationsfehlern, da er dann nicht richtig gestartet wird und sich somit auch nicht beenden läßt.

Logfiles checken.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum