1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

PSA problem after server burn

Discussion in 'Plesk for Linux - 8.x and Older' started by microsol, Oct 19, 2005.

  1. microsol

    microsol Guest

    0
     
    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?
     
  2. rvdmeer

    rvdmeer Guest

    0
     
    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
     
  3. microsol

    microsol Guest

    0
     
    Ok, that was it. Thanks. Somehow the control panel php.ini became corrupt and was having -3 in there instead -1 (unlimited).
     
Loading...