Friday, April 22, 2005 11:18 PM
Subject: RE: [Asterisk-Users] Asterisk Restart after crash
>
> > In your asterisk in init.d that calls safe_asterisk change this:
> ...
>
> > fi
> > $DAEMON $ASTARGS
> > RETVAL=$?
> >
Hello Chuck,
Friday, April 22, 2005, 5:56:02 AM, you wrote:
CS> Does Asterisk restart itself if it crashes? If not is there a way to make
CS> linux do it?
Have a look at safe_asterisk script it's included, I guess.
CS> ___
CS> Asterisk-Users mai
On Fri, 2005-04-22 at 17:18 +0200, Guido Hecken wrote:
> After applying the change to the init script, it seems to restart the
> asterisk processes which get killed, but do you have a functional system
> with this?
> Our Testsystem spits out some '100% CPU-Loaded mpg123 processes' and
> asterisk w
> In your asterisk in init.d that calls safe_asterisk change this:
...
> fi
> $DAEMON $ASTARGS
> RETVAL=$?
> [ $RETVAL -eq 0 ] && touch /var/lock/subsys/asterisk
> echo
> return $RETVAL
> }
>
> ie remove 'daemon' from the command.
After applying t
On Fri, 2005-04-22 at 19:33 +0800, Craig Guy wrote:
> There is a bug with safe_asterisk and FC2, you must edit the script to
> remove 'daemon' from the the startup command and then it will auto restart.
Add Mandrake/Mandriva 10.x to that list.
Many thanks that solved a real problem for me.
--
Da
After applying the change to the init script, it seems to restart the
asterisk processes which get killed, but do you have a functional system
with this?
Our Testsystem spits out some '100% CPU-Loaded mpg123 processes' and
asterisk was somehow dead.
Did I miss something?
Yes I found the same thing.
he command.
Test it by kill -9 asterisk pid and see if it restarts - it is quite
aggressive.
Craig
- Original Message -
From: "Guido Hecken" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
Sent: Friday, April 22, 2005 7:56 PM
Sent: Friday, April 22, 2005 1:32 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Asterisk Restart after crash
After a crash of what??
Linux...asterisk??
Depends on how you have it setup
If you start asterisk with safe_asterisk, then if aste
Could you give some more information on where to remove 'daemon' and the
effects?
Since all our productionservers running FC2 I'm a bit concerned.
> There is a bug with safe_asterisk and FC2, you must edit the script to
> remove 'daemon' from the the startup command and then it will auto
restart.
- Non-Commercial Discussion'"
Sent: Friday, April 22, 2005 1:32 PM
Subject: RE: [Asterisk-Users] Asterisk Restart after crash
> After a crash of what??
> Linux...asterisk??
>
> Depends on how you have it setup
>
> If you start asterisk with safe_asterisk, then if asteris
After a crash of what??
Linux...asterisk??
Depends on how you have it setup
If you start asterisk with safe_asterisk, then if asterisk crashes it will
start again.
If you run safe_asterisk from say...your rc.local then it will start when
linux restarts.
Dave
-Original Message-
From: [
11 matches
Mail list logo