ispCP - Board - Support
Apache Error 500 / SIGHUP received / FastCGI - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Migration (/forum-35.html)
+--- Thread: Apache Error 500 / SIGHUP received / FastCGI (/thread-4095.html)



Apache Error 500 / SIGHUP received / FastCGI - nicolas - 08-23-2008 01:25 AM

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?


RE: Apache Error 500 / SIGHUP received / FastCGI - viperiii - 08-23-2008 04:18 AM

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...


RE: Apache Error 500 / SIGHUP received / FastCGI - pgentoo - 08-23-2008 03:40 PM

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...


RE: Apache Error 500 / SIGHUP received / FastCGI - nicolas - 08-25-2008 04:57 AM

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.


RE: Apache Error 500 / SIGHUP received / FastCGI - pgentoo - 08-25-2008 04:07 PM

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.


RE: Apache Error 500 / SIGHUP received / FastCGI - Zothos - 08-25-2008 05:21 PM

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


RE: Apache Error 500 / SIGHUP received / FastCGI - nicolas - 08-25-2008 09:50 PM

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


RE: Apache Error 500 / SIGHUP received / FastCGI - pgentoo - 08-26-2008 03:32 PM

Have you tried building without suhosin? maybe it's causing some issues?


RE: Apache Error 500 / SIGHUP received / FastCGI - nicolas - 08-26-2008 06:51 PM

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-during-migration-vhcs-ispcp-language-table-not-t-4123.html

and after recreating the language table, no more error 500 (so far)!!!


RE: Apache Error 500 / SIGHUP received / FastCGI - nicolas - 08-27-2008 06:22 PM

I confirm problem is solved. Error 500 was due to the missing language table in ISPCP database.