HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   ISPConfig 3 Priority Support (http://www.howtoforge.com/forums/forumdisplay.php?f=35)
-   -   Internal Server Error - ISPconfig unavailable (http://www.howtoforge.com/forums/showthread.php?t=61693)

bonus999 2nd May 2013 15:28

Internal Server Error - ISPconfig unavailable
 
hello,

Another problem to add to my list!

Everything was OK apart from FTP access - see seperate thread!

I thought I would add another client and website to the server which went OK and then the ISPconfig stopped working and when I https to the server I get this:

***********************
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

**********************

I rebooted the server and no luck, also have waited some time and still the same.

Any help gratefully appreciated

thanks

Bruce

bonus999 2nd May 2013 16:13

Just to add
 
I followed this in the manual:

4) If this still doesn't help, then go to the command line of the server on which the error happens (on multiserver
systems, it is often the slave and not the master) and run (as root):
crontab -e
Comment out the server.sh cron job:
#* * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
Then run the command:
/usr/local/ispconfig/server/server.sh

Nothing logs on the command line.

thanks

falko 2nd May 2013 16:33

Are there any errors in the web site's error log (it's in the /var/www/example.com/log/ directory)?

bonus999 2nd May 2013 17:06

Hi Falko

Thanks for your reply, I checked those files and no issues.

I could not find anything using the search above but google managed to find a few threads on this site and I am looking at this one at the moment:

http://www.howtoforge.com/forums/showthread.php?t=55165

It started happening as soon as I added another site, so I am guessing that there is a issue around finding the file?

bonus999 2nd May 2013 18:08

I have now been through that file and nothing helped as far as I could work out.

I also followed the instructions in the manual for SuEXec, hower, I had no line starting with <IfModule mod_php5.c>

I would appreciate any help available - thanks

Bruce

till 2nd May 2013 20:04

When you get a 500 error in the browser, then the error mus be logged in the error.log file of the website or the global apache error.log.

Please check the file /var/log/apache2/error.log

bonus999 3rd May 2013 13:20

Hello Till,

I checked the error log as you suggested and found this:

suexec policy violation: see suexec log for more details
[Fri May 03 11:04:40 2013] [warn] [client 88.215.36.5] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri May 03 11:04:40 2013] [error] [client 88.215.36.5] Premature end of script headers: index.php
suexec policy violation: see suexec log for more details
[Fri May 03 11:07:10 2013] [warn] [client 88.215.36.5] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri May 03 11:07:10 2013] [error] [client 88.215.36.5] Premature end of script headers: index.php
suexec policy violation: see suexec log for more details
[Fri May 03 11:07:20 2013] [warn] [client 88.215.36.5] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri May 03 11:07:20 2013] [error] [client 88.215.36.5] Premature end of script headers: index.php
suexec policy violation: see suexec log for more details
[Fri May 03 11:08:06 2013] [warn] [client 88.215.36.5] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri May 03 11:08:06 2013] [error] [client 88.215.36.5] Premature end of script headers: index.php


I then checked the suexec log and found this:

[2013-05-03 11:04:40]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter
[2013-05-03 11:04:40]: target uid/gid (5003/5004) mismatch with directory (33/33) or program (33/33)
[2013-05-03 11:07:10]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter
[2013-05-03 11:07:10]: target uid/gid (5003/5004) mismatch with directory (33/33) or program (33/33)
[2013-05-03 11:07:20]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter
[2013-05-03 11:07:20]: target uid/gid (5003/5004) mismatch with directory (33/33) or program (33/33)
[2013-05-03 11:08:06]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter
[2013-05-03 11:08:06]: target uid/gid (5003/5004) mismatch with directory (33/33) or program (33/33)

Your help is greatly appreciated - thanks

bonus999 3rd May 2013 17:48

I gave up!
 
As this was a new server, I figured I probably mashed up the install somewhere along the line and had the snapshot installed from just before I started step 12 on the "perfect server" guide.

With a bit more experience 2nd time around it seems OK

The FTP worked straight away and I suspect everything else will.

Thank you for the help!


All times are GMT +2. The time now is 19:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.