Current time: 12-23-2024, 02:41 AM Hello There, Guest! (LoginRegister)


Post Reply 
Apache Error 500 / SIGHUP received / FastCGI
Author Message
nicolas Offline
Junior Member
*

Posts: 21
Joined: Aug 2008
Reputation: 1
Post: #1
Apache Error 500 / SIGHUP received / FastCGI
Hi,

I have successfully managed to migrate a VHCS2 install to ISCP Omega RC6 on a new server running Ubuntu 8.04LTS 64bits.

But now I face a problem: I got lot of error 500 while browsing the ISPCP panel (Edit: not while browsing other "php sites hosted on the server") and the apache error log is full of:

Quote:[Fri Aug 22 15:20:27 2008] [notice] SIGHUP received. Attempting to restart
[Fri Aug 22 15:20:27 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Aug 22 15:20:27 2008] [notice] FastCGI: process manager initialized (pid 2152)
[Fri Aug 22 15:20:27 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 2154)
[Fri Aug 22 15:20:27 2008] [notice] Apache/2.2.8 (Ubuntu) mod_fastcgi/2.4.6 configured -- resuming normal operations

Apparently this error appears only while browsing the ISCP Control panel, not regular sites (but it's too fresh to tell).
Any idea?
(This post was last modified: 08-26-2008 07:00 PM by nicolas.)
08-23-2008 01:25 AM
Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #2
RE: Apache Error 500 / SIGHUP received / FastCGI
how about when you refresh a page... does the 500 error go away.. might be a similar issue I'm having...

create a few sites that are php sites... then try to hit them..

I notice the errors only after a full reboot of the system or a long period of inactivity...

haven't checked the logs... afraid to do that...
08-23-2008 04:18 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #3
RE: Apache Error 500 / SIGHUP received / FastCGI
Are these errors coming just after browsing ispcp? or after making changes? if its after making changes i think this is due to apache restarting...
08-23-2008 03:40 PM
Find all posts by this user Quote this message in a reply
nicolas Offline
Junior Member
*

Posts: 21
Joined: Aug 2008
Reputation: 1
Post: #4
RE: Apache Error 500 / SIGHUP received / FastCGI
pgentoo Wrote:Are these errors coming just after browsing ispcp? or after making changes? if its after making changes i think this is due to apache restarting...

I have just got another error... This happens both while browsing pages in the interface or while editing....

viperiii Wrote:how about when you refresh a page... does the 500 error go away..

Yes it disappears after one or more refresh.
(This post was last modified: 08-25-2008 05:12 AM by nicolas.)
08-25-2008 04:57 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #5
RE: Apache Error 500 / SIGHUP received / FastCGI
Hrm, I am using mod_fcgid, and after I make a change in the GUI, if i wait a few seconds then click something I will get an error as well. If I just wait it out I don't get any errors. It appears to be during the restart of apache.

My error isn't a 500 though, in firefox it shows:

Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again.
08-25-2008 04:07 PM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #6
RE: Apache Error 500 / SIGHUP received / FastCGI
could you post yor php version? Most times its the php which causes the 500 errors. If you are both using debian etch, try to update php from dotdeb. it should do the job Tongue
08-25-2008 05:21 PM
Find all posts by this user Quote this message in a reply
nicolas Offline
Junior Member
*

Posts: 21
Joined: Aug 2008
Reputation: 1
Post: #7
RE: Apache Error 500 / SIGHUP received / FastCGI
Zothos Wrote:could you post yor php version? Most times its the php which causes the 500 errors. If you are both using debian etch, try to update php from dotdeb. it should do the job Tongue

I am running Ubuntu 8.04LTS 64 bits.

PHP 5.2.4-2ubuntu5.3 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: Jul 23 2008 06:40:13)
Copyright © 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright © 1998-2007 Zend Technologies
08-25-2008 09:50 PM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #8
RE: Apache Error 500 / SIGHUP received / FastCGI
Have you tried building without suhosin? maybe it's causing some issues?
08-26-2008 03:32 PM
Find all posts by this user Quote this message in a reply
nicolas Offline
Junior Member
*

Posts: 21
Joined: Aug 2008
Reputation: 1
Post: #9
RE: Apache Error 500 / SIGHUP received / FastCGI
pgentoo Wrote:Have you tried building without suhosin? maybe it's causing some issues?

I installed latest PHP 5.2.6 and it was worse: error 500 on every ISPCP page (just after login got an error 500). But then I noticed this bug:

http://www.isp-control.net/forum/bug-dur...-4123.html

and after recreating the language table, no more error 500 (so far)!!!
08-26-2008 06:51 PM
Find all posts by this user Quote this message in a reply
nicolas Offline
Junior Member
*

Posts: 21
Joined: Aug 2008
Reputation: 1
Post: #10
RE: Apache Error 500 / SIGHUP received / FastCGI
I confirm problem is solved. Error 500 was due to the missing language table in ISPCP database.
08-27-2008 06:22 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)