• 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.

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