[arm-allstar] ARM-allstar Digest, Vol 70, Issue 6

Brad Trogdon Brad at trogdon.org
Mon Mar 2 15:22:34 EST 2020


My issue is not generating the ASTDB.txt file. It does just fine.  My issue
is  supermon is not using the file that is generated.

-Brad


> Message: 1
> Date: Mon, 2 Mar 2020 13:37:38 -0500
> From: Doug Crompton <wa3dsp at gmail.com>
> To: Chuck <bbb at nbcog.com>
> Cc: ARM Allstar <arm-allstar at hamvoip.org>
> Subject: Re: [arm-allstar] SuperMon Question
> Message-ID:
>         <
> CAMp6vssGBYGrqbRBqE9jjM81fppzf_qjMaQxcTD7swR4M3-Urw at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> Please don't change anything in the code like this. The new URL and the
> alternate URL are working just fine in the latest update.
>
> # astdb.php
> astdb.txt: 496465 bytes
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
> On Mon, Mar 2, 2020 at 1:27 PM Chuck <bbb at nbcog.com> wrote:
>
> > This may be a temporary issue but I did a work around to restore
> > functionality until the issue is resolved.
> >
> > In the /usr/local/sbin/astdb.php file I made the following edit. Edited
> or
> > added lines shown in red. unchanged lines shown in blue.
> >
> > // Open AllStar db URL
> > // was https://allstarlink.org/cgi-bin/allmondb.pl
> > // now is https://www.allstarlink.org/cgi-bin/allmondb.pl
> > $url = "https://www.allstarlink.org/cgi-bin/allmondb.pl";
> > while (true) {
> >
> > Maybe you could do better by adding a conditional that only tries the
> > alternate URL if the primary URL fails?
> > I think once all DNS caches clear, hopefully the problem will resolve
> > itself without this edit.
> > Chuck
> >
> >
> > On Mon, Mar 2, 2020 at 12:09 AM "Doug Crompton via ARM-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> >> Brad,
> >>
> >>   The /var/log/asterisk/astdb.txt path is defined in the astdb.php
> script
> >> in the /usr/local/sbin directory. It should not be changed. The latest
> >> update that went out tonight changes the URL for downloading but the old
> >> URL should continue to work for awhile. To test at the linux prompt do:
> >>
> >> # astdb.php
> >> astdb.txt: 496351 bytes
> >>
> >> # wc -l /var/log/asterisk/astdb.txt
> >> 14411 /var/log/asterisk/astdb.txt
> >>
> >> If it is successful as shown above it will return the number of bytes
> >> downloaded and the astdb.txt file will show all the nodes as of
> tonight's
> >> download 14411. If the Allstar astdb.txt. download is not working it
> >> should
> >> also revert to downloading from Hamvoip so it should always be working.
> >> Also keep in mind that this file because of its size is only downloaded
> >> once per day at about 3AM and also at boot. If you change something in
> >> your
> >> nodes description it will not show up until the next download time
> unless
> >> you execute it manually as above.
> >>
> >>
> >> *73 Doug*
> >>
> >> *WA3DSP*
> >>
> >> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
> >>
> >>
> >> On Mon, Mar 2, 2020 at 12:12 AM "Brad Trogdon via ARM-allstar" <
> >> arm-allstar at hamvoip.org> wrote:
> >>
> >> > I have been digging through archives and cannot find an answer to my
> >> > question.  I have numerous nodes and when I select Node Info the
> pop-up
> >> > presents but is empty.  I notice that the top line that reads... <File
> >> > shows no path>
> >> >
> >> > File:
> >> > -----------------------------------------------------------------
> >> >
> >> > Where on my other node it presents...
> >> >
> >> > File: /var/log/asterisk/astdb.txt
> >> > -----------------------------------------------------------------
> >> >
> >> > My question is, Where is this path set?
> >> >
> >> > Thanks in advance.
> >> >
> >> > -Brad
> >> > _______________________________________________
> >> >
> >> > ARM-allstar mailing list
> >> > ARM-allstar at hamvoip.org
> >> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >> >
> >> > Visit the BBB and RPi2/3/4 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/3/4 web page - http://hamvoip.org
> >


More information about the ARM-allstar mailing list