[arm-allstar] /var/log/messages WARNINGS

ron at morell.us ron at morell.us
Mon Mar 7 02:12:36 EST 2016


Doug,
You are a patient man that knows the software. I did use an ACID
extensions.conf file from a previous setup to avoid typing. When the
dial plan loads so do the problem stanzas. Everything seems to work as
it should in my system, but to quiet the /var/log/asterisk/messages log,
I think I'll get another card and reconfigure to stock and then add in
the needed extensions without bringing in the useless stuff. 

So the problem "wget" lines came from ACID stock extensions.conf. Thank
you and know I appreciate all you do!
Ron Morell
KA7U


-------- Original Message --------
Subject: Re: [arm-allstar] /var/log/messages WARNINGS
From: Doug Crompton via arm-allstar <arm-allstar at hamvoip.org>
Date: Sun, March 06, 2016 11:24 pm
To: ARM Allstar <arm-allstar at hamvoip.org>
Cc: Doug Crompton <doug at crompton.com>

 Ron,

 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.

If you are using totally stock RPi2 V1.0 code and seeing this perhaps
you have a bad SD card load.

There also is no /var/log/messages in our distro. I think you mean
/var/log/asterisk/messages? 

73 Doug
WA3DSP
http://www.crompton.com/hamradio


> To: arm-allstar at hamvoip.org
> Date: Sun, 6 Mar 2016 21:28:06 -0700
> Subject: Re: [arm-allstar] /var/log/messages WARNINGS
> From: arm-allstar at hamvoip.org
> CC: ron at morell.us
> 
> Doug,
> Yes it is the version from hamvoip.org, RPi2_V1.0_Allstar.img. I
> downloaded the file from
> "https://config.allstarlink.org/config/start.sh" just to see what the
> warning was referring to. I posted the contents of that file to help to
> sort out why AllStar is trying to get it. So if pbx_config.c is not
> altered by you then the missing parenthesis is a mystery. I did not see
> in pbx_config.c where it would ask for the file to be downloaded, so
> perhaps one of the libraries pbx_config.c lists in the headers makes the
> download and write request, or perhaps pbx_config.c does the error
> checking that discovers the problem code and logs it to messages. 
> 
> I take it you looked in your /var/log/messages and don't have this
> particular warning?
> Ron Morell
> KA7U
> 
> 
> 
> -------- Original Message --------
> Subject: Re: [arm-allstar] /var/log/messages WARNINGS
> From: Doug Crompton via arm-allstar <arm-allstar at hamvoip.org>
> Date: Sun, March 06, 2016 8:20 pm
> To: ARM Allstar <arm-allstar at hamvoip.org>
> Cc: Doug Crompton <doug at crompton.com>
> 
> Are you talking about the hamvoip.org distribution? We do NO do any
> portal configuration. pbx_config.c is not altered by us and does not
> appear to contain the code you mentioned? 
> 
> 73 Doug
> WA3DSP
> http://www.crompton.com/hamradio
> 
> 
> > To: arm-allstar at hamvoip.org
> > Date: Sun, 6 Mar 2016 17:18:03 -0700
> > Subject: [arm-allstar] /var/log/messages WARNINGS
> > From: arm-allstar at hamvoip.org
> > CC: ron at morell.us
> > 
> > Looking at the messages log today and noticed several things but two
> > caught my eye as interesting.
> > 
> > [Mar 3 20:04:37] WARNING[240] pbx_config.c: No closing parenthesis
> > found? 'System(rm -rf /tmp/allstar-config\; mkdir -p
> > /tmp/allstar-config\;curl -sk -m 20 --retry 1
> > https://config.allstarlink.org/config/start.sh >
> > /tmp/allstar-config/start.sh'
> > 
> > [Mar 3 20:04:37] WARNING[240] pbx_config.c: No closing parenthesis
> > found? 'System(rm -rf /tmp/allstar-config\; mkdir -p
> > /tmp/allstar-config\;curl -sk -m 20 --retry 1
> > https://config.allstarlink.org/config/start.sh >
> > /tmp/allstar-config/start.'
> > 
> > Easy enough to see that there isn't a closing parenthesis, but not as
> > easy to find out why. I downloaded the file start.sh
> > 
> > #! /bin/bash
> > 
> > LOGFILE=/var/log/allstar-config.log
> > TMPDIR=/tmp/allstar-config
> > 
> > mkdir -p $TMPDIR > /dev/null 2>&1
> > rm -f $TMPDIR/auto-config.sh > /dev/null 2>&1
> > 
> > curl -sk -m 15 --retry 1
> > https://config.allstarlink.org/config/auto-config.sh >
> > $TMPDIR/auto-config.sh
> > if [ $? -ne 0 ]
> > then
> > touch $LOGFILE
> > echo `date`" config: unable to download portal config script" >>
> > $LOGFILE
> > rm -rf $TMPDIR > /dev/null 2>&1
> > exit
> > fi
> > 
> > bash $TMPDIR/auto-config.sh $1
> > if [ $? -ne 0 ]
> > then
> > touch $LOGFILE
> > echo `date`" config: unable to download and implement portal config" >>
> > $LOGFILE
> > rm -rf $TMPDIR > /dev/null 2>&1
> > exit
> > fi
> > 
> > touch $LOGFILE
> > echo `date`" config: portal config downloaded and implemented and
> > Asterisk restarted" >> $LOGFILE
> > rm -rf $TMPDIR > /dev/null 2>&1
> > exit
> > 
> > So what??? I just would like to know what this is for and if it should
> > be a process in use. It looks like it could be used as an agent for
> > change, better or worse.
> > Ron Morell
> > KA7U
> > 
> > 
> > _______________________________________________
> > 
> > arm-allstar mailing list
> > arm-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> > 
> > Visit the BBB and RPi2 web page - http://hamvoip.org
> > 
> 
> 
> _______________________________________________
> 
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> Visit the BBB and RPi2 web page - http://hamvoip.org
> _______________________________________________
> 
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> Visit the BBB and RPi2 web page - http://hamvoip.org
> 


_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2 web page - http://hamvoip.org


More information about the arm-allstar mailing list