[asterisk-users] asterisk services not starting up

Steve Edwards asterisk.org at sedwards.com
Mon Oct 19 12:49:43 CDT 2009


On Mon, 19 Oct 2009, Ott Rose wrote:

> After i rebuilt my server i did default install of Asterisk using the 
> steps off freepbx site. i used these steps before without any issues. 
> this time i have to start Asterisk manually every time the server 
> reboots.

[snip]

> i am guessing the script starts it up right but why is it not starting 
> automatically?

Because your OS is not executing the script?

If your OS is "CentOS" or a similar, you need to "add" the script using a 
command like:

 	sudo chkconfig --add asterisk

If your startup script specifies the run levels correctly, you're done. If 
not, you will need to specify which run levels you want Asterisk started 
and shut down. "man chkconfig" has the rest of the pieces of the puzzle.

A "non-executable" script is also a frequent "gotcha."

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list