• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Another Error 500 on fresh install

J

JamieS

Guest
I've tried to do a fresh install on 2 different servers. (centos 5 64bit)

I keep getting an error 500 when I try and use plesk.

2009-08-18 20:05:12: (mod_fastcgi.c.1012) If this is PHP on Gentoo add fastcgi to the USE flags
2009-08-18 20:05:12: (mod_fastcgi.c.1105) [ERROR]: spawning fcgi failed.
Must be suid root
2009-08-18 20:05:15: (mod_fastcgi.c.1000) the fastcgi-backend /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm failed to start:
2009-08-18 20:05:15: (mod_fastcgi.c.1004) child exited with status 1 /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
2009-08-18 20:05:15: (mod_fastcgi.c.1007) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)
For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program
2009-08-18 20:05:15: (mod_fastcgi.c.1012) If this is PHP on Gentoo add fastcgi to the USE flags
2009-08-18 20:05:15: (mod_fastcgi.c.1105) [ERROR]: spawning fcgi failed.

if I run it from the command line I get

[root@christian sw-cp-server]# /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
PHP Notice: Undefined index: REQUEST_URI in /usr/local/psa/admin/auto_prepend/auth.php3 on line 30
Expires: Fri, 28 May 1999 00:00:00 GMT
Last-Modified: Tue, 18 Aug 2009 19:09:12 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
P3P: CP="NON COR CURa ADMa OUR NOR UNI COM NAV STA"
Content-type: text/html


<html><head><title></title>
<script language="javascript" type="text/javascript" src="/javascript/common.js?plesk_version=psa-9.2.2-92090714.19"/></script>
<script language="javascript" type="text/javascript" src="/javascript/prototype.js?plesk_version=psa-9.2.2-92090714.19"></script>
<script>
var opt_no_frames = false;
var opt_integrated_mode = false;
</script>

</head><body onLoad=";top.location='/login.php3';"></body></html><!--______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________IE error page size limitation______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________-->


Someone had the same issue with plesk-billing but I'm not using that.

Please help!
 
I am running into this exact same problem. Got it after an update and am running into it after a 2 separate fresh installs.

I am also running centos 5 64bit
 
Make sure these lines are in php.ini, if not add

# vi /usr/local/psa/admin/conf/php.ini

apc.stat = 0
apc.shm_size = 64
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.include_once_override = 1


Then run the command:
# /etc/init.d/psa stop
# /etc/init.d/psa start

Hope I have helped. :)
 
Check sure these lines are in php.ini, if not add

# vi /usr/local/psa/admin/conf/php.ini

apc.stat = 0
apc.shm_size = 64
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.include_once_override = 1

Then run the commands:
# /etc/init.d/psa stop
# /etc/init.d/psa start
 
Old thread but no solution. I had the same error output. Check if the /tmp partition is not full.

The same for me.
A quick reboot (shutdown -rf) solve the pb, but of course, I don't known the cause.

No more errors in the psa error log, and this lines are present in the php.ini :


Code:
apc.stat = 0
apc.shm_size = 40M
apc.slam_defense = 0
apc.enabled = 1

I'm still looking for a proper solution..
Thanks to anyone who could help.

Best Regards,
Stéphane
 
Back
Top