I have four machines have been working perfectly for several weeks before the latest FreePBX updates.
The machines were fully patched today 06-19-2020 to version 15.0.16.56.
Now on reboot, asterisk starts to load, then crashes.
I have version switched 1 server to Asterisk 13.21.1 Certified Asterisk
The version of Asterisk makes no difference as Asterisk still crashes on reboot.
This problem is replicated on 4 separate installs.
I have confirmed that Asterisk does start on the reboot.
However, it crashes within two minutes during the initial load.
Connected to Asterisk 16.9.0 currently running on Server02 (pid = 11678)
CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
fwconsole restart
Starts Asterisk as expected and loads all modules.
Try to first fix all PBX Folder and files permissions.
fwconole chown
fwconsole r --verbose
fwconsole restart
After permission check and fix doensât help and you still facing with Asterisk Crash then try to Re-Install Asterisk.
asterisk-version-switch
Press 1 for Asterisk 13 (LTS) (With Opus and G729 codecs)
Press 2 for Asterisk 15 (With Opus and G729 codecs)
Press 3 for Asterisk 16 (LTS) (With Opus and G729 codecs)
Press 4 for Asterisk 13 Certified (LTS) (With Opus and G729 codecs)
Press 5 for Asterisk 17
Press 9 to exit and not change your Asterisk Version
Hey quick question, is asterisk being started by systemd when booting up? For some reason my asterisk was starting via systemd on bootup and it was causing the same issue, I was never really sure why that happened but disabling it and making sure the freepbx.service was started at boot fixed it (it runs fwconsole start). It was a very strange issue.
Now if I check it it shows the service not running after boot since I disabled it, but it is running because fwconsole starts it, no more crashes for me, not sure if this is the case for you though.