Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th February 2013, 10:48
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
Default Error 500 Premature end of script headers: index.php after upgrade to 3.0.5

I'm getting this error on the ispconfig panel.

Quote:
Server error!

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

Error message:
Premature end of script headers: index.php

If you think this is a server error, please contact the webmaster.
Error 500
All other vhosts are working.

Also on apache error log, i have these:

Code:
/srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter: line 6: /usr/lib/cgi-bin/php: No such file or directory
/srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter: line 6: exec: /usr/lib/cgi-bin/php: cannot execute: No such file or directory
[Tue Feb 26 10:46:23 2013] [warn] [client 10.214.0.98] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Tue Feb 26 10:46:23 2013] [error] [client 10.214.0.98] Premature end of script headers: index.php
Reply With Quote
Sponsored Links
  #2  
Old 26th February 2013, 10:57
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
Default

This made the trick:

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

Is this a bug? I'm running on an opensuse 11.2 server.
Reply With Quote
  #3  
Old 26th February 2013, 11:25
nokia80 nokia80 is offline
HowtoForge Supporter
 
Join Date: Apr 2009
Posts: 207
Thanks: 47
Thanked 3 Times in 3 Posts
Send a message via Skype™ to nokia80
Default

same problem here i run debian but there is no file in that map???
__________________
You will only see if you get it...
ISPConfig is the future
Reply With Quote
  #4  
Old 26th February 2013, 11:38
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
Default

Quote:
Originally Posted by nokia80 View Post
same problem here i run debian but there is no file in that map???
This file?

/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter

It is a hidden file (beware of the dot).
Reply With Quote
  #5  
Old 26th February 2013, 11:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

@baskin: We verified the paths in curent OpenSuse releases but it might be that they are different in a older release like yours. Instead of changing the path in the ispconfig file, just make symlink from /usr/lib/cgi-bin/php to the location were your php fcgi binary is stored.


@nokia80

The above applies only to OpenSuse as OpenSuse changes the paths for the php binary depending on which repository and builder you use. So please do not post any debian related things to this thread as it will not apply to your problem and make a new thread instaed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in using : perfect-server-ubuntu-12.10-apache2-bind-dovecot-ispconfig-3, rezabagheri Installation/Configuration 7 30th October 2012 23:55
Sql ledger using forum.. yurtboy1 General 19 25th December 2010 22:08
Forbidden 403; Samba access; config of maildeamon fawkes Installation/Configuration 4 14th January 2010 19:16
MyDNS problem and Iptables problem Gimly General 4 13th August 2009 16:59
Internet Explorer won't connect to my server wctaelectronics Server Operation 10 27th October 2008 22:14


All times are GMT +2. The time now is 18:40.


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