Hi,
I have recently update the modules for Freepbx Distro running asterisk 13.22.0.
Suddenly the GUI stops responding with the error " Exception (2002) SQLSTATE[HY000] [2002] Connection refused::SQLSTATE[HY000] [2002] Connection refused".
While login from SSH I got some information as below.
Exception: SQLSTATE[HY000] [2002] Connection refused::SQLSTATE[HY000] [2002] Connection refused in file /var/www/html/admin/libraries/utility.functions.php on line 204
Stack trace:
- Exception->() /var/www/html/admin/libraries/utility.functions.php:204
- die_freepbx() /var/www/html/admin/libraries/BMO/Database.class.php:142
- PDOException->() /var/www/html/admin/libraries/BMO/Database.class.php:137
- PDO->__construct() /var/www/html/admin/libraries/BMO/Database.class.php:137
- FreePBX\Database->__construct() /var/www/html/admin/libraries/BMO/FreePBX.class.php:71
- FreePBX->__construct() /var/www/html/admin/bootstrap.php:153
- require_once() /etc/freepbx.conf:11
- include() /var/www/html/admin/modules/backup/bin/restore.php:7
Even I can not restore the old backup from GUI.
Please help me regarding the same. asterisk is working fine I guess.