PDA

View Full Version : help with ups nut!!


rickygm
8th August 2006, 18:16
I am trying to configure my ups APC BACK-UPS 450 with nut, when finishing set and to start up the nut daemon, it presents me this error:

Communications with UPS myups@localhost lost

Broadcast message from nut (Tue Aug 8 11:01:49 2006):

UPS myups@localhost is unavailable

Broadcast message from nut (Tue Aug 8 11:06:59 2006):

UPS myups@localhost is unavailable

sion upsd[4048]: Rejecting TCP connection from 127.0.0.1
Aug 8 11:09:04 sion upsmon[4053]: Set username on [myups@localhost] failed: Server disconnected
Aug 8 11:09:09 sion upsmon[4053]: Poll UPS [myups@localhost] failed - Write error: Bad file descriptor
Aug 8 11:09:14 sion upsd[4048]: Rejecting TCP connection from 127.0.0.1
Aug 8 11:09:14 sion upsmon[4053]: Set username on [myups@localhost] failed: Server disconnected
Aug 8 11:09:19 sion upsmon[4053]: Poll UPS [myups@localhost] failed - Write error: Bad file descriptor


my ups is connected my server with the serial port com1, my configuration files :


ups.conf

[myups]
driver = apcsmart
port = /dev/ttyS0
sdtype = 0

upsd.users

[monuser]
password = linuxserverblade
allowfrom = localhost
upsmon master
upsd.conf

ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32

ACCESS grant monitor localhost
ACCESS deny all all


upsmon.conf

MONITOR myups@localhost 1 monuser linuxserverblade master


somebody has a guide with CentOS or fedora

than forums