I have a APC UPS hooked up to a computer running Unbuntu 20.04.3. I am trying to test the UPS to make sure it works properly but when I run the commands apctest
and apcupsd
, I get the below returns. Do I need to make some sort of update or was it configured improperly?
apctest
Return
Could not create apctest.output: Permission denied
2021-11-07 17:22:40 Could not create apctest.output: Permission denied
apctest 3.14.14 (31 May 2016) debian
Could not create apctest.output: Permission denied
Checking configuration ...
Could not create apctest.output: Permission denied
: Warning: old configuration file found.
: Expected: "## apcupsd.conf v1.1 ##"
: Found: "
"
: Please check new file format and
: modify accordingly the first line
: of config file.
: Processing config file anyway.
sharenet.type = Network & ShareUPS Disabled
Could not create apctest.output: Permission denied
cable.type = USB Cable
Could not create apctest.output: Permission denied
mode.type = USB UPS Driver
Could not create apctest.output: Permission denied
apctest FATAL ERROR in apctest.c at line 311
Unable to create UPS lock file.
If apcupsd or apctest is already running,
please stop it and run this program again.
Could not create apctest.output: Permission denied
apctest error termination completed
Could not create apctest.output: Permission denied
apcupsd
Return
apcupsd: Warning: old configuration file found.
apcupsd: Expected: "## apcupsd.conf v1.1 ##"
apcupsd: Found: "
"
apcupsd: Please check new file format and
apcupsd: modify accordingly the first line
apcupsd: of config file.
apcupsd: Processing config file anyway.