[SOLVED] APCUPSD won't start after updating to OPNsense 24.7.2

Started by RamSense, August 21, 2024, 06:26:57 PM

Previous topic - Next topic
Hi, I have just updated my applience to OPNsense 24.7.2 and noticed the red square / not running of APCUPSD. pressing the start or doing start in the plugin menu using - Enabled check, does not help.

in the log I see this error:

Quote2024-08-21T18:22:47   Error   apcupsd   apcupsd error shutdown completed   
2024-08-21T18:22:47   Error   apcupsd   Lock file data error:   
           please stop it and run this program again.   
           If apcupsd or apctest is already running,   
           Unable to create UPS lock file.   
2024-08-21T18:22:47   Error   apcupsd   apcupsd FATAL ERROR in apcupsd.c at line 221   
2024-08-21T18:22:47   Error   apcupsd   Lock file data error: 

Others having this issue also?

delete /var/spool/lock or the contents and subdirs of said folder, i forget which one it was and restart service, thats what ive done when getting lock errors and it works.  I updated to 24.7.2 and my APCUPSD is working normally

Thanks for the fast reply. I just removed the file and restarted APCUPSD and it works like a charm!
Thanks for that.