Hi Graziano,

I have not seen such asterisk 1.4.42 segfaults, but to help Safe Asterisk to 
catch the segfault (and auto restart asterisk) you can try this change:
--
$ service asterisk stop

Edit "/usr/sbin/safe_asterisk"...

Search for the string "tail -n2"

Replace with "tail -n3", save change.

$ service asterisk start
--

Let me know if this automatically restarts Asterisk when a segfault occurs.

Lonnie

PS:  Before upgrading in the future be certain you first undo the change with:
--
$ service asterisk stop
$ rm /oldroot/mnt/asturw/usr/sbin/safe_asterisk
$ service asterisk start
--


On Sep 7, 2011, at 7:46 AM, Graziano Brioschi wrote:

> hi list,
> 
> I have a crash problem on a astlinux 0.7.9 system with asterisk 1.4.42.
> Asterisk hangs randomly on this system with a messages like this (logged 
> in /var/log/messages):
> 
> .....
> Sep  7 11:09:36 pbx user.info kernel: asterisk[4269]: segfault at 84 ip 
> 40012e2c sp bd1fcb7c error 4
> Sep  7 11:09:36 pbx user.info kernel:  in 
> libpthread-0.9.28.so[4000d000+a000]
> Sep  7 11:09:36 pbx user.info kernel:
> Sep  7 11:09:37 pbx user.info safe_asterisk: Asterisk shutdown normally.
> .......
> 
> Someone have some suggestions?
> 
> The system is installed on a OpenVOX IPC110 embedded motherboard with 
> 2GB RAM, CF Sandisk UltraII 4Gb, one OpenVOX miniPCI B400M isdn bri card 
> and 20 Yealink SIP-T22P.
> 
> Thanks
> Graziano
> 
> -- 
> 
> Graziano Brioschi
> 
> -->  U4E<--
> 
> 
> ------------------------------------------------------------------------------
> Using storage to extend the benefits of virtualization and iSCSI
> Virtualization increases hardware utilization and delivers a new level of
> agility. Learn what those decisions are and how to modernize your storage 
> and backup environments for virtualization.
> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 
> 


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to