ispcsrv failed connections to MySQL database

Discussion in 'Installation/Configuration' started by Sharone, Apr 10, 2021.

  1. Sharone

    Sharone Member

    Hi everyone,
    I'm having a hard time solving this error after running php -q update.php. One of the dedicated slaves run into hardware error and I had to reinstall ISPConfig 3.1.15p3 on Ubuntu 18.04.5. I have tried to manually update the authentication string using the string from /usr/local/ispconfig/server/lib/config.inc.php for the respective slave on phpmyadmin on the master database but alas. Any help/pointers would be highly appreciated.
    Code:
    [email protected]:~# /usr/local/ispconfig/server/server.sh
    10.04.2021-22:47 - WARNING - There is already a lockfile set, but no process running with this pid (23967). Continuing.
    PHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 85
    PHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedZugriff auf Datenbankserver fehlgeschlagen! / Database server not accessible!PHP Fatal error:  Uncaught Error: Call to a member function testConnection() on boolean in /usr/local/ispconfig/server/server.php:64
    Stack trace:
    #0 {main}
      thrown in /usr/local/ispconfig/server/server.php on line 64
    PHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 85
    PHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning:  mysqli_real_connect(): (HY000/1045): Access denied for user 'ispcsrv2'@'mail-20.srv.mtn.co.ug' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedZugriff auf Datenbankserver fehlgeschlagen! / Database server not [email protected]:~#
    
     
  2. Sharone

    Sharone Member

    I decided to uninstall and reinstall ISPConfig. Managed to clear those errors. Server is now able to send mail but not able to receive mail so I'll post another thread for that.
     

Share This Page