Hi, I'm trying to get a sweex ups working with nut on debian sarge. This one: http://www.sweex.com/producten.php?lang=1&%20sectie=&item=59&artikel=95 It's shipped with UPSmart and according to the compatibility list it should work with the genericups upstype=7 driver. But it doesn't. I get: mybox:/etc/nut# /etc/init.d/nut start Starting Network UPS Tools: (upsdrvctl failed). mybox:/etc/nut# So I guess I'm using the wrong driver. I already tried the savenet driver too, but no succes. I found on the net someone using the ippon driver with a 500VA sweex ups, but this doesn't work for me. All help is very appreciated. Many thanks, Yves -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20061107/8d148987/attachment.htm
> I'm trying to get a sweex ups working with nut on debian sarge.Good luck! Sweex is notorious for changing their products internally, without telling you. Have you noticed that their online documentation still mentions the SafeNet software? And that they even have the guts to mention that their UPS is 'fully compatible with Unix'. Upon asking, they boldly stated that you can power a Unix box from it, but you can't monitor it. Yeah, right!> This one: > http://www.sweex.com/producten.php?lang=1&%20sectie=&item=59&artikel=95 > It's shipped with UPSmart and according to the compatibility list it > should work with the genericups upstype=7 driver. But it doesn't.I have one unit that does. But that doesn't neccessarily mean that yours does too (unfortunately, see above).> I get: > > mybox:/etc/nut# /etc/init.d/nut start > Starting Network UPS Tools: (upsdrvctl failed). > mybox:/etc/nut#This could be a configuration problem. Can you post the contents of the /etc/ups/ups.conf file here and also the permissions on the serial port you configured in there? Checking out with the bundled (Windows) software on a Windows box may be worthwile too, to rule out problems in the serial cable and/or UPS.> So I guess I'm using the wrong driver.I'm not ready to jump to that conclusion yet.> I already tried the savenet driver too, but no succes.That one for sure won't work, since that one is only good for devices that were shipped with the SafeNet 1.0 for Windows software. Yours apparently wasn't.> I found on the net someone using the ippon driver with a 500VA sweex ups, > but this doesn't work for me. All help is very appreciated.Best regards, Arjen -- Eindhoven - The Netherlands Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
On 11/7/06, YvesDM <ydmlog@gmail.com> wrote:> Hi, > > I'm trying to get a sweex ups working with nut on debian sarge. > This one: > http://www.sweex.com/producten.php?lang=1&%20sectie=&item=59&artikel=95 > It's shipped with UPSmart and according to the compatibility list it should > work with the > genericups upstype=7 driver. But it doesn't. > I get: > > mybox:/etc/nut# /etc/init.d/nut start > Starting Network UPS Tools: (upsdrvctl failed). > mybox:/etc/nut#genericups does not have very many ways to fail. What if you try starting the driver directly, such as: /lib/nut/genericups -a ups_name You can also check the system logs for error messages. -- - Charles Lepple
YvesDM wrote:> On 11/8/06, *Udo van den Heuvel* <udovdh@xs4all.nl > <mailto:udovdh@xs4all.nl>> wrote: > > Try Powermust. > > > radius1:/etc/nut# cat ups.conf > # Network UPS Tools: example ups.conf > # > user = nut > > [ups_name] > driver = powermust > port = /dev/ttyS0 > desc = "Sweex 1000VA UPS" > > > > radius1:/etc/nut# /etc/init.d/nut start > Starting Network UPS Tools: (upsdrvctl failed) upsd upsmon. > radius1:/etc/nut#I see: [root@epia ~]# service ups restart Stopping UPS monitor: [ OK ] Stopping upsd: [ OK ] Shutting down powermust: [ OK ] Starting powermust: Network UPS Tools - Mustek PowerMust UPS driver 1.1 (2.0.3) Carlos Rodrigues (c) 2003, 2004 Mustek PowerMust UPS, or compatible, detected. [ OK ] Starting upsd: Network UPS Tools upsd 2.0.3 Connected to UPS [myups]: powermust-ttyS1 Synchronizing...done [ OK ] Starting UPS monitor (master): Network UPS Tools upsmon 2.0.3 UPS: myups@localhost (master) (power value 1) Using power down flag file /etc/killpower [ OK ] So what is your upsdrvctl problem?
On 11/9/06, Udo van den Heuvel <udovdh@xs4all.nl> wrote:> > YvesDM wrote: > > On 11/8/06, *Udo van den Heuvel* <udovdh@xs4all.nl > > <mailto:udovdh@xs4all.nl>> wrote: > > > > Try Powermust. > > > > > > radius1:/etc/nut# cat ups.conf > > # Network UPS Tools: example ups.conf > > # > > user = nut > > > > [ups_name] > > driver = powermust > > port = /dev/ttyS0 > > desc = "Sweex 1000VA UPS" > > > > > > > > radius1:/etc/nut# /etc/init.d/nut start > > Starting Network UPS Tools: (upsdrvctl failed) upsd upsmon. > > radius1:/etc/nut# > > I see: > > [root@epia ~]# service ups restart > Stopping UPS monitor: [ OK ] > Stopping upsd: [ OK ] > Shutting down powermust: [ OK ] > Starting powermust: Network UPS Tools - Mustek PowerMust UPS driver 1.1 > (2.0.3) > Carlos Rodrigues (c) 2003, 2004 > > Mustek PowerMust UPS, or compatible, detected. > [ OK ] > Starting upsd: Network UPS Tools upsd 2.0.3 > Connected to UPS [myups]: powermust-ttyS1 > Synchronizing...done > [ OK ] > Starting UPS monitor (master): Network UPS Tools upsmon 2.0.3 > UPS: myups@localhost (master) (power value 1) > Using power down flag file /etc/killpower > > [ OK ] > So what is your upsdrvctl problem?Are we talking the same UPS here? If yes, I wish I knew ! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20061109/cf358551/attachment.htm
YvesDM wrote:> So what is your upsdrvctl problem? > > > > Are we talking the same UPS here?I have a Sweex, 800VA or so?> If yes, I wish I knew !Maybe try the source to see what the function does that is mentioned in the error?
To prevent system shutdown on LB while testing you may set <powervalue> value in MONITOR line (in upsmon.conf) to "0" (zero). But don't forget to set MINSUPPLIES to zero too. See comments in "upsmon.conf" and "man upsmon.conf" for further details. Whith this one you can check if the other parts of nut getting read on LB. Also you can setup non-critical workstation as slave (even MS Windows workstation) and check whether upsmon sends shutdown instruction. -- Best regards, Sergiy mailto:rendol@mail.zp.ua