OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: ohioyj on March 20, 2026, 09:35:32 PM

Title: apcupsd LCK.. file
Post by: ohioyj on March 20, 2026, 09:35:32 PM
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
Title: Re: apcupsd LCK.. file
Post by: franco on March 23, 2026, 02:01:05 PM
Can you add a plugin ticket on GitHub?

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


Cheers,
Franco
Title: Re: apcupsd LCK.. file
Post by: ohioyj on March 23, 2026, 08:33:31 PM
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)
Title: Re: apcupsd LCK.. file
Post by: franco on March 24, 2026, 09:21:13 AM
IMO it just needs a lock delete on restart. PPP is doing something similar in core.


Cheers,
Franco