I am trying to install nutups on a machine for the UPS, I think I have configured everything correctly but when I attempt to run it I get this:
and then if I tail /var/log/messages, I see this:
My ups.conf is as follows:
My upsd.conf:
If anyone can see anything wrong with that, please let me know. Sorry about the heinous amount of info but I really need to sort this out.
Code:
mail:~ # /etc/init.d/upsd start
Starting NUT UPS drivers skipped
Starting NUT UPS server done
Starting NUT UPS monitor done
(shortly after)
Broadcast Message from upsd@mail
(somewhere) at 11:07 ...
UPS myups@localhost is unavailable
and then if I tail /var/log/messages, I see this:
Code:
Feb 7 10:59:28 mail upsmon[9416]: Poll UPS [myups@localhost] failed - Write error: Bad file descriptor
Feb 7 10:59:33 mail upsd[9412]: Rejecting TCP connection from 192.168.0.1
Feb 7 10:59:33 mail upsmon[9416]: Set username on [myups@localhost] failed: Server disconnected
My ups.conf is as follows:
Code:
[myups]
# driver = mge-utalk
driver = newmge-shut
# driver = mge-shut
port = /dev/ttyS3
desc = "Local UPS"
My upsd.conf:
Code:
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
ACCEPT all
LISTEN 0.0.0.0 3493
If anyone can see anything wrong with that, please let me know. Sorry about the heinous amount of info but I really need to sort this out.