ispCP - Board - Support
Another Error 500 - 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: Another Error 500 (/thread-11211.html)



Another Error 500 - flufsor - 07-21-2010 05:02 AM

Hey guys,
I wanted to ispcp since it looks very nice on the demo.
So i started to install it on a vm on my pc to test before i upload to a vps.

But after i installed it on a clean Debian Lenny,
i get the famous Error 500 page, this i what i get:
Code:
Error 500!

/admin/index.php
Internal Server Error!

I used the latest Nightly build (03/05/2010)
my vm has the 512 ram with 1GB of swap which isn't even used.
I will add some logs in hope for an answer.

Error.log
Code:
[Sat Jul 17 22:31:17 2010] [notice] Apache/2.2.9 (Debian) configured -- resumin$
[Sat Jul 17 22:36:54 2010] [notice] caught SIGTERM, shutting down

Code:
[2010-07-17 22:43:41]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 22:45:39]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 22:46:41]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 22:53:02]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 22:53:05]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 22:54:55]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 22:55:00]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:01:54]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:03:05]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:03:05]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:04:19]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:06:11]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:08:15]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:17:30]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:17:37]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:18:34]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:18:35]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:18:42]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-17 23:24:32]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter

default-error.log
Code:
http://pastebin.com/wwJfep8A

Edit: i also noticed that its not php by its self since phpmyadmin and webmail and such seem to be running.


RE: Another Error 500 - kilburn - 07-21-2010 03:31 PM

Code:
[Sat Jul 17 22:44:35 2010] [warn] mod_fcgid: read data timeout in 40 seconds
[Sat Jul 17 22:44:35 2010] [error] [client 192.168.1.4] Premature end of script headers: index.php, referer: http://192.168.1.5/index.php?admin=1

It looks like the panel is dying with an error (no headers) and mod_fcgid finally times out. Can you try to run the index.php file through php-cgi from the command line? Something like (as root):
Code:
su vu2000 -s /bin/bash -c '/usr/bin/php5-cgi -f /var/www/ispcp/gui/index.php'

You will see notices about undefined variables at the top (because you're not running from a web environment), but don't worry about these. Look for some fatal error being thrown.

If this doesn't help you to solve the problem, please attach the output you got and tell us which OS/Distro/Ispcp version are you using.


RE: Another Error 500 - flufsor - 07-21-2010 09:09 PM

I looked at the error log but don't see anything special but here it is:
http://pastebin.com/k3MRNFkE

My os is Debian with the latest Nightly build (03/05/2010).

(ps thx for the help already)


RE: Another Error 500 - kilburn - 07-21-2010 09:45 PM

Hmmm... two questions:

1. Does your server have internet connectivity?
2. Is the error happening just when displaying the login page, or after you try to login?


RE: Another Error 500 - flufsor - 07-22-2010 12:00 AM

My server has internet via a vm bridge connection.
The error is happening after i try to login,
but it also takes a while to see the login page.


RE: Another Error 500 - flufsor - 07-23-2010 02:14 AM

Using this link i got it working but its still awfully slowly loading the ispcp pages.

Everything seems to work now except that the page /admin/index.php loads super slow.


RE: Another Error 500 - gyrertr - 07-23-2010 01:49 PM

I have used an Internet so I have log in but web page is a redirect and server has not connect a Internet thus it is show a many error 500 so we will be connect thus easy solved a error otherwise used help option.