• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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