Re: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Craig Guy
@lists.digium.com 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 asterisk crashes it will start again. If you run

RE: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Guido Hecken
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.

RE: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Chuck Smith
: 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 asterisk crashes

Re: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Craig Guy
- Original Message - From: Guido Hecken [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Friday, April 22, 2005 7:56 PM Subject: RE: [Asterisk-Users] Asterisk Restart after crash Could you give some more information on where

Re: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Marc Storck
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

Re: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Dave Cotton
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. --

RE: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Guido Hecken
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 the change

RE: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Dave Cotton
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 was

Re: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Alessio Focardi
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

Re: [Asterisk-Users] Asterisk Restart after crash

2005-04-22 Thread Craig Guy
, 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=$? [ $RETVAL -eq 0 ] touch /var/lock/subsys/asterisk echo

RE: [Asterisk-Users] Asterisk Restart after crash

2005-04-21 Thread David Phelan
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: