[asterisk-users] asterisk services not starting up
Steve Edwards
asterisk.org at sedwards.com
Mon Oct 19 14:46:04 CDT 2009
On Mon, 19 Oct 2009, Ott Rose wrote:
> sudo chkconfig --add asterisk
>
> gives me
> error reading information on service asterisk: No such file or directory
This means that you do not have a file named asterisk in /etc/init.d/
The file located at:
<where-your-asterisk-sources-are>/contrib/init.d/rc.redhat.asterisk
should be a good start. Take a peek at it and if you like it:
sudo cp --interactive\
<where-your-asterisk-sources-are>/contrib/init.d/rc.redhat.asterisk\
/etc/init.d/asterisk
sudo chkconfig --add asterisk
Note the comment block at the top of the file starting with "chkconfig:
2345 90 60"
This tells chkconfig to configure Asterisk to start (and stop) at run
levels 2, 3, 4, and 5. (Servers should always be running at level 3.)
This is all pretty basic Unix/Linux system administration stuff, not at
all specific to Asterisk. You may want to pick up a good book to give you
more background and enhance your skills.
--
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