• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

"500 Internal Server Error" on Plesk panel 9.5.4

clinton4

Regular Pleskian
Hi,

When i visit my Plesk panel on post 8443, i get a "500 Internal Server Error" message. If i reboot the server, Plesk panel works fine for 5-10 minutes, the it goes back to the 500 error.

Where can i find the log for this error?
 
Thanks Amin :)

I get these errors:

2012-05-09 19:44:43: (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:
2012-05-09 19:44:43: (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
2012-05-09 19:44:43: (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
2012-05-09 19:44:43: (mod_fastcgi.c.1012) If this is PHP on Gentoo add fastcgi to the USE flags
2012-05-09 19:44:43: (mod_fastcgi.c.1105) [ERROR]: spawning fcgi failed.

When i do php -v i get this:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so' - /usr/lib64/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.3.13 (cli) (built: May 9 2012 09:51:06)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with the ionCube PHP Loader v4.0.7, Copyright (c) 2002-2011, by ionCube Ltd.

But don't know how to solve the problem. Any ideas?
 
Are there any errors in /var/log/messages ?

For #2, try not loading the sqlite library (you can find the file its in by searching the php.d directory -
grep sql /etc/php.d/*

or it may be in the php.ini file itself depending on how your system is setup.

or if you want it then try installing it through yum - I think the package name is sqlite (not php-sqlite).
 
Back
Top