<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" color="#000000" face="Tahoma,sans-serif">Ron,<br><br> We do NOT support portal config. If you have mixed files with other distros that might be the problem. That is something you should not do. Other than that I have no answer. There is no "allstarlink" reference in any of the source code and nothing has been changed in the pbx_config.c file. I have never seen this nor has it reported before.<br><br>If you are using totally stock RPi2 V1.0 code and seeing this perhaps you have a bad SD card load.<br><br>There also is no /var/log/messages in our distro. I think you mean /var/log/asterisk/messages? <br id="FontBreak"></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div>> To: arm-allstar@hamvoip.org<br>> Date: Sun, 6 Mar 2016 21:28:06 -0700<br>> Subject: Re: [arm-allstar] /var/log/messages WARNINGS<br>> From: arm-allstar@hamvoip.org<br>> CC: ron@morell.us<br>> <br>> Doug,<br>> Yes it is the version from hamvoip.org, RPi2_V1.0_Allstar.img. I<br>> downloaded the file from<br>> "https://config.allstarlink.org/config/start.sh" just to see what the<br>> warning was referring to. I posted the contents of that file to help to<br>> sort out why AllStar is trying to get it. So if pbx_config.c is not<br>> altered by you then the missing parenthesis is a mystery. I did not see<br>> in pbx_config.c where it would ask for the file to be downloaded, so<br>> perhaps one of the libraries pbx_config.c lists in the headers makes the<br>> download and write request, or perhaps pbx_config.c does the error<br>> checking that discovers the problem code and logs it to messages. <br>> <br>> I take it you looked in your /var/log/messages and don't have this<br>> particular warning?<br>> Ron Morell<br>> KA7U<br>> <br>> <br>> <br>> -------- Original Message --------<br>> Subject: Re: [arm-allstar] /var/log/messages WARNINGS<br>> From: Doug Crompton via arm-allstar <arm-allstar@hamvoip.org><br>> Date: Sun, March 06, 2016 8:20 pm<br>> To: ARM Allstar <arm-allstar@hamvoip.org><br>> Cc: Doug Crompton <doug@crompton.com><br>> <br>> Are you talking about the hamvoip.org distribution? We do NO do any<br>> portal configuration. pbx_config.c is not altered by us and does not<br>> appear to contain the code you mentioned? <br>> <br>> 73 Doug<br>> WA3DSP<br>> http://www.crompton.com/hamradio<br>> <br>> <br>> > To: arm-allstar@hamvoip.org<br>> > Date: Sun, 6 Mar 2016 17:18:03 -0700<br>> > Subject: [arm-allstar] /var/log/messages WARNINGS<br>> > From: arm-allstar@hamvoip.org<br>> > CC: ron@morell.us<br>> > <br>> > Looking at the messages log today and noticed several things but two<br>> > caught my eye as interesting.<br>> > <br>> > [Mar 3 20:04:37] WARNING[240] pbx_config.c: No closing parenthesis<br>> > found? 'System(rm -rf /tmp/allstar-config\; mkdir -p<br>> > /tmp/allstar-config\;curl -sk -m 20 --retry 1<br>> > https://config.allstarlink.org/config/start.sh ><br>> > /tmp/allstar-config/start.sh'<br>> > <br>> > [Mar 3 20:04:37] WARNING[240] pbx_config.c: No closing parenthesis<br>> > found? 'System(rm -rf /tmp/allstar-config\; mkdir -p<br>> > /tmp/allstar-config\;curl -sk -m 20 --retry 1<br>> > https://config.allstarlink.org/config/start.sh ><br>> > /tmp/allstar-config/start.'<br>> > <br>> > Easy enough to see that there isn't a closing parenthesis, but not as<br>> > easy to find out why. I downloaded the file start.sh<br>> > <br>> > #! /bin/bash<br>> > <br>> > LOGFILE=/var/log/allstar-config.log<br>> > TMPDIR=/tmp/allstar-config<br>> > <br>> > mkdir -p $TMPDIR > /dev/null 2>&1<br>> > rm -f $TMPDIR/auto-config.sh > /dev/null 2>&1<br>> > <br>> > curl -sk -m 15 --retry 1<br>> > https://config.allstarlink.org/config/auto-config.sh ><br>> > $TMPDIR/auto-config.sh<br>> > if [ $? -ne 0 ]<br>> > then<br>> > touch $LOGFILE<br>> > echo `date`" config: unable to download portal config script" >><br>> > $LOGFILE<br>> > rm -rf $TMPDIR > /dev/null 2>&1<br>> > exit<br>> > fi<br>> > <br>> > bash $TMPDIR/auto-config.sh $1<br>> > if [ $? -ne 0 ]<br>> > then<br>> > touch $LOGFILE<br>> > echo `date`" config: unable to download and implement portal config" >><br>> > $LOGFILE<br>> > rm -rf $TMPDIR > /dev/null 2>&1<br>> > exit<br>> > fi<br>> > <br>> > touch $LOGFILE<br>> > echo `date`" config: portal config downloaded and implemented and<br>> > Asterisk restarted" >> $LOGFILE<br>> > rm -rf $TMPDIR > /dev/null 2>&1<br>> > exit<br>> > <br>> > So what??? I just would like to know what this is for and if it should<br>> > be a process in use. It looks like it could be used as an agent for<br>> > change, better or worse.<br>> > Ron Morell<br>> > KA7U<br>> > <br>> > <br>> > _______________________________________________<br>> > <br>> > arm-allstar mailing list<br>> > arm-allstar@hamvoip.org<br>> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar<br>> > <br>> > Visit the BBB and RPi2 web page - http://hamvoip.org<br>> > <br>> <br>> <br>> _______________________________________________<br>> <br>> arm-allstar mailing list<br>> arm-allstar@hamvoip.org<br>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar<br>> <br>> Visit the BBB and RPi2 web page - http://hamvoip.org<br>> _______________________________________________<br>> <br>> arm-allstar mailing list<br>> arm-allstar@hamvoip.org<br>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar<br>> <br>> Visit the BBB and RPi2 web page - http://hamvoip.org<br>> <br></div> </div></body>
</html>