Apache 2.2.4 Dienst wird immer wieder beendet

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache 2.2.4 Dienst wird immer wieder beendet

Postby Brunelli » 15. June 2007 09:12

Hallo zusammen,

Ich bin neu hier und habe da eine Frage. Vielleicht kann mir ja jemand weiterhelfen.
Ich habe einen W2K3 Server im Einsatz. Auf diesem Server ist OTRS mit Apache 2.2.4 installiert.
Nun habe ich das Problem dass sich der Apache Dienst immer wieder verabschiedet. So alle 2 Stunden. Man kann den Dienst problemlos wieder neu starten ist aber schon ein wenig lästig und auf die Dauer natürlich nix.

Wenn einer einen Tip hat wäre ich dankbar
Gruss
Brunelli
Brunelli
 
Posts: 2
Joined: 15. June 2007 09:01

Postby kschroeder » 15. June 2007 12:28

Was sagen denn die Logs vom Apache?
kschroeder
 
Posts: 254
Joined: 11. May 2007 13:33

Postby Brunelli » 19. June 2007 10:25

Hier mal einen Auszug aus dem error.log

[Thu Jun 14 09:59:51 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Jun 14 09:59:51 2007] [warn] (OS 10038)Ein Vorgang bezog sich auf ein Objekt, das kein Socket ist. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Thu Jun 14 09:59:52 2007] [notice] Child 2676: Released the start mutex
[Thu Jun 14 09:59:53 2007] [notice] Child 2676: Waiting for 50 worker threads to exit.
[Thu Jun 14 09:59:53 2007] [notice] Child 2676: All worker threads have exited.
[Thu Jun 14 09:59:53 2007] [notice] Child 2676: Child process is exiting
[Thu Jun 14 09:59:57 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
[Thu Jun 14 09:59:57 2007] [notice] Server built: Jan 9 2007 23:17:20
[Thu Jun 14 09:59:57 2007] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Thu Jun 14 09:59:57 2007] [crit] (OS 6)Das Handle ist ungültig. : master_main: create child process failed. Exiting.
[Thu Jun 14 09:59:57 2007] [notice] Parent: Child process exited successfully.
[Thu Jun 14 10:57:56 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
[Thu Jun 14 10:57:56 2007] [notice] Server built: Jan 9 2007 23:17:20
[Thu Jun 14 10:57:56 2007] [notice] Parent: Created child process 5632
[Thu Jun 14 10:58:02 2007] [notice] Child 5632: Child process is running
[Thu Jun 14 10:58:02 2007] [notice] Child 5632: Acquired the start mutex.
[Thu Jun 14 10:58:02 2007] [notice] Child 5632: Starting 50 worker threads.
[Thu Jun 14 10:58:02 2007] [notice] Child 5632: Starting thread to listen on port 81.
[Thu Jun 14 13:59:27 2007] [notice] Child 5632: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Thu Jun 14 13:59:27 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Jun 14 13:59:27 2007] [warn] (OS 10038)Ein Vorgang bezog sich auf ein Objekt, das kein Socket ist. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Thu Jun 14 13:59:28 2007] [notice] Child 5632: Released the start mutex
[Thu Jun 14 13:59:29 2007] [notice] Child 5632: Waiting for 50 worker threads to exit.
[Thu Jun 14 13:59:30 2007] [notice] Child 5632: All worker threads have exited.
[Thu Jun 14 13:59:30 2007] [notice] Child 5632: Child process is exiting
[Thu Jun 14 13:59:33 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
[Thu Jun 14 13:59:33 2007] [notice] Server built: Jan 9 2007 23:17:20
[Thu Jun 14 13:59:33 2007] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Thu Jun 14 13:59:33 2007] [crit] (OS 6)Das Handle ist ungültig. : master_main: create child process failed. Exiting.
[Thu Jun 14 13:59:33 2007] [notice] Parent: Child process exited successfully.
[Thu Jun 14 14:05:34 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
[Thu Jun 14 14:05:34 2007] [notice] Server built: Jan 9 2007 23:17:20
[Thu Jun 14 14:05:34 2007] [notice] Parent: Created child process 3852
[Thu Jun 14 14:05:39 2007] [notice] Child 3852: Child process is running
[Thu Jun 14 14:05:39 2007] [notice] Child 3852: Acquired the start mutex.
[Thu Jun 14 14:05:39 2007] [notice] Child 3852: Starting 50 worker threads.
[Thu Jun 14 14:05:39 2007] [notice] Child 3852: Starting thread to listen on port 81.
[Thu Jun 14 17:47:36 2007] [notice] Child 3852: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Thu Jun 14 17:47:36 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Jun 14 17:47:36 2007] [warn] (OS 10038)Ein Vorgang bezog sich auf ein Objekt, das kein Socket ist. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Thu Jun 14 17:47:37 2007] [notice] Child 3852: Released the start mutex
[Thu Jun 14 17:47:38 2007] [notice] Child 3852: Waiting for 50 worker threads to exit.
[Thu Jun 14 17:47:38 2007] [notice] Child 3852: All worker threads have exited.
[Thu Jun 14 17:47:38 2007] [notice] Child 3852: Child process is exiting
[Thu Jun 14 17:47:41 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
[Thu Jun 14 17:47:41 2007] [notice] Server built: Jan 9 2007 23:17:20
[Thu Jun 14 17:47:41 2007] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Thu Jun 14 17:47:41 2007] [crit] (OS 6)Das Handle ist ungültig. : master_main: create child process failed. Exiting.
[Thu Jun 14 17:47:41 2007] [notice] Parent: Child process exited successfully.
[Fri Jun 15 08:43:03 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
[Fri Jun 15 08:43:03 2007] [notice] Server built: Jan 9 2007 23:17:20
[Fri Jun 15 08:43:03 2007] [notice] Parent: Created child process 1732
[Fri Jun 15 08:43:09 2007] [notice] Child 1732: Child process is running
[Fri Jun 15 08:43:09 2007] [notice] Child 1732: Acquired the start mutex.
[Fri Jun 15 08:43:09 2007] [notice] Child 1732: Starting 50 worker threads.
Brunelli
 
Posts: 2
Joined: 15. June 2007 09:01

Postby braini » 28. September 2007 08:41

Hallo,

ich habe seit gestern Nachmittag das gleiche Problem... Wenn ich bloß wüßte was ich an meinem Apachen geändert habe...

Habe lediglich die php.ini verändert. Jedoch auch nach Zurückspielen der alten php.ini tritt der Fehler beim Runterfahren des Webservers auf:

Code: Select all
[Fri Sep 28 09:24:57 2007] [notice] Child 4252: Exit event signaled. Child process is ending.
[Fri Sep 28 09:24:57 2007] [warn] (OS 10038)Ein Vorgang bezog sich auf ein Objekt, das kein Socket ist.  : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Fri Sep 28 09:24:58 2007] [notice] Child 4252: Released the start mutex
[Fri Sep 28 09:24:59 2007] [notice] Child 4252: Waiting for 249 worker threads to exit.
[Fri Sep 28 09:24:59 2007] [crit] [Fri Sep 28 09:24:59 2007] file .\\server\\mpm\\winnt\\child.c, line 1120, assertion "(rv >= 0) && (rv < threads_created)" failed
[Fri Sep 28 09:25:01 2007] [notice] Parent: Child process exited successfully.
braini
 
Posts: 3
Joined: 28. September 2007 08:33

Postby braini » 28. September 2007 08:48

Der Vollständigkeit halber hier noch das Log inkl. Fehlermeldung beim Restart des Apachen:

Code: Select all
[Fri Sep 28 09:13:30 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Fri Sep 28 09:13:30 2007] [notice] Child 2024: Exit event signaled. Child process is ending.
[Fri Sep 28 09:13:31 2007] [warn] RSA server certificate CommonName (CN) `MyCert' does NOT match server name!?
[Fri Sep 28 09:13:31 2007] [notice] Apache/2.2.4 (Win32) mod_ssl/2.2.4 OpenSSL/0.9.8d PHP/5.2.0 DAV/2 configured -- resuming normal operations
[Fri Sep 28 09:13:31 2007] [notice] Server built: Jan  9 2007 23:17:20
[Fri Sep 28 09:13:31 2007] [notice] Parent: Created child process 4252
[Fri Sep 28 09:13:31 2007] [notice] Child 2024: Released the start mutex
[Fri Sep 28 09:13:31 2007] [warn] RSA server certificate CommonName (CN) `MyCert' does NOT match server name!?
[Fri Sep 28 09:13:32 2007] [warn] RSA server certificate CommonName (CN) `MyCert' does NOT match server name!?
[Fri Sep 28 09:13:32 2007] [notice] Child 4252: Child process is running
[Fri Sep 28 09:13:32 2007] [notice] Child 4252: Acquired the start mutex.
[Fri Sep 28 09:13:32 2007] [notice] Child 4252: Starting 250 worker threads.
[Fri Sep 28 09:13:32 2007] [notice] Child 4252: Starting thread to listen on port 443.
[Fri Sep 28 09:13:32 2007] [notice] Child 4252: Starting thread to listen on port 80.
[Fri Sep 28 09:13:32 2007] [notice] Child 2024: Waiting for 249 worker threads to exit.
[Fri Sep 28 09:13:32 2007] [crit] [Fri Sep 28 09:13:32 2007] file .\\server\\mpm\\winnt\\child.c, line 1120, assertion "(rv >= 0) && (rv < threads_created)" failed
braini
 
Posts: 3
Joined: 28. September 2007 08:33

Postby braini » 28. September 2007 09:11

Im Windows Eventlog habe ich noch 2 Einträge gefunden:

Die Anwendung "C:\Programme\Apache Software Foundation\Apache2.2.4\bin\httpd.exe" hat einen Programmfehler verursacht. Datum und Zeit des Fehlers: 28.09.2007 um 09:12:45.765 Ausnahme: 80000003 an Adresse 7C93A3E1 (ntdll!DbgBreakPoint)


Fehlgeschlagene Anwendung httpd.exe, Version 2.2.4.0, fehlgeschlagenes Modul ntdll.dll, Version 5.2.3790.3959, Fehleradresse 0x0001a3e1.


Hat jemand irgend eine Idee? Ich bin völlig ratlos...
Vielleicht mal das Allheilmittel "kompletter Server-Reboot" ausprobieren...?!
... ja, es hat tatsächlich geklappt!!!!!
braini
 
Posts: 3
Joined: 28. September 2007 08:33


Return to Apache

Who is online

Users browsing this forum: No registered users and 13 guests