[arm-allstar] system powering down

David McGough kb4fxc at inttek.net
Sat Nov 25 06:10:42 EST 2023


Rick,

There is a script running on HamVoIP called the "shutdown monitor." This 
script looks at some RPi GPIO pins and if asserted will shutdown the 
system, giving the announcement you're indicating.  I've never had this 
script trigger inadvertently, however that would seem to be what you're 
seeing.  Are you using RPi GPIO pins? OR, is the RPi in a very hostile 
environment (e.g.: hot with RF at a broadcast site?)??

To disable this script, edit the /usr/local/etc/allstar.env file and on 
about line 41 you'll see:

export SHUTDOWN_MONITOR="enabled"

....change this to:

export SHUTDOWN_MONITOR="disabled"

....and save the file.  Then, look for the running shutdown monitor and 
kill it. This will keep you from having to reboot:

[root at RPi-Z2W etc]# ps axw | grep shutdown
  506 ?        S      0:00 /bin/bash /usr/local/sbin/shutdown_monitor.sh
 9452 pts/0    S+     0:00 grep shutdown
[root at RPi-Z2W etc]# kill 506
[root at RPi-Z2W etc]# ps axw | grep shutdown
 9454 pts/0    S+     0:00 grep shutdown


....This problem should be resolved.  Note that by editing the allstar.env 
file, this script won't get launched again, when the system is 
booted/rebooted.....Again, I'm curious how the GPIO pin could be 
inadvertently asserted?? ...I've never heard of this before?

73, David K4FXC

On Fri, 24 Nov 2023, Rick Dykstra via ARM-allstar wrote:

> I've had a couple times now when the Raspberry Pi 3B controller 
announces "they system is ??????? and is powering down, goodbye".

I'm not sure what it is saying for ??????, almost sounds like 
"waffling".  Anyone know the cause?

thanks,

Rick - KR8T

_______________________________________________

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