doug reynolds
2005-Dec-03 05:10 UTC
[Nut-upsuser] NUT + Cyberpower AVR1200 (BC1200) + FreeBSD 6.0
I am having some problems getting NUT to run with my cyberpower avr1200 (brandnew). I have a straight through serial cable, and I am getting this: /usr/local/etc/rc.d/nut.sh start Starting nut. Network UPS Tools - UPS driver controller 2.0.2 Network UPS Tools - CyberPower driver 1.00 (2.0.2) Giving up on hardware detection after 3 tries Unable to get initial hardware info string Driver failed to start (exit status=1) Network UPS Tools upsd 2.0.2 Can't open /usr/local/etc/nut/upsd.conf: Permission denied Network UPS Tools upsmon 2.0.2 Using power down flag file /etc/killpower Fatal error: insufficient power configured! Sum of power values........: 0 Minimum value (MINSUPPLIES): 1 Edit your upsmon.conf and change the values. Network UPS Tools upslog 2.0.2 logging status of backups@localhost to /var/log/ups.log (300s intervals) Warning: initial connect failed: Connection failure: Connection refused everytime I run nut.sh start. my ups.conf: [hiveups] driver = cyberpower port = /dev/cuac02 # com3 on my cyclades board. didn't work on my motherboard's port, so I threw in the old card desc = "Hive UPS" my upsd.conf is the sample as the sample one.. is the 1200 not compatible, or is there something else happening? i'm going to pull it off the bsd box and try it on my winXP mach to make sure the UPS works... thanx everyone.
Peter Selinger
2005-Dec-03 18:41 UTC
[Nut-upsuser] NUT + Cyberpower AVR1200 (BC1200) + FreeBSD 6.0
Hi Doug, the error message was saying: "Edit your *upsmon.conf* and change the values." You only posted your ups.conf and upsd.conf. -- Peter doug reynolds wrote:> > I am having some problems getting NUT to run with my cyberpower avr1200 > (brandnew). I have a straight through serial cable, and I am getting this: > > /usr/local/etc/rc.d/nut.sh start > Starting nut. > Network UPS Tools - UPS driver controller 2.0.2 > Network UPS Tools - CyberPower driver 1.00 (2.0.2) > Giving up on hardware detection after 3 tries > Unable to get initial hardware info string > Driver failed to start (exit status=1) > Network UPS Tools upsd 2.0.2 > Can't open /usr/local/etc/nut/upsd.conf: Permission denied > Network UPS Tools upsmon 2.0.2 > Using power down flag file /etc/killpower > > > Fatal error: insufficient power configured! > > Sum of power values........: 0 > Minimum value (MINSUPPLIES): 1 > > Edit your upsmon.conf and change the values. > Network UPS Tools upslog 2.0.2 > logging status of backups@localhost to /var/log/ups.log (300s intervals) > Warning: initial connect failed: Connection failure: Connection refused > > everytime I run nut.sh start. > > my ups.conf: > > [hiveups] > driver = cyberpower > port = /dev/cuac02 # com3 on my cyclades board. didn't work on > my motherboard's port, so I threw in the old card > desc = "Hive UPS" > > my upsd.conf is the sample as the sample one.. > > is the 1200 not compatible, or is there something else happening? i'm > going to pull it off the bsd box and try it on my winXP mach to make > sure the UPS works... > > thanx everyone. > > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser >
Peter Selinger
2005-Dec-03 22:54 UTC
[Nut-upsuser] NUT + Cyberpower AVR1200 (BC1200) + FreeBSD 6.0
Hi Doug, looks like you should try to start the driver manually, and with debugging enabled. ./drivers/cyberpower -DD -a hiveups This should give additional information on why the driver does not start. -- Peter doug reynolds wrote:> > Peter Selinger wrote: > > >Hi Doug, > > > >the error message was saying: "Edit your *upsmon.conf* and change the > >values." You only posted your ups.conf and upsd.conf. > > > > > > > >>Fatal error: insufficient power configured! > >> > >>Sum of power values........: 0 > >>Minimum value (MINSUPPLIES): 1 > >> > >>Edit your upsmon.conf and change the values. > >>Network UPS Tools upslog 2.0.2 > >>logging status of backups@localhost to /var/log/ups.log (300s intervals) > >>Warning: initial connect failed: Connection failure: Connection refused > >> > >> > My upsmon.conf is the same as the sample. The reason why the error > message for the upsmon.conf is popping up because NUT didn't detect any > UPSes where it should have detected 1, which is the original reason why > I posted. > > >> > > Network UPS Tools - UPS driver controller 2.0.2 > > Network UPS Tools - CyberPower driver 1.00 (2.0.2) > > Giving up on hardware detection after 3 tries > > Unable to get initial hardware info string > > Driver failed to start (exit status=1) > > Network UPS Tools upsd 2.0.2 > > > > > >>everytime I run nut.sh start. > >> > >>my ups.conf: > >> > >>[hiveups] > >> driver = cyberpower > >> port = /dev/cuac02 # com3 on my cyclades board. didn't work on > >>my motherboard's port, so I threw in the old card > >> desc = "Hive UPS" > >> > >>my upsd.conf is the sample as the sample one.. > >> > >>is the 1200 not compatible, or is there something else happening? i'm > >>going to pull it off the bsd box and try it on my winXP mach to make > >>sure the UPS works... > >> > >>thanx everyone. > >> > >> > >>_______________________________________________ > >>Nut-upsuser mailing list > >>Nut-upsuser@lists.alioth.debian.org > >>http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser > >> > >> > >> > > > > > > > > > > >
Peter Selinger
2005-Dec-04 04:13 UTC
[Nut-upsuser] NUT + Cyberpower AVR1200 (BC1200) + FreeBSD 6.0
OK, the cyberpower driver is not my area of expertise. Does someone else on the list know why this might not be working? The only thing I can think of is a permissions problem. What user owns the /dev/cuac02 device? Is that device readable/writable? Doug, please send your replies to the mailing list, and not to me personally. -- Peter doug reynolds wrote:> > Peter Selinger wrote: > > >Hi Doug, > > > >looks like you should try to start the driver manually, and with > >debugging enabled. > > > >./drivers/cyberpower -DD -a hiveups > > > >This should give additional information on why the driver does not > >start. > > > > > I am getting this output: > > ./cyberpower -DD -a hiveups > Network UPS Tools - CyberPower driver 1.00 (2.0.2) > debug level is '2' > Giving up on hardware detection after 3 tries > Unable to get initial hardware info string > > *note* i just tested the ups + serial cable on my WinXP box with the > PowerPanel software, and it worked great... I also tried the other > cyberpower drivers with no avail. > > thanx >