Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: smeghead on August 23, 2014, 06:49:21 PM

Title: Nut rpm & support for newer UPS's
Post by: smeghead on August 23, 2014, 06:49:21 PM
Hi y'all

I have a UPS that isn't supported by the current version of nut in CentosOS 5.x, admittedly it's getting on a bit:

[root@gateway ~]# rpm -qi nut
Name        : nut                          Relocations: (not relocatable)
Version     : 2.2.2                        Vendor: Fedora Project
Release     : 4.el5                        Build Date: Wed 14 Nov 2012 09:09:50 PM WST
Install Date: Sat 09 Nov 2013 04:28:29 PM WST      Build Host: buildvm-03.phx2.fedoraproject.org
Group       : Applications/System   Source RPM: nut-2.2.2-4.el5.src.rpm
Size          : 3080981                     License: GPLv2+
Signature   : DSA/SHA1, Thu 15 Nov 2012 12:43:55 AM WST, Key ID 119cc036217521f6
Packager    : Fedora Project
URL          : http://www.networkupstools.org/
Summary   : Network UPS Tools

This UPS needs the richcomm_usb driver that isn't in the 2.2.2 rpm.

Has anyone tried a newer version with success (up to 2.7.2 now)?  Could I just extract this driver from the newer rpm & copy it to /sbin where the other drivers are & config to suit?

From my reading around the issue it looks like the way & location where nut is installed has changed a bit in the newer versions so may not be a simple upgrade.

If no info forthcoming in a few days of someones success I'll post a NFR bug for the devs to take a look.

Ta muchly
Title: Re: Nut rpm & support for newer UPS's
Post by: janet on August 23, 2014, 08:07:27 PM
smeghead

Time perhaps to upgrade to sme9.0

rpm -qi nut

Name        : nut                          Relocations: (not relocatable)
Version     : 2.6.5                             Vendor: Fedora Project
Release     : 2.el6                         Build Date: Thu 16 May 2013 12:04:51 AM EST
Install Date: Sat 26 Jul 2014 09:48:38 PM EST      Build Host: buildvm-21.phx2.fedoraproject.org
Group       : Applications/System           Source RPM: nut-2.6.5-2.el6.src.rpm
Size        : 4214826                          License: GPLv2+
Signature   : RSA/8, Thu 16 May 2013 04:04:57 AM EST, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://www.networkupstools.org/
Summary     : Network UPS Tools
Description :
These programs are part of a developing project to monitor the assortment
of UPSes that are found out there in the field. Many models have serial
ports of some kind that allow some form of state checking. This
capability has been harnessed where possible to allow for safe shutdowns,
live status tracking on web pages, and more.
Title: Re: Nut rpm & support for newer UPS's
Post by: FlowerInMyHeart on September 03, 2014, 12:25:51 PM

Fantastic.You are my idol.Make me for good idea.
Just to do it.
Title: Re: Nut rpm & support for newer UPS's
Post by: stephdl on September 03, 2014, 06:22:07 PM
the answer of janet is the voice of reason, but alternatively you could try to update nut

see http://wiki.contribs.org/Uninterruptable_Power_Supply:LatestGeekery

and this one http://geekery.altervista.org/geekery/el5/i386/repoview/letter_n.group.html
Title: Re: Nut rpm & support for newer UPS's
Post by: smeghead on September 04, 2014, 06:19:08 AM
Thanks Steph, did the trick nicely