Thanks Lonnie

yesterday morning I already have replaced the "tail -n2" command with 
"tail -n5" in then "safe_asterisk" command; do you prefer a "-n3" or i 
can leave the "-n5" option?

Graziano


Il 07/09/2011 18.02, Lonnie Abelbeck ha scritto:
> 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.
>>
>>

-- 

Graziano Brioschi

Outland s.a.s.
sede operativa:
Via A. Don Rocca, 13
20030, Senago (MI)
tel: 02 9948 6014
mobile: 328 8382622
email: graziano.brios...@outland.it
-->  U4E<--


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
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