apcupsd used to work under 12.3, but not any more. I've looked at the recent threads regarding this and none of them address my issue. The version of apcupsd I'm running is 3.14.10 (13 September 2011) suse.
My UPS is an APC Back-UPS BX1500, attached via USB, as shown in KInfoCenter. I have set /etc/apcupsd/apcupsd.conf (changes are bold) to use the following settings:
When I start apcupsd with the YaST Services Manager I see the following:
When I run gapcupsd the Active Monitors tab has no entries.
YaST says apcupsd is reporting "Cannot open UPS port : No such file or directory"; does that mean it cannot find the USB device?
My UPS is an APC Back-UPS BX1500, attached via USB, as shown in KInfoCenter. I have set /etc/apcupsd/apcupsd.conf (changes are bold) to use the following settings:
Code:
UPSCABLE usb
UPSTYPE usb
UPSCLASS standalone
UPSMODE disable
DEVICE
NOLOGON disable
NETSERVER on
LOGSTATS off
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
EVENTSFILE /var/log/apcupsd.events
STATFILE /var/log/apcupsd.status
NISPORT 3551
NISIP 0.0.0.0
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
KILLDELAY 0
EVENTSFILEMAX 10
STATTIME 0
DATATIME 0
Code:
apcupsd.service - APC UPS Power Control Daemon for Linux
Loaded: loaded (/usr/lib/systemd/system/apcupsd.service; enabled)
Active: failed (Result: exit-code) since Fri 2014-08-08 11:09:35 CDT; 2h 31min ago
Process: 7997 ExecStart=/usr/sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf (code=exited, status=1/FAILURE)
Process: 7994 ExecStartPre=/bin/rm -f /etc/apcupsd/powerfail (code=exited, status=0/SUCCESS)
Main PID: 7997 (code=exited, status=1/FAILURE)
CGroup: /system.slice/apcupsd.service
Aug 08 11:09:35 pinto systemd[1]: Started APC UPS Power Control Daemon for Linux.
Aug 08 11:09:35 pinto apcupsd[7997]: apcupsd FATAL ERROR in smartsetup.c at line 70
Aug 08 11:09:35 pinto apcupsd[7997]: Cannot open UPS port : No such file or directory
Aug 08 11:09:35 pinto apcupsd[7997]: apcupsd FATAL ERROR in smartsetup.c at line 70
Cannot open UPS port : No such file or directory
Aug 08 11:09:35 pinto apcupsd[7997]: apcupsd error shutdown completed
Aug 08 11:09:35 pinto systemd[1]: apcupsd.service: main process exited, code=exited, status=1/FAILURE
Aug 08 11:09:35 pinto systemd[1]: Unit apcupsd.service entered failed state.
Aug 08 13:34:41 pinto systemd[1]: Stopped APC UPS Power Control Daemon for Linux.
Aug 08 13:38:20 pinto systemd[1]: Stopped APC UPS Power Control Daemon for Linux.
Aug 08 13:40:35 pinto systemd[1]: Stopped APC UPS Power Control Daemon for Linux.
YaST says apcupsd is reporting "Cannot open UPS port : No such file or directory"; does that mean it cannot find the USB device?