[Nut-upsuser] apcsmart constant "read failure" errors

Chris Cameron
Thu, 21 Sep 2006 18:13:59 -0000

I get the following errors constantly in my messages log:

Sep 21 11:53:37 cgydc002 upsd[22659]: Connection from 127.0.0.1
Sep 21 11:53:37 cgydc002 upsd[22659]: Host 127.0.0.1 disconnected (read
failure)
Sep 21 11:53:37 cgydc002 upsd[22659]: Connection from 127.0.0.1
Sep 21 11:53:37 cgydc002 upsd[22659]: Host 127.0.0.1 disconnected (read
failure)
Sep 21 11:53:37 cgydc002 upsd[22659]: Connection from 127.0.0.1
Sep 21 11:53:37 cgydc002 upsd[22659]: Host 127.0.0.1 disconnected (read
failure)
Sep 21 11:53:37 cgydc002 upsd[22659]: Connection from 127.0.0.1
Sep 21 11:53:37 cgydc002 upsd[22659]: Host 127.0.0.1 disconnected (read
failure)
Sep 21 11:53:37 cgydc002 upsd[22659]: Connection from 127.0.0.1
Sep 21 11:53:37 cgydc002 upsd[22659]: Host 127.0.0.1 disconnected (read
failure)


I've upgraded to the latest stable NUT, but the problem persists. With
upsd debugging on I get:

[root@cgydc002 sbin]# ./upsd -u nut -DDD -f
Network UPS Tools upsd 2.0.4
/var/state/ups is world readable
Connected to UPS [SmartUPS1400]: apcsmart-ttyS1
Synchronizing...UPS [SmartUPS1400]: dump is done
done
acl_check: localhost: match 1
ACL [localhost] matches, action=1
Connection from 127.0.0.1
acl_check: localhost: match 1
ACL [localhost] matches, action=1
write: [destfd=6] [len=33] [VAR SmartUPS1400 ups.status "OL"
]
Host 127.0.0.1 disconnected (read failure)
acl_check: localhost: match 1
ACL [localhost] matches, action=1
Connection from 127.0.0.1
acl_check: localhost: match 1
ACL [localhost] matches, action=1
write: [destfd=6] [len=39] [VAR SmartUPS1400 input.voltage "117.0"
]



Anyone know what I can do to get this thing to quit complaining?

Thanks,
Chris