[Apcupsd-users] apctest FATAL ERROR in pcnet.c
Brought to you by:
adk0212
|
From: W F. W <wf...@gm...> - 2016-01-15 17:19:23
|
Hi, I try to get apcupsd working with my UPS over a network UPS Info Model: Smart-UPS RT 5000 XL SKU: SURTD5000XLI Serial Number: QS1425170404 Firmware Revision: 5.1 (ID5) My /etc/apcupsd/apcupsd.conf UPSNAME smartups UPSCABLE ether UPSTYPE pcnet DEVICE 192.168.1.1:<user>:<password> When I run apcaccess status on my server i get APC : 001,018,0457 DATE : 2016-01-15 17:19:49 +0100 HOSTNAME : server1 VERSION : 3.14.12 (29 March 2014) debian UPSNAME : smartups2 CABLE : Ethernet Link DRIVER : PCNET UPS Driver UPSMODE : Stand Alone STARTTIME: 2016-01-15 17:01:37 +0100 STATUS : COMMLOST MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A STATFLAG : 0x05000100 END APC : 2016-01-15 18:03:09 +0100 But when I try to test the connection with apctest 2016-01-15 18:04:30 apctest 3.14.12 (29 March 2014) debian Checking configuration ... sharenet.type = Network & ShareUPS Disabled cable.type = Ethernet Link mode.type = PCNET UPS Driver Setting up the port ... apctest FATAL ERROR in pcnet.c at line 663 Cannot bind socket (98) Username and Password should be correct. Any help on how to configure my server to chech the status of my UPS over a network Thanks!! |