<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi steve<br>
<br>
the main issue steve is not the fact that<br>
service asterisk restart does not work.<br>
<br>
but the main issue is that if asterisk crashes for any reason <br>
it will not restart itself. because of this i also can not use<br>
cop,1 cop command which is asterisk restart.<br>
<br>
cop,1 will cause asterisk to exit for restart but asterisk will<br>
not restart via a watchdog script.<br>
<br>
safe_asterisk used to do this very nicely but it has been
eliminated.<br>
and you only use the asterisk service script under systemd.<br>
<br>
yes the version of the asterisk service script i have here from the<br>
dial build from about 4 to 5 weeks ago the<br>
service asterisk restart does not work.<br>
<br>
it force's me to use service asterisk stop to remove the <br>
asterisk.ctl file from the /var/run and the <br>
the service asterisk start will then work allowing asterisk <br>
to be restarted proprely.<br>
<br>
I also have a node setup for remote base mode using an<br>
ic-706mkiig and sometimes that will cause a crash with it. <br>
when asterisk is accessed via an allmon2 dashboard.<br>
<br>
I have had to take the remote base node off of the<br>
allmon2 page to stop this crashing.<br>
<br>
it will do it every time too. <br>
that is something with the old remote base code<br>
with in app_rpt.c too which has never been fixed.<br>
<br>
this is why the asterisk auto restart on crash would be very nice<br>
<br>
where can i find a new or updated asterisk service script.<br>
<br>
can i get it from the rpi2 dial image and put in the <br>
dial x86 build with out having to re-install<br>
dial x86 image?<br>
<br>
otherwise for the most part asterisk under dial has been<br>
fairly stable. but i can make it crash under certain conditions<br>
which i try to avoid. like using allmon2 to access<br>
the remote base node via the asterisk manager<br>
interface.<br>
<br>
ken n1dot<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/12/2015 1:01 PM, Steve Zingman
wrote:<br>
</div>
<blockquote cite="mid:566C6110.8070506@msgstor.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Ken,<br>
As I posted below I could not recreate your issue. is there
anything I'm missing?<br>
<br>
73, Steve<br>
<br>
root@repeater:~# asterisk -r<br>
Asterisk 1519, Copyright (C) 1999 - 2008 Digium, Inc. and others.<br>
Created by Mark Spencer <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="mailto:markster@digium.com"><markster@digium.com></a><br>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show
warranty' for details.<br>
This is free software, with components licensed under the GNU
General Public<br>
License version 2 and other licenses; you are welcome to
redistribute it under<br>
certain conditions. Type 'core show license' for details.<br>
=========================================================================<br>
Connected to Asterisk 1519 currently running on repeater (pid =
4407)<br>
repeater*CLI> rpt cmd 2150 cop 1 2150<br>
repeater*CLI> Killed<br>
<br>
root@repeater:~# service asterisk restart<br>
root@repeater:~# asterisk -r<br>
Asterisk 1519, Copyright (C) 1999 - 2008 Digium, Inc. and others.<br>
Created by Mark Spencer <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="mailto:markster@digium.com"><markster@digium.com></a><br>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show
warranty' for details.<br>
This is free software, with components licensed under the GNU
General Public<br>
License version 2 and other licenses; you are welcome to
redistribute it under<br>
certain conditions. Type 'core show license' for details.<br>
=========================================================================<br>
Connected to Asterisk 1519 currently running on repeater (pid =
4462)<br>
repeater*CLI> <br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/12/2015 11:50 AM, Kenneth
Grimard wrote:<br>
</div>
<blockquote cite="mid:566C5063.6060906@gmail.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
I download the dial release and installed it just after is first
came out<br>
that was about 4 weeks ago.<br>
<br>
now if asterisk crash for any reason or if you use the cop,1 cop
command<br>
it will not restart is self at all. you have to go into an ssh
shell and issue a<br>
service asterisk stop then a service asterisk start.<br>
<br>
the service asterisk restart does not work for me on the x86
release.<br>
<br>
there seems to be no way for asterisk to restart itself after a
crash<br>
or after using the cop,1 cop command.<br>
<br>
has there been any updates to the asterisk service command<br>
for systemd to fix this?<br>
<br>
ken n1dot<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/12/2015 7:16 AM, Steve
Zingman wrote:<br>
</div>
<blockquote cite="mid:566C1038.2050203@msgstor.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Neil,<br>
I misread your message last night.<br>
I just tested service asterisk restart on DIAL x86 restarts a
dead asterisk. See below.<br>
<br>
<tt><a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:root@repeater:/etc/init.d#">root@repeater:/etc/init.d#</a>
ps ax | grep asterisk<br>
1081 ? Ssl 0:01 /usr/sbin/asterisk<br>
1117 pts/0 S+ 0:00 grep asterisk<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:root@repeater:/etc/init.d#">root@repeater:/etc/init.d#</a>
kill -9 1081<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:root@repeater:/etc/init.d#">root@repeater:/etc/init.d#</a>
ps ax | grep asterisk<br>
1125 pts/0 S+ 0:00 grep asterisk<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:root@repeater:/etc/init.d#">root@repeater:/etc/init.d#</a>
asterisk -r<br>
Asterisk 1519, Copyright (C) 1999 - 2008 Digium, Inc. and
others.<br>
Created by Mark Spencer <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:markster@digium.com"><markster@digium.com></a><br>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show
warranty' for details.<br>
This is free software, with components licensed under the
GNU General Public<br>
License version 2 and other licenses; you are welcome to
redistribute it under<br>
certain conditions. Type 'core show license' for details.<br>
=========================================================================<br>
Unable to connect to remote asterisk (does
/var/run/asterisk.ctl exist?)<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:root@repeater:/etc/init.d#">root@repeater:/etc/init.d#</a>
service asterisk restart<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:root@repeater:/etc/init.d#">root@repeater:/etc/init.d#</a>
ps ax | grep asterisk<br>
1143 ? Ssl 0:00 /usr/sbin/asterisk<br>
1171 pts/0 S+ 0:00 grep asterisk<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:root@repeater:/etc/init.d#">root@repeater:/etc/init.d#</a>
asterisk -r<br>
Asterisk 1519, Copyright (C) 1999 - 2008 Digium, Inc. and
others.<br>
Created by Mark Spencer <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:markster@digium.com"><markster@digium.com></a><br>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show
warranty' for details.<br>
This is free software, with components licensed under the
GNU General Public<br>
License version 2 and other licenses; you are welcome to
redistribute it under<br>
certain conditions. Type 'core show license' for details.<br>
=========================================================================<br>
Connected to Asterisk 1519 currently running on repeater
(pid = 1143)<br>
repeater*CLI> <br>
</tt><br>
73, Steve N4IRS<br>
<br>
<div class="moz-cite-prefix">On 12/12/2015 12:44 AM, Neil k8it
wrote:<br>
</div>
<blockquote
cite="mid:A69030AAA47946BFA0454E803BB6A5E1@NSLAPTOP"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 11.00.10240.16603">
<div><font face="Calibri">Steve</font></div>
<div> </div>
<div><font face="Calibri">I have been evaluating Dial on a
Linux PC</font></div>
<div><font face="Calibri">Observations</font></div>
<div><font face="Calibri">1. When asterisk crashes, there is
no restart or watchdog</font></div>
<div> </div>
<div><font face="Calibri">2.this makes debugging very
difficult</font></div>
<div><font face="Calibri">3.asterisk service mode restart
does not seem to work</font></div>
<div><font face="Calibri">4. in this mode remote SSH to
restart is not possible</font></div>
<div><font face="Calibri">Do you have any fixes planned?</font></div>
<div> </div>
<div> </div>
<div><font face="Calibri">Thanks<br>
73 Neil Sablatzky K8IT<br>
Allstar Node 41838 KITLINK<br>
Allstar Node 42087 KITLINK HUB<br>
IRLP Node exp0068<br>
Echolink K8IT-L<br>
WIRES-X K8IT 11479 Room 21479</font></div>
<div style="FONT: 10pt Tahoma">
<div> </div>
</div>
<blockquote
cite="mid:BLU437-SMTP107EE3A67042D36A958E0F6ED0B0@phx.gbl"
type="cite">
<blockquote cite="mid:562A4631.4090401@msgstor.com"
type="cite">
<blockquote
cite="mid:CAG3ht9uY0fQAwLzPAgWW23anNsMLo2jNRwr=4Eaozcvaujq-rg@mail.gmail.com"
type="cite">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px
solid; MARGIN: 0px 0px 0px 0.8ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div class="h5">
<blockquote type="cite">
<blockquote type="cite">
<div>
<blockquote type="cite">
<fieldset></fieldset>
<br>
<pre>_______________________________________________
.</pre>
</blockquote>
</div>
</blockquote>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
"Anything is possible if you don't know what you are talking about."
1st Law of Logic</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
App_rpt-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a>
To unsubscribe from this list please visit <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> 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. </pre>
</blockquote>
<br>
<table style="border-top: 1px solid #aaabb6; margin-top: 10px;">
<tbody>
<tr>
<td style="width: 105px; padding-top: 15px;"> <a
moz-do-not-send="true"
href="https://www.avast.com/?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank"><img moz-do-not-send="true"
src="https://ipmcdn.avast.com/images/logo-avast-v1.png"
style="width: 90px; height:33px;"></a> </td>
<td style="width: 470px; padding-top: 20px; color:
#41424e; font-size: 13px; font-family: Arial, Helvetica,
sans-serif; line-height: 18px;">This email has been sent
from a virus-free computer protected by Avast. <br>
<a moz-do-not-send="true"
href="https://www.avast.com/?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank" style="color: #4453ea;">www.avast.com</a>
</td>
</tr>
</tbody>
</table>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
App_rpt-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a>
To unsubscribe from this list please visit <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> 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. </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
"Anything is possible if you don't know what you are talking about."
1st Law of Logic</pre>
</blockquote>
<br>
<table style="border-top: 1px solid #aaabb6; margin-top: 10px;">
<tr>
<td style="width: 105px; padding-top: 15px;">
<a href="https://www.avast.com/?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/logo-avast-v1.png" style="width: 90px; height:33px;"/></a>
</td>
<td style="width: 470px; padding-top: 20px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">This email has been sent from a virus-free computer protected by Avast. <br /><a href="https://www.avast.com/?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a>
</td>
</tr>
</table>
</body>
</html>