[Asterisk-Users] Monitor Asterisk

asterisk at billheckel.com asterisk at billheckel.com
Mon May 5 12:01:08 MST 2003


Personally I recommend using daemontools by DJB to run asterisk.  It does a very good job of keeping 
the service alive.

What you then do instead of restart is do a stop, either now or gracefully and daemontools will 
restart it immediately.

Bill

Uriel Carrasquilla wrote:
> I must be doing something wrong.  I took /asterisk/init.asterisk to 
> /etc/rc.d/init.d/asterisk and in my /etc/rc.d/rc.local I issue "asterisk 
> start".  It works and it runs safe_asterisk.  However, I had an instance 
> today on which asterisk came down and never came up again.
> I have also noticed that if I issue "asterisk stop", then "asterisk 
> status", it shows one lingering task.  Then I cannot restart, start or 
> stop.  So I end up going back to /asterisk/  ./asterisk > ....  to 
> recover without rebooting.
> Thank you for your help.
>  
> Regards,
> Uriel
> 
>     -----Original Message-----
>     *From:* asterisk-users-admin at lists.digium.com
>     [mailto:asterisk-users-admin at lists.digium.com]*On Behalf Of *denon
>     *Sent:* Saturday, May 03, 2003 10:48 PM
>     *To:* asterisk-users at lists.digium.com
>     *Subject:* Re: [Asterisk-Users] Monitor Asterisk
> 
>     It already includes a script that does this - safe_asterisk
> 
>     -d
> 
>     At 11:16 PM 5/3/2003 -0400, you wrote:
> 
>>     How can I have, may be a daemon, running so if asterisk goes down,
>>     it would bring it up again right away?
>>     Uriel




More information about the asterisk-users mailing list