![]() |
500 Error - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: 500 Error (/thread-6270.html) |
500 Error - elsimultimedia - 03-31-2009 10:18 PM Hello. I am having some problems with ispCP I have a Ubuntu 8.04 distributions installed on a powerfull server 2 x Xeon 3,06 Ghz 4 GB RAM ... I installed ispCP Omega 1.0.0 Stable Release All was fine ( except for a small problem with proftpd users and passwords which i resolved by using the config file provided in the nightly build) Yesterday i installed some new extensions and updated old ones * PDO_MySQL * simplexml * mcrypt * hash * GD * DOM * iconv * SOAP This morning i noticed tha in ispcp i get a lot of 500 internal server errors [Tue Mar 31 14:51:37 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Tue Mar 31 14:51:37 2009] [error] [client 192.168.0.2] Premature end of script headers: change_user_interface.php, referer: http://admin.srv1.elsimultimedia.ro/client/index.php [Tue Mar 31 14:51:39 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/admin/manage_users.php with wrapper /var/www/fcgi/master/php5-fcgi-starter [Tue Mar 31 14:51:42 2009] [notice] mod_fcgid: process 6848 going graceful shutdown, sending SIGTERM [Tue Mar 31 14:51:48 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/admin/system_info.php(6848) exit(communication error), terminated by calling exit(), return code: 0 Has anyone encountered this problem? Any tips? The server hosts 5 websites with an average of 50 visitors daily so i suppose server load is not a problem. RE: 500 Error - BeNe - 03-31-2009 10:29 PM Do you use FastCGI or fcgid ? Greez BeNe RE: 500 Error - elsimultimedia - 03-31-2009 10:39 PM fgcid I forgot to say that scripts work - if i refresh the page after the 500 error it does what it's supposed to do RE: 500 Error - BeNe - 03-31-2009 11:01 PM You could try this config: /etc/apache2/mods-enabled/fcgid_ispcp.conf Code: <IfModule mod_fcgid.c> Greez BeNe RE: 500 Error - elsimultimedia - 03-31-2009 11:13 PM I tried and it did not work... I am still getting the exact same error and the same error_log output RE: 500 Error - elsimultimedia - 04-01-2009 04:05 AM nvm... i reinstalled the entire server as i also wanted to enable raid... and now it works RE: 500 Error - cell - 04-01-2009 07:19 AM But I have almost the same error :S Environment: debian lenny, ISPCP 1.0, mod_fcgid (+awstats, +munin installed) I have a php script what should run more than 2 mins, but after 40 secs I get a 500 error page. ![]() In /var/log/apache2/users/default-error.log: Code: [warn] mod_fcgid: read data timeout in 40 seconds I use set_time_limit(300) in the testfile (It works fine on my local comp.) I have tried to add these config settings, but it did not work. ![]() RE: 500 Error - k3rmit - 04-01-2009 10:50 AM I'm quite a beginner with ispcp, so my advices might not be of much use, but have you tried to set an appropriate max_execution_time directly in the php.ini for your vhost located at /var/www/fcgi/[youraccountsdomainname]/php5/php.ini ? RE: 500 Error - kilburn - 04-01-2009 06:40 PM You have to change the BusyTimeout (see docs) directive of fcgid's config to the new maximum number of seconds allowed for scripts. RE: 500 Error - cell - 04-01-2009 07:15 PM I have already set the max_execution_time in php.ini and the BusyTimeout also. ![]() If I check the cpu usage on the server, looks like the script is run for ~3 mins as it should be, but the browser get the 500 error page after 40 secs. ![]() I made an another testfile, what is put a character to the output in every loop. Thats ok, its running for 3 mins and then give the output to the browser. (After the config change, only need to restart apache, nothing else, right?) |