A 500 error when trying to log in - 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: A 500 error when trying to log in (/thread-7039.html) |
A 500 error when trying to log in - rona - 06-24-2009 12:52 AM i can logged in with a reseller or a customer account. but when i use a admin account, i received a error 500. in the "default-error.log" file, it shows: [Tue Jun 23 22:48:26 2009] [warn] mod_fcgid: read data timeout in 40 seconds [Tue Jun 23 22:48:26 2009] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php and in the table "log" of database "ispcp", it shows i have logged in. it seems an error is occured when the php script is trying to output something or maybe the communication between php script and daemon is abnormal how can i fix this ???i am using freebsd 7.1 RE: A 500 error when trying to log in - kilburn - 06-24-2009 02:02 AM It seems that the script times out waiting for something (dns resolution, db connection, whatever). Could you trace the php5-cgi binary processing your login request to see where it gets hung? RE: A 500 error when trying to log in - amartin - 07-07-2009 05:49 PM (06-24-2009 02:02 AM)kilburn Wrote: It seems that the script times out waiting for something (dns resolution, db connection, whatever). Could you trace the php5-cgi binary processing your login request to see where it gets hung? I found this: http://jay.vox.com/library/post/mod_fcgid-ignoring-fastcgi-config-settings.html Pay atention to the last comment. It solved my problems. Don't know why it takes so long to log in, though. Incidentally I'm running ispCP omega inside an OpenVZ Debian Lenny virtual machine. I found that login process takes much longer when this machine has no access to Internet (it's behind a NAT). Could this be related to the "check for updates" feature? Hope this helps. Great product, BTW! RE: A 500 error when trying to log in - kilburn - 07-07-2009 06:07 PM It surely is, try to deactivate it and check if login times are still so high. RE: A 500 error when trying to log in - amartin - 07-07-2009 06:10 PM (07-07-2009 06:07 PM)kilburn Wrote: It surely is, try to deactivate it and check if login times are still so high. Verified: Disabling updates when the machine has no access to Internet speed up the login. I reverted the fcgid configuration to its defaults for this test, too. Thanks for your quick reply! |