[arm-allstar] astdb missing...

Doug Crompton wa3dsp at gmail.com
Tue Jul 3 14:35:42 EST 2018


Sean,

There is nothing in the update that would have effected it.

It seems fine here. The astdb.txt file is downloaded once daily by a cron -
crontab -l

15 03 * * * cd /usr/local/sbin; ./astdb.php cron

at 3:15 AM staggered by a half hour after that. It is stored in
/var/log/asterisk/astdb.php

Here is my download from 3:15 this AM on an updated system -

 ls -ls /var/log/asterisk/astdb.txt
368 -rw-r--r-- 1 root root 374759 Jul  3 03:15 /var/log/asterisk/astdb.txt


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*




On Tue, Jul 3, 2018 at 12:01 PM, "Sean McCarthy via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Last night I somehow lost my astdb after a network crash and reboot, can't
> be sure why but it happened after the update to .34 Anyhow, I successfully
> ran the script manually and all was well. When the script ran last night,
> It failed and removed the file again. I ran it manually a few minutes ago
> and all is well again.
>
> Question, is this just a problem on the server end, or something amiss on
> my end.
>
> *I have seen this failure before, but it never removed the astdb file as
> far as I can tell*
>
> Log excerpt below:
>
> Jul 03 03:00:02 FBIARC_HUB crond[3024]: pam_unix(crond:session): session
> opened for user root by (uid=0)
>
> Jul 03 03:00:02 FBIARC_HUB CROND[3025]: (root) CMD ((source
> /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl
> /usr/local/sbin/saytime.pl $NODE1 > /dev/null))
>
> Jul 03 03:00:02 FBIARC_HUB CROND[3024]: pam_unix(crond:session): session
> closed for user root
>
> Jul 03 03:01:01 FBIARC_HUB CROND[3043]: (root) CMD (run-parts
> /etc/cron.hourly)
>
> Jul 03 03:01:01 FBIARC_HUB anacron[3048]: Anacron started on 2018-07-03
>
> Jul 03 03:01:01 FBIARC_HUB anacron[3048]: Will run job `cron.daily' in 40
> min.
>
> Jul 03 03:01:01 FBIARC_HUB anacron[3048]: Jobs will be executed
> sequentially
>
> Jul 03 03:15:01 FBIARC_HUB crond[3191]: pam_unix(crond:session): session
> opened for user root by (uid=0)
>
> Jul 03 03:15:01 FBIARC_HUB CROND[3192]: (root) CMD (cd /usr/local/sbin;
> ./astdb.php cron)
>
> Jul 03 03:15:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 16
> minutes...)
>
> Jul 03 03:16:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 15
> minutes...)
>
> Jul 03 03:17:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 14
> minutes...)
>
> Jul 03 03:18:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 13
> minutes...)
>
> Jul 03 03:19:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 12
> minutes...)
>
> Jul 03 03:20:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 11
> minutes...)
>
> Jul 03 03:21:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 10
> minutes...)
>
> Jul 03 03:22:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 9
> minutes...)
>
> Jul 03 03:23:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 8
> minutes...)
>
> Jul 03 03:24:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 7
> minutes...)
>
> Jul 03 03:25:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 6
> minutes...)
>
> Jul 03 03:26:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 5
> minutes...)
>
> Jul 03 03:27:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 4
> minutes...)
>
> Jul 03 03:28:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 3
> minutes...)
>
> Jul 03 03:29:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 2
> minutes...)
>
> Jul 03 03:30:01 FBIARC_HUB CROND[3191]: (root) CMDOUT (Waiting for 1
> minutes...)
>
> Jul 03 03:31:02 FBIARC_HUB CROND[3191]: pam_unix(crond:session): session
> closed for user root
>
> Jul 03 03:41:01 FBIARC_HUB anacron[3048]: Job `cron.daily' started
>
> Jul 03 03:41:01 FBIARC_HUB anacron[3048]: Job `cron.daily' terminated
>
> Jul 03 03:41:01 FBIARC_HUB anacron[3048]: Normal exit (1 job run)
> _______________________________________________
>
> 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 web page - http://hamvoip.org
>


More information about the arm-allstar mailing list