Current time: 11-15-2024, 04:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
A 500 error when trying to log in
Author Message
rona Offline


Posts: 4
Joined: May 2009
Reputation: 0
Post: #1
A 500 error when trying to log in
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
06-24-2009 12:52 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: A 500 error when trying to log in
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?
06-24-2009 02:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
amartin Offline
Newbie
*

Posts: 8
Joined: Jul 2009
Reputation: 0
Post: #3
RE: A 500 error when trying to log in
(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_fcgi...tings.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!
(This post was last modified: 07-07-2009 06:02 PM by amartin.)
07-07-2009 05:49 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: A 500 error when trying to log in
It surely is, try to deactivate it and check if login times are still so high.
07-07-2009 06:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
amartin Offline
Newbie
*

Posts: 8
Joined: Jul 2009
Reputation: 0
Post: #5
RE: A 500 error when trying to log in
(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!
07-07-2009 06:10 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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