Amportal does not start at boot


I have a problem - I’m trying to get freepbx to start at boot (centos 5.3).

I tried everything with /etc/rc.d/rc.local:


This script will be executed after all the other init scripts.

You can put your own initialization stuff in here if you don’t

want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
/usr/sbin/amportal start

But it still has to be started manualy. What am I doing wrong?

what do you mean by “start”? Freepbx isnt a system service like asterisk. The gui is ‘dead’ until you access it. As long as asterisk is running, you should be ok

Hmm, if I dont do the: “amportal start”, I see in the Freepbx gui Asterisk Error. Are you implying that Asterisk is not started?

Solved it.

Just a reminder to everybody else who will make new rc.local file - Do not forget to make it executable!!!