FreePBX 13: Unable to reload through GUI: Asterisk running as root (PiAF)

This thread is a year and a half old. There is now a script that makes migrating off unsupported systems trivially easy:
http://wiki.freepbx.org/display/PPS/Elastix+and+PBXinaFlash+to+FreePBX+Distro+Conversion+Tool

1 Like

Thanks for the reply. I’m running centos 6 which I believe is supported. I used the Install guide located at:
http://wiki.freepbx.org/display/FOP/Installing+FreePBX+13+on+CentOS+6

If I issue a fwconsole restart. After a full system restart the issue disappears.

probably because asterisk is being started inappropriately in /etc/rc.local or by init.

Make sure it is not in /etc/rc.local

Then use chkconfig to see if it is in init…

# chkconfig --list asterisk
asterisk       	0:off	1:off	2:off	3:off	4:off	5:off	6:off

If all those don’t say off there is your issue. Run the following.

checkconfig --del asterisk

In /etc/rc.local add

/usr/sbin/fwconsole start
1 Like

Thanks so much for the reply. chkconfig was starting asterisk. I ran the command: checkconfig --del asterisk

However adding the line to /etc/rc.local
/usr/sbin/fwconsole start

Still doesn’t start Asterisk. After a reboot. Freepbx is showing red bar at top right. “can no connect to asterisk”.

After issuing a fwconsole start everything is ok.

I noticed /etc/init.d/rc.local doesn’t exisit. Any ideas?

[ro#ls -ls rc.local
4 -rwxr-xr-x 1 root root 246 Apr 7 23:14 rc.local

So I added the line: /usr/sbin/fwconsole start
to: /etc/rc.d/rc.local

and it worked. Thanks for your help!