Just installed ISO and restored; issues with SQL, POSTFIX, ASTERISK

I just got a new computer, and did a fresh install from ISO. Then I used the BACKUP and RESTORE utilities to get everything onto new computer. Everything looks ok but of the backup has several e-mails. See list at bottom of this note.

I have several issues:

  1. Problem connecting to SQL. service mysql is running, but anything that relies on SQL isn’t. Never changed any passwords.

  2. Issue with POSTFIX. main.cf file looks good, getting error “postfix: fatal: bad string length 0 < 1: myhostname =” . Verified main.cf file is same as previous deployment. Hostname set properly in FreePBX.

  3. Asterisk needs to be manually started when system is rebooted.

Thanks in advance!

Messages on backup:

*** Message 1 ***

PHP Fatal error:
Class ‘Whoops\Util\Misc’ not found in
/var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php
on line 0

Whoops\Exception\ErrorException: Class 'Whoops\Util\Misc’
not found in file
/var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php
on line 0 Stack trace:

  1. ()
    /var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php:0

*** Message 2 ***

PHP Fatal error:
Class ‘Whoops\Util\Misc’ not found in
/var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php
on line 0

Whoops\Exception\ErrorException: Class 'Whoops\Util\Misc’
not found in file
/var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php
on line 0 Stack trace:

  1. ()
    /var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php:0

*** Message 3 ***
PHP Fatal error:
Class ‘Whoops\Util\Misc’ not found in
/var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php
on line 0

Whoops\Exception\ErrorException: Class 'Whoops\Util\Misc’
not found in file /var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php
on line 0 Stack trace:

  1. ()
    /var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php:0

Did you backup and restore to the exact same version as this is required for backup and restore to work.

fwconsole --fix_zend

Yes, made sure everything was exactly the same version. All modules up to date.

Response when I executed command:

[[email protected] ]# fwconsole --fix_zend
There’s nothing left to fix
[[email protected] ]#

The auto loaded is completely trashed.

Did you restore the html directory?

Advice would be just delete the qxact module folder

Please see above. Not sure if I sent it to you.

The folder is in your own error message you posted.