Ciao Andrea,
Tzafrir is right...safe_asterisk is not very good. I had a discussed
with him time ago. It is better for you to develop it by yourself. I
made a version checking PIDs which is what safe_asterisk is lacking.
Giorgio Incantalupo
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.
Someone can help me?
Thanks
Andrea De Vita
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users