Apcupsd Cannot create /var/spool/lock/LCK.. serial port lock file: ERR=No such
nzkiwi68 last edited by
I'm running pfsense V2.1.1, nanobsd on an Alix PC and I have a modern APC 1000VA UPS with usb and serial.
I installed the available apcupsd package which is V3.14.10 (incidentally, I notice on http://www.apcupsd.org/ that V3.14.12 is the latest)
The apcupsd daemon will not start. The system log reports:
Cannot create /var/spool/lock/LCK serial port lock file: ERR=No such file or directory
After some mucking around, I discovered the /var/spool/ directory does not exist on the nanobsd and pfsense build.
As a work around, I have done this:
and changed the line:
However, after each reboot, my temporary changes are lost.
The package installer needs to be updated to V3.14.12
Alter the package to installer to check for the existence of the folder /var/spool/lock and if the folder doesn't exist, create it during the installation process
josh4trunks last edited by
I am also experiencing this. In my case I enabled RAM disks for /tmp and /var, this may be contributing to the missing folders.
dbaio last edited by
There is an update for fix this.
- fix lock file when using usb devices
- add lockfile option
Also, we are expecting the upgrade to 3.14.12 on FreeBSD ports, so we can update here on pfSense.