On 04/14/2019 04:05 PM, Darryl Gregorash wrote:
On 2019-04-14 01:35 PM, James Knott wrote:
I just installed apcupsd and have connected an APC BE600M1 600VA UPS. I installed the apcupsd package, along with apcupsd cgi & gui. According to Yast Services Manager, apcupsd has failed. What am I missing to get this to work? With a new installation, this is usually due to not configuring /etc/apcupsd/apcupsd.conf.
The BE600M1 is connects via a USB port so you need to make the following changes or additions in that file:
UPSCABLE usb
UPSTYPE usb
Also comment out or delete the DEVICETYPE line, which by default is set to /dev/ttyS0
Done that. When I run apctest, with apcupsd stopped and monitor stopped, I get: 2019-04-14 16:27:32 apctest 3.14.14 (31 May 2016) suse Checking configuration ... sharenet.type = Network & ShareUPS Disabled cable.type = Custom Cable Smart mode.type = APC Smart UPS (any) apctest FATAL ERROR in apctest.c at line 313 Unable to create UPS lock file. If apcupsd or apctest is already running, please stop it and run this program again. apctest error termination completed -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org