egrimisu
October 12th, 2010, 12:57 PM
Hey guy's,
I', trying to sync my ups with nut, i have configured nut.conf, upsd.users and upsmon.conf like the folowing:
nut.conf
MODE=standalone
[mge] {line 31 in my case}
driver=mge-shut
port=/dev/ttyS0
upsd.users
[monuser]
password = pass
allowfrom = localhost
upsmon master
upsmon.conf
MONITOR mge@localhost 1 monuser pass master
Everything great, now i try to start the nut eith "/etc/init.d/nut start" and i got:
/etc/nut/nut.conf: 31: [mge]: not found
* Starting Network UPS Tools [ OK ]
the 31 line contain the name of the ups mge in my case. what have i done wrong?
I', trying to sync my ups with nut, i have configured nut.conf, upsd.users and upsmon.conf like the folowing:
nut.conf
MODE=standalone
[mge] {line 31 in my case}
driver=mge-shut
port=/dev/ttyS0
upsd.users
[monuser]
password = pass
allowfrom = localhost
upsmon master
upsmon.conf
MONITOR mge@localhost 1 monuser pass master
Everything great, now i try to start the nut eith "/etc/init.d/nut start" and i got:
/etc/nut/nut.conf: 31: [mge]: not found
* Starting Network UPS Tools [ OK ]
the 31 line contain the name of the ups mge in my case. what have i done wrong?