[Asterisk-Users] Monitor Asterisk

Uriel Carrasquilla uriel at adelphia.net
Mon May 5 19:24:11 MST 2003


Thank you so much.  I will look it up in Google unless you have a handy URL.

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of
asterisk at billheckel.com
Sent: Monday, May 05, 2003 3:01 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Monitor Asterisk


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

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list