LINUX.ORG.RU

История изменений

Исправление CryNet, (текущая версия) :

root@debian:~# amportal Chown

Please wait...
PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (4)' in /var/www/html/admin/libraries/BMO/Database.class.php:149
Stack trace:
#0 /var/www/html/admin/libraries/BMO/Database.class.php(149): PDO->__construct('mysql:host=94.8...', 'freepbxuser', '6242c4f0361ca41...', Array)
#1 /var/www/html/admin/libraries/BMO/FreePBX.class.php(69): FreePBX\Database->__construct(Object(FreePBX))
#2 /var/www/html/admin/bootstrap.php(151): FreePBX->__construct(Array)
#3 /etc/freepbx.conf(9): require_once('/var/www/html/a...')
#4 Command line code(5): include_once('/etc/freepbx.co...')
#5 {main}

Next exception 'Exception' with message 'SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (4)::SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (4)' in /var/www/html/admin/libraries/utility.functions.php:204
Stack trace:
#0 /var/www/html/admin/libraries/BMO/Database.class.php(154): die_freepbx('SQLSTATE[HY000]...', Object(PDOEx in /var/www/html/admin/libraries/utility.functions.php on line 204
/usr/sbin/amportal: line 44: Whoops\Exception\ErrorException:: command not found

/var/lib/asterisk/bin/freepbx_engine: line 119: Exception:: command not found
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in '/etc/asterisk' is set to  but the directory
does not exist. Attempting to create it with:
  'mkdir -p '

mkdir: missing operand
Try 'mkdir --help' for more information.
**** ERROR: COULD NOT CREATE  ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.

Исправление CryNet, :

root@debian:~# amportal Chown

Please wait...
PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (4)' in /var/www/html/admin/libraries/BMO/Database.class.php:149
Stack trace:
#0 /var/www/html/admin/libraries/BMO/Database.class.php(149): PDO->__construct('mysql:host=94.8...', 'freepbxuser', '6242c4f0361ca41...', Array)
#1 /var/www/html/admin/libraries/BMO/FreePBX.class.php(69): FreePBX\Database->__construct(Object(FreePBX))
#2 /var/www/html/admin/bootstrap.php(151): FreePBX->__construct(Array)
#3 /etc/freepbx.conf(9): require_once('/var/www/html/a...')
#4 Command line code(5): include_once('/etc/freepbx.co...')
#5 {main}

Next exception 'Exception' with message 'SQLSTATE[HY000] [2003] Can't connect to MySQL server on '94.87.109.10' (4)::SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (4)' in /var/www/html/admin/libraries/utility.functions.php:204
Stack trace:
#0 /var/www/html/admin/libraries/BMO/Database.class.php(154): die_freepbx('SQLSTATE[HY000]...', Object(PDOEx in /var/www/html/admin/libraries/utility.functions.php on line 204
/usr/sbin/amportal: line 44: Whoops\Exception\ErrorException:: command not found

/var/lib/asterisk/bin/freepbx_engine: line 119: Exception:: command not found
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in '/etc/asterisk' is set to  but the directory
does not exist. Attempting to create it with:
  'mkdir -p '

mkdir: missing operand
Try 'mkdir --help' for more information.
**** ERROR: COULD NOT CREATE  ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.

Исходная версия CryNet, :

root@debian:~# amportal Chown

Please wait...
PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2003] Can't connect to MySQL server on '94.87.109.10' (4)' in /var/www/html/admin/libraries/BMO/Database.class.php:149
Stack trace:
#0 /var/www/html/admin/libraries/BMO/Database.class.php(149): PDO->__construct('mysql:host=94.8...', 'freepbxuser', '6242c4f0361ca41...', Array)
#1 /var/www/html/admin/libraries/BMO/FreePBX.class.php(69): FreePBX\Database->__construct(Object(FreePBX))
#2 /var/www/html/admin/bootstrap.php(151): FreePBX->__construct(Array)
#3 /etc/freepbx.conf(9): require_once('/var/www/html/a...')
#4 Command line code(5): include_once('/etc/freepbx.co...')
#5 {main}

Next exception 'Exception' with message 'SQLSTATE[HY000] [2003] Can't connect to MySQL server on '94.87.109.10' (4)::SQLSTATE[HY000] [2003] Can't connect to MySQL server on '94.87.109.10' (4)' in /var/www/html/admin/libraries/utility.functions.php:204
Stack trace:
#0 /var/www/html/admin/libraries/BMO/Database.class.php(154): die_freepbx('SQLSTATE[HY000]...', Object(PDOEx in /var/www/html/admin/libraries/utility.functions.php on line 204
/usr/sbin/amportal: line 44: Whoops\Exception\ErrorException:: command not found

/var/lib/asterisk/bin/freepbx_engine: line 119: Exception:: command not found
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in '/etc/asterisk' is set to  but the directory
does not exist. Attempting to create it with:
  'mkdir -p '

mkdir: missing operand
Try 'mkdir --help' for more information.
**** ERROR: COULD NOT CREATE  ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.