1
rlankford
Apache Restarts at Random
  • 2007/8/14 14:41

  • rlankford

  • Not too shy to talk

  • Posts: 158

  • Since: 2004/8/27


This may not be the right place for this, but googling this stuff isn't really getting me anywhere.

I get this at random from Apache about once a day on my site:

Quote:

[Tue Aug 14 10:47:46 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.


I have XOOPS 2.0.16 running on Windows Server 2003 with the following XAMPP stack:

version 1.6.3a:

* Apache HTTPD 2.2.4 + Openssl 0.9.8e
* MySQL 5.0.45
* PHP 5.2.3 <-- Using PHP 5, not 4.
* PHP 4.4.7
* phpMyAdmin 2.10.3
* Zend Optimizer 3.3.0

I cannot reproduce the error at will. I can't localize it to any particular page on my site. Rather, it just goes nuts around once a day.

It's probably a PHP bug, but I'm not sure that Apache should be bombing out like it is either. Also, from what I've read, I suspect that this bug would be fixed if I ran the server on Linux instead of Windows (which is not something that I want to do since I have some other Windows software running on the server too). Who's to blame? Windows, Apache, PHP, or some combination of the three? I don't have any idea.

Anyone seen this before? Anyone have any ideas at all what could be causing the problem?

2
vaughan
Re: Apache Restarts at Random
  • 2007/8/14 14:53

  • vaughan

  • Friend of XOOPS

  • Posts: 680

  • Since: 2005/11/26


try copying the php5ts.dll to the windows/system32 folder.

it could also be zend that's causing the problem, you could try disabling it in php.ini just to test.

3
rlankford
Re: Apache Restarts at Random
  • 2007/8/15 19:09

  • rlankford

  • Not too shy to talk

  • Posts: 158

  • Since: 2004/8/27


Thanks for the reply!

I've tried disabling Zend Optimizer and restarting the web server. That didn't seem to help, the web server exhibited the same behavior ~22 hours later...

I've copied over the dll file you mentioned and will wait to see if that makes any difference...

Does no one else ever have this problem?

4
Will_H
Re: Apache Restarts at Random
  • 2007/8/15 23:10

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Have you set an errorlog in the vhost entry?

5
rlankford
Re: Apache Restarts at Random
  • 2007/8/16 13:08

  • rlankford

  • Not too shy to talk

  • Posts: 158

  • Since: 2004/8/27


Biteronboard -- Thanks for the response.

I'm not maintaining multiple domains/hostnames on my server. Because of this, I'm not really well versed in the whole virtual host setup thing with Apache. So, what I'm saying here may end up sounding like unintelligible garbage .

The main Apache error log is where I'm going to get any error information. The entries in the log end up looking like this:

Quote:

[Wed Aug 08 16:53:12 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Wed Aug 08 16:53:14 2007] [warn] RSA server certificate CommonName (CN) `idportal.na.ds.lexmark.com' does NOT match server name!?
[Wed Aug 08 16:53:16 2007] [notice] Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3 configured -- resuming normal operations
[Wed Aug 08 16:53:16 2007] [notice] Server built: Mar 5 2007 11:23:00
[Wed Aug 08 16:53:16 2007] [notice] Parent: Created child process 5728
[Wed Aug 08 16:53:17 2007] [warn] RSA server certificate CommonName (CN) `idportal.na.ds.lexmark.com' does NOT match server name!?
[Wed Aug 08 16:53:18 2007] [warn] RSA server certificate CommonName (CN) `idportal.na.ds.lexmark.com' does NOT match server name!?
[Wed Aug 08 16:53:18 2007] [notice] Child 5728: Child process is running
[Wed Aug 08 16:53:18 2007] [notice] Child 5728: Acquired the start mutex.
[Wed Aug 08 16:53:18 2007] [notice] Child 5728: Starting 250 worker threads.
[Wed Aug 08 16:53:18 2007] [notice] Child 5728: Starting thread to listen on port 443.
[Wed Aug 08 16:53:18 2007] [notice] Child 5728: Starting thread to listen on port 80.


Yes, there's some stuff in there about my SSL certificate not matching the server name. This doesn't appear to affect the SSL operation of the site, however. I've tried tracking this one down and couldn't quickly find anywhere where these values don't match. Irregardless, I don't think this has anything to do with the restart issue...

6
Will_H
Re: Apache Restarts at Random
  • 2007/8/17 3:14

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Did you install Apache as a module by any chance?

I gotta tell ya, the bug tracker is full to the gills with these errors. (they have pretty much gone unanswered for 3-4 years)

There are quick fixes out there, like #commenting out Zend and making sure your php.ini is actually in your /php folder, but no final word from devs as of yet.

Expect feedback sometime in the year 2020.

In Short: Apache - Nix + Win = 0

7
BlueStocking
Re: Apache Restarts at Random

Google Search with status 3221225477 as the criteria.

http://www.google.com/search?client=googlet&q=status%203221225477


Quote:

--------------------------------------------------------------------------------
#26286 [Com]: Parent: child process exited with status 3221225477 -- Restarting | #26286 [Com]: Parent: child process exited with status 3221225477 -- Restarting
ID: 26286
Comment by: populus117 at hotmail dot com
Reported By: igg10 at alu dot ua dot es
Status: No Feedback
Bug Type: Apache2 related
Operating System: Windows 2000
PHP Version: 4.3.4
New Comment:

I discovered something that may have been the problem.
Quite trivial and embbrasing though...

I was testing all the different combinations between Apache 1.3.3,
Apache 2.0.4, PHP 4.3.6 and PHP 5.0.0 RC2, and in the process of
switching between PHP4 and PHP5, I found out that I did not copy the
php5ts.dll to the system32 folder.

I know that in the readme it says that the system searches the PHP
folder as well for this file but once I put that file into system32, it
*appears* to have solved the problem. I haven't seen the bug so far and
hopefully I'm right =D

Conclusion: Stupid mistakes are the hardest to realise and find.


Hope this helps...
many results.
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

8
rlankford
Re: Apache Restarts at Random
  • 2007/8/17 13:33

  • rlankford

  • Not too shy to talk

  • Posts: 158

  • Since: 2004/8/27


Thanks for the reply.

I copied the file over a couple of days ago:

E:WINDOWSsystem32>dir php5ts.dll
 Volume in drive E has no label
.
 
Volume Serial Number is 7447-16E3

 Directory of E
:WINDOWSsystem32

05
/31/2007  03:42 AM         4,775,992 php5ts.dll
               1 File
(s)      4,775,992 bytes
               0 Dir
(s)  511,367,110,656 bytes free

E
:WINDOWSsystem32>


Since then, however, it's restarted 3 times on me. I didn't actually restart the server after copying the file over though. I'll do that real quick ... ok, I'm back.

I'll give it a shot again for a few days.

Thanks again for everyone's willingness to help. I may just be out of luck. My googling has brought me to the same conclusions that I'm seeing here: Apache + PHP + Windows = bad. I thought this stuff was more stable than that, and that I must be making a stupid mistake. But with all the bugs in the tracker and severe drought of any real leads to work on ... well, maybe I'm out of luck unless/until I install Ubuntu Server on the machine!

--------------
Do people have luck running XOOPS under IIS??

9
Will_H
Re: Apache Restarts at Random
  • 2007/8/17 15:48

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


CentOS4 ftw!

Login

Who's Online

153 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits