[asterisk-users] problem with safe_asterisk

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Feb 13 05:52:01 MST 2007


On Tue, Feb 13, 2007 at 01:35:50PM +0100, Andrea De Vita wrote:
> Hi all,
> 
> I have installed some Asterisk machine, all with the same problem.
> My typical configuration is:
> - Asterisk 1.2.14 (or 1.4.0beta3)
> - CentOS 4.4 server.
> 
> 
> The problem is this:
> When I start Asterisk with the default init script (/etc/init.d/asterisk 
> start) distributed with the source, and kill (or kill -9) Asterisk-pid,
> then safe_asterisk doesn't correctly work (it dies and not restart 
> Asterisk).
> Instead, if I start Asterisk with safe_asterisk command from shell, 
> after "kill Asterisk-pid", safe_asterisk restart Asterisk correctly.
> 
> I would use the init script because I like to use Linux-HA that require 
> this.

Edit that init.d script lightly not to use safe_asterisk.
safe_asterisk is not close to robust anyway, and thus will only
complicate things.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list