Apache 2.0.46: Restart geht nicht!

Apache, Lighttpd, nginx, Cherokee
Post Reply
gregg
Posts: 5
Joined: 2003-04-17 22:06
 

Apache 2.0.46: Restart geht nicht!

Post by gregg »

Hi!

Also, apachectl restart führt zu folgendem:

Code: Select all

[Sun Jun 29 20:08:02 2003] [warn] child process 5793 still did not exit, sending a SIGTERM
piped log program '(null)' failed unexpectedly
[Sun Jun 29 20:08:02 2003] [warn] child process 5793 still did not exit, sending a SIGTERM
[Sun Jun 29 20:08:03 2003] [notice] SIGHUP received.  Attempting to restart
[Sun Jun 29 20:08:03 2003] [notice] seg fault or similar nasty error detected in the parent process
Die Meldung "piped log program '(null)' failed unexpectedly" lässt sich abstellen, in dem man einen CustomLog-Eintrag in der confixx_vhost.conf auskommentiert. Dann sieht es wie folgt aus:

Code: Select all

[Sun Jun 29 20:10:34 2003] [notice] SIGHUP received.  Attempting to restart
[Sun Jun 29 20:10:34 2003] [notice] seg fault or similar nasty error detected in the parent process
In beiden Fällen wird der Apache also nur runtergefahren und kommt nicht wieder hoch! apachectl stop && apachectl start funktioniert hingegen problemlos!

Jemand eine Idee woran das liegen könnte?
d0cd
Posts: 19
Joined: 2002-12-14 13:44
 

Re: Apache 2.0.46: Restart geht nicht!

Post by d0cd »

Es sieht so aus als produziere da der sog. 'parent process' Speicherzugriffsfehler. Hast du irgendwelche exotischen Module eingebunden?
Welche Ausgabe bringt 'apachectl graceful' (falls es das beim 2.xer noch gibt)?
gregg
Posts: 5
Joined: 2003-04-17 22:06
 

Re: Apache 2.0.46: Restart geht nicht!

Post by gregg »

Code: Select all

LoadModule auth_module modules/mod_auth.so
LoadModule access_module modules/mod_access.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule php4_module        modules/libphp4.so
LoadModule alias_module        modules/mod_alias.so
LoadModule mime_module        modules/mod_mime.so
LoadModule mime_magic_module        modules/mod_mime_magic.so
LoadModule dir_module modules/mod_dir.so
Also beim besten Willen nichts abenteurliches...

apachectl graceful sagt nichts wenn der Apache2 läuft und etwas im Stile von "httpd not running, trying to start" wenn er nicht läuft.
kess
Posts: 24
Joined: 2003-06-25 09:24
 

Re: Apache 2.0.46: Restart geht nicht!

Post by kess »

Welche Apache-Version und welche PHP-Version sind das exakt?

Ã?brigens: graceful gibt es beim 2er natürlich immer noch ;-)

Gruß
Kess
gregg
Posts: 5
Joined: 2003-04-17 22:06
 

Re: Apache 2.0.46: Restart geht nicht!

Post by gregg »

2.0.46 & 4.3.3RC1...
Die 5.0b1 von PHP bringt dasselbe... Also kann es nicht wirklich an PHP liegen.
kess
Posts: 24
Joined: 2003-06-25 09:24
 

Re: Apache 2.0.46: Restart geht nicht!

Post by kess »

Anfangs sieht alles ziemlich unwahrscheinlich aus, bis man die Ursache hat :-)

Deshalb um sicher zu gehen: Kannst du bitte mal den Apache ohne das PHP-Modul starten und restarten, ob das Problem dann immer noch besteht?

Falls ja, stelle dein Problem doch bitte in die Bug-Datenbank des Apache: http://httpd.apache.org/bug_report.html

Ein Hauptspeicherauszug dazu wäre wichtig. Um den zu erhalten, mußt du ein CoreDumpDirectory einstellen (siehe http://httpd.apache.org/docs-2.0/mod/mp ... pdirectory)

Wozu benötigst du eigentlich mod_mime_magic?

Gruß
Kess
Post Reply