[arm-allstar] Zillions of warnings flooding journalctl

David McGough kb4fxc at inttek.net
Tue Nov 6 13:25:55 EST 2018


Hi Roger & Mike,

I'm not sure why these messages are being generated. There is a test in 
the script to validate the resource variable used in lines 71 and 72.

I'm suspecting some type of unexpected failure retrieving data from the 
webserver.

We'll try to duplicate this error condition and improve the script.

For now, turning off all php error reporting for this script might help. 
This could be done by placing a statement like:

error_reporting(0);

...near the top of the file.


73, David KB4FXC



On Tue, 6 Nov 2018, "Mike Besemer - WM4B via ARM-allstar" wrote:

> Private node?  I'm seeing the exact same thing and it takes my CPU 
utilization through the roof as well as the CPU temperature.

I thought maybe it was looking for astdb.txt, so I copied that file from 
one of my other nodes, but that didnt' help either.

Love to know what's going on.

Mike
WM4B


On Tue, Nov 6, 2018 at 11:01 AM, "=?UTF-8?Q?Roger_Coud=C3=A9?= via 
ARM-allstar" wrote:

> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Notice:  Undefined 
> variable: fh in /usr/local/sbin/astdb.php on line 72
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Warning:  fread() expects 
> parameter 1 to be resource, null given in /usr/local/sbin/astdb.php on 
> line 72
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Notice:  Undefined 
> variable: fh in /usr/local/sbin/astdb.php on line 71
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Warning:  feof() expects 
> parameter 1 to be resource, null given in /usr/local/sbin/astdb.php on 
> line 71
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Notice:  Undefined 
> variable: fh in /usr/local/sbin/astdb.php on line 72
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Warning:  fread() expects 
> parameter 1 to be resource, null given in /usr/local/sbin/astdb.php on 
> line 72
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Notice:  Undefined 
> variable: fh in /usr/local/sbin/astdb.php on line 71
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Warning:  feof() expects 
> parameter 1 to be resource, null given in /usr/local/sbin/astdb.php on 
> line 71
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Notice:  Undefined 
> variable: fh in /usr/local/sbin/astdb.php on line 72
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Warning:  fread() expects 
> parameter 1 to be resource, null given in /usr/local/sbin/astdb.php on 
> line 72
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Notice:  Undefined 
> variable: fh in /usr/local/sbin/astdb.php on line 71
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Warning:  feof() expects 
> parameter 1 to be resource, null given in /usr/local/sbin/astdb.php on 
> line 71
> Nov 06 10:58:36 ve2om-1 rc.local[286]: PHP Notice:  Undefined 
> variable: fh in /usr/local/sbin/astdb.php on line 72
>
> What can I do??73Roger
> _______________________________________________
>
> 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
_______________________________________________

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