ispCP - Board - Support
Error 500 - ispCP 1.0.2 in Ubuntu Karmic - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Error 500 - ispCP 1.0.2 in Ubuntu Karmic (/thread-7795.html)

Pages: 1 2


Error 500 - ispCP 1.0.2 in Ubuntu Karmic - GuS - 09-08-2009 03:21 AM

Hi guys,

I just recently upgraded my server to Ubuntu Karmic (fresh install) and installed ispCP 1.0.2.
After fixing some errors (like with proftpd and others, well know as i found it in the forum), I constantly have "Error 500" when I am using the Panel. Lets say, I browse the panel, click on any link, the error appears, I refresh the site, it works well and so on...
For what I've read seems a problem related to mod_fcgid. My logs says every time the error shows up:

Quote:[Mon Sep 07 14:19:04 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Sep 07 14:19:07 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Mon Sep 07 14:19:07 2009] [error] [client 190.48.123.36] Premature end of script headers: index.php, referer: http://panel.gdnet.com.ar/admin/index.php
[Mon Sep 07 14:19:07 2009] [notice] mod_fcgid: process 7348 going graceful shutdown, sending SIGTERM

Any tip of how to fix this?

Thanks.


RE: Error 500 - ispCP 1.0.2 in Ubuntu Karmic - GuS - 09-08-2009 11:12 AM

By the way, I've followed this http://www.dumitrache.net/2009/06/ispcp-fixing-500-server-errors/ but didn't solved the problem either. I have always to refresh the page to work, but in the second click to some link, the Error 500 appears again (which causes One link ok, other with error and so on...)


RE: Error 500 - ispCP 1.0.2 in Ubuntu Karmic - gOOvER - 09-08-2009 02:16 PM

1.0.2 contain some Bugs. Please wait until 1.0.3 will be released.


RE: Error 500 - ispCP 1.0.2 in Ubuntu Karmic - GuS - 09-08-2009 02:32 PM

(09-08-2009 02:16 PM)gOOvER Wrote:  1.0.2 contain some Bugs. Please wait until 1.0.3 will be released.

Hi,

Thanks for reply. Will that take long? Just in case I've upgraded to the trunk version but with no luck either. The problem persist Sad

Cheers.


RE: Error 500 - ispCP 1.0.2 in Ubuntu Karmic - gOOvER - 09-08-2009 03:58 PM

The latest Trunk is 1.0.3 Wink When you install iT, please use ispcp-update.


RE: Error 500 - ispCP 1.0.2 in Ubuntu Karmic - GuS - 09-09-2009 01:20 AM

(09-08-2009 03:58 PM)gOOvER Wrote:  The latest Trunk is 1.0.3 Wink When you install iT, please use ispcp-update.

Hi,

I've installed the today trunk from 0, and the problem still persist:

Quote:[Tue Sep 08 12:19:24 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Tue Sep 08 12:19:24 2009] [error] [client 190.48.124.129] Premature end of script headers: manage_users.php, referer: http://panel.gdnet.com.ar/admin/index.php
[Tue Sep 08 12:19:26 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/admin/manage_users.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Tue Sep 08 12:19:26 2009] [notice] mod_fcgid: process 32348 going graceful shutdown, sending SIGTERM
[Tue Sep 08 12:19:32 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(32348) exit(communication error), terminated by calling exit(), return code: 0



RE: Error 500 - ispCP 1.0.2 in Ubuntu Karmic - kilburn - 09-09-2009 01:23 AM

Try switching to fastcgi...


RE: Error 500 - ispCP 1.0.2 in Ubuntu Karmic - GuS - 09-09-2009 01:42 AM

(09-09-2009 01:23 AM)kilburn Wrote:  Try switching to fastcgi...

I've changed: PHP_FASTCGI = fastcgi

Or i must change it in other place? Cause i still see:

Quote:[Tue Sep 08 12:41:45 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/admin/manage_users.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Tue Sep 08 12:41:48 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Tue Sep 08 12:41:48 2009] [error] [client 190.48.124.129] Premature end of script headers: admin_add.php, referer: http://panel.gdnet.com.ar/admin/manage_users.php



RE: Error 500 - ispCP 1.0.2 in Ubuntu Karmic - kilburn - 09-09-2009 01:52 AM

You have to:
Code:
apt-get install libapache2-mod-fastcgi
a2dismod fcgid_ispcp
a2enmod fastcgi_ispcp
/etc/init.d/apache2 restart



RE: Error 500 - ispCP 1.0.2 in Ubuntu Karmic - GuS - 09-09-2009 01:57 AM

(09-09-2009 01:52 AM)kilburn Wrote:  You have to:
Code:
apt-get install libapache2-mod-fastcgi
a2dismod fcgid_ispcp
a2enmod fastcgi_ispcp
/etc/init.d/apache2 restart

Yeah i've realized that later, but even enabled that mod i have problems. Now is clearly that is using mod_fastcgi but:

Quote:[Tue Sep 08 12:55:43 2009] [error] [client 190.48.124.129] (104)Connection reset by peer: FastCGI: comm with server "/var/www/fcgi/master/php5-fcgi-starter" aborted: read failed
[Tue Sep 08 12:55:43 2009] [error] [client 190.48.124.129] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/master/php5-fcgi-starter"