apcupsd LCK.. file

Started by ohioyj, March 20, 2026, 09:35:32 PM

Previous topic - Next topic
Unfortunately I'm not sure at what point this started, but at some point apcupsd stopped functioning properly. I believe it to be relatively recently. It works perfectly fine, but at some point I end up with a "LCK.." file in /var/spool/lock. If I delete this file I can restart the apcupsd and everything functions normally again.

Is this a known issue, or is there something I can do to prevent this?

I'm running:
OPNsense 26.1.4-amd64
FreeBSD 14.3-RELEASE-p9
OpenSSL 3.0.19

Can you add a plugin ticket on GitHub?

https://github.com/opnsense/plugins/issues/new?template=bug_report.md


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

Quote from: franco on March 23, 2026, 02:01:05 PMCan you add a plugin ticket on GitHub?

Will do, thank you for the link. I'll wait for it to do it again, and see about getting a log. It was doing it regularly. Perhaps it's fixed (fingers crossed)

IMO it just needs a lock delete on restart. PPP is doing something similar in core.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT