[App_rpt-users] Dial Watchdog Function

Buddy Brannan buddy at brannan.name
Sat Dec 12 08:44:57 EST 2015


I've never had a problem with
service asterisk restart
Or, as seems habit for me,
/etc/init.d/asterisk restart

Naturally I also only use ssh to do this. 

--
Buddy Brannan, KB5ELV - Erie, PA
Phone: 814-860-3194 
Mobile: 814-431-0962
Email: buddy at brannan.name




> On Dec 12, 2015, at 7:16 AM, Steve Zingman <szingman at msgstor.com> wrote:
> 
> Neil,
> I misread your message last night.
> I just tested service asterisk restart on DIAL x86 restarts a dead asterisk. See below.
> 
> root at repeater:/etc/init.d# ps ax | grep asterisk
>  1081 ?        Ssl    0:01 /usr/sbin/asterisk
>  1117 pts/0    S+     0:00 grep asterisk
> 
> root at repeater:/etc/init.d# kill -9 1081
> 
> root at repeater:/etc/init.d# ps ax | grep asterisk
>  1125 pts/0    S+     0:00 grep asterisk
> 
> root at repeater:/etc/init.d# asterisk -r
> Asterisk 1519, Copyright (C) 1999 - 2008 Digium, Inc. and others.
> Created by Mark Spencer <markster at digium.com>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
> This is free software, with components licensed under the GNU General Public
> License version 2 and other licenses; you are welcome to redistribute it under
> certain conditions. Type 'core show license' for details.
> =========================================================================
> Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
> 
> root at repeater:/etc/init.d# service asterisk restart
> 
> root at repeater:/etc/init.d# ps ax | grep asterisk
>  1143 ?        Ssl    0:00 /usr/sbin/asterisk
>  1171 pts/0    S+     0:00 grep asterisk
> 
> root at repeater:/etc/init.d# asterisk -r
> Asterisk 1519, Copyright (C) 1999 - 2008 Digium, Inc. and others.
> Created by Mark Spencer <markster at digium.com>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
> This is free software, with components licensed under the GNU General Public
> License version 2 and other licenses; you are welcome to redistribute it under
> certain conditions. Type 'core show license' for details.
> =========================================================================
> Connected to Asterisk 1519 currently running on repeater (pid = 1143)
> repeater*CLI> 
> 
> 73, Steve N4IRS
> 
> On 12/12/2015 12:44 AM, Neil k8it wrote:
>> Steve
>>  
>> I have been evaluating Dial on a Linux PC
>> Observations
>> 1. When asterisk crashes, there is no restart or watchdog
>>  
>> 2.this makes debugging very difficult
>> 3.asterisk service mode restart does not seem to work
>> 4. in this mode remote SSH to restart is not possible
>> Do you have any fixes planned?
>>  
>>  
>> Thanks
>> 73 Neil Sablatzky  K8IT
>> Allstar Node 41838 KITLINK
>> Allstar Node 42087 KITLINK HUB
>> IRLP Node exp0068
>> Echolink K8IT-L
>> WIRES-X K8IT 11479 Room 21479
>>  
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> .
>>>>>>>> 
> 
> -- 
> "Anything is possible if you don't know what you are talking about."
> 1st Law of Logic
> 
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> 
> To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.




More information about the App_rpt-users mailing list