• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

PSA problem after server burn

M

microsol

Guest
Hi,

after a very bad server burn we were able to recover from it because luckily we had a raid setup.
However, everything works fine on the server but the control panel.

We get the following error:

Unable to connect to database: Too many open links (0) 0: /usr/local/psa/admin/auto_prepend/auth.php3:66 psaerror(string "Unable to connect to database: Too many open links (0)")

The control panel seem to start fine but there is no way to connect to it without getting this error.

Anyone any idea how to fix this?
 
Mostly this has something to do with the max open connections allowed by the SQL server in combination with php.

If you do a phpinfo.. how many links are available?

In my case its:
mysql.max_links Unlimited Unlimited

Howto see phpinfo?
Create a php file with this:
PHP:
<?
phpinfo();
?>
then see it thru your browser and search for the part SQL
 
Ok, that was it. Thanks. Somehow the control panel php.ini became corrupt and was having -3 in there instead -1 (unlimited).
 
Back
Top