I am currently using FreePBX 16.0.40.8 (standard FreePBX distro). It works fine.
It is running on VM. The VM is backed-up every week by stopping the VM, making a snapshot and then starting it.
I noticed, that sometimes Asterisk is not running after the machine is brought back. The quick fix was to reboot the machine again, but this is obviously not a solution.
The /var/log/messages
shows:
Aug 17 02:21:51 pbx php: Unparseable output from getservices - ["Exception: Asterisk is not connected in file \/var\/www\/html\/admin\/libraries\/php-asmanager.php on line 248","Stack t
race:"," 1. Exception->() \/var\/www\/html\/admin\/libraries\/php-asmanager.php:248"," 2. AGI_AsteriskManager->send_request() \/var\/www\/html\/admin\/modules\/firewall\/Smart.class.p
hp:509"," 3. FreePBX\\modules\\Firewall\\Smart->getPjsipContacts() \/var\/www\/html\/admin\/modules\/firewall\/Smart.class.php:499"," 4. FreePBX\\modules\\Firewall\\Smart->getRegistrations() \/var\/www\/html\/admin\/modules\/firewall\/Smart.class.php:89"," 5. FreePBX\\modules\\Firewall\\Smart->getAllPorts() \/var\/www\/html\/admin\/modules\/firewall\/Firewall.class.php:2209"," 6. FreePBX\\modules\\Firewall->getSmartPorts() \/var\/www\/html\/admin\/modules\/firewall\/bin\/getservices:22"] - returned 1
I’ve got the same in firewall.log.
I guess it prevents the asterisk from being launched, but it can be started if I reboot the VM, so it is not permanent.
I haven’t tried yet to manually start the asterisk from fwconsole.
Any clue what the root cause may be?
I think it showed itelf a few weeks ago, maybe, as I run Freepbx 16 for a few years now (this machine is like 2 months old).
6 posts - 3 participants