Charles, I need so major help with getting development build working and need some assistance. Here are the issues that we are running into: Number 1 change - 2.7.2 no longer has the HAL scripts that 2.6.5 has. I am working on if HAL is actually required on CentOS6.6 with the 2.7.2 code or if they have another way around it. This is code diving which is taking some time. Number 2 change - RPM build errors: Installed (but unpackaged) file(s) found: /usr/bin/nut-scanner /usr/sbin/upsdrvctl A dozen + Man pages You mentioned the following a couple of weeks ago: I haven't really used RedHat products regularly since before they started the Fedora project, but from what I understand, it should still be possible to grab the SRPM for NUT, extract it to /usr/src, change the version number to 2.7.whatever, rebuild the binary RPMs, and reinstall. I am really a newbie when it comes to the building of packages. Where do I get that SRPM for the NUT version that will work with the SMART500RT1U? Does anyone have a RPM of 2.7.2.6 that is built for Centos 6.6 that I could try? Here is the environment- OS: Centos 6.6 Kernel: 2.6.32-504.8.1.el6.x86_64 Nut Version: nut-2.6.5-2.el6.x86_64 Eric K. Cobb Product Management Specialist [Tripp Lite] 1111 W. 35th Street | Chicago IL 60609 USA 773.869.1203 | Fax 773.869.1935 website<http://www.tripplite.com/EN/index.cfm> | email<mailto:eric_cobb at tripplite.com> | [Reach Me on Skype]<eric.cobb21> [Follow us on Twitter] <http://twitter.com/tripplite> [Find us on Facebook] <http://www.facebook.com/TrippLite> [See us on YouTube] <http://www.youtube.com/profile?user=tripplite> [Find us on Linkedin] <http://www.linkedin.com/company/tripp-lite> This message is for the addressee?s use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/67352918/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 5920 bytes Desc: image001.png URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/67352918/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1856 bytes Desc: image002.gif URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/67352918/attachment-0005.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 1205 bytes Desc: image003.gif URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/67352918/attachment-0006.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.gif Type: image/gif Size: 1199 bytes Desc: image004.gif URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/67352918/attachment-0007.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.gif Type: image/gif Size: 754 bytes Desc: image005.gif URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/67352918/attachment-0008.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.gif Type: image/gif Size: 731 bytes Desc: image006.gif URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/67352918/attachment-0009.gif>
On Mar 23, 2015, at 7:57 PM, Eric Cobb <Eric_Cobb at tripplite.com> wrote:> Number 1 change - 2.7.2 no longer has the HAL scripts that 2.6.5 has. I am working on if HAL is actually required on CentOS6.6 with the 2.7.2 code or if they have another way around it. This is code diving which is taking some time.HAL support in NUT was bit-rotting, so it was removed. It isn't necessary for the traditional /etc-based configuration method.> Number 2 change - > RPM build errors: > Installed (but unpackaged) file(s) found: > /usr/bin/nut-scanner > /usr/sbin/upsdrvctl > A dozen + Man pagesSee attached nut.spec (gzipped). Hasn't been tested, but it builds on CentOS 6.6 (after installing the dependencies from the error message the first time I ran 'rpmbuild -bb'). -- Charles Lepple clepple at gmail -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/0adfe4c2/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: nut.spec.gz Type: application/x-gzip Size: 7459 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/0adfe4c2/attachment.bin> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150323/0adfe4c2/attachment-0001.html>
24 ????? 2015??. 0:57:22 CET, Eric Cobb <Eric_Cobb at tripplite.com> ?????:>Charles, > >I need so major help with getting development build working and need >some assistance. Here are the issues that we are running into: > >Number 1 change - 2.7.2 no longer has the HAL scripts that 2.6.5 has. >I am working on if HAL is actually required on CentOS6.6 with the 2.7.2 >code or if they have another way around it. This is code diving which >is taking some time. > >Number 2 change - >RPM build errors: > Installed (but unpackaged) file(s) found: > /usr/bin/nut-scanner > /usr/sbin/upsdrvctl > A dozen + Man pages > >You mentioned the following a couple of weeks ago: > >I haven't really used RedHat products regularly since before they >started the Fedora project, but from what I understand, it should still >be possible to grab the SRPM for NUT, extract it to /usr/src, change >the version number to 2.7.whatever, rebuild the binary RPMs, and >reinstall. > >I am really a newbie when it comes to the building of packages. Where >do I get that SRPM for the NUT version that will work with the >SMART500RT1U? Does anyone have a RPM of 2.7.2.6 that is built for >Centos 6.6 that I could try? > >Here is the environment- >OS: Centos 6.6 >Kernel: 2.6.32-504.8.1.el6.x86_64 >Nut Version: nut-2.6.5-2.el6.x86_64 > > >Eric K. Cobb >Product Management Specialist > >[Tripp Lite] > >1111 W. 35th Street | Chicago IL 60609 USA >773.869.1203 | Fax 773.869.1935 >website<http://www.tripplite.com/EN/index.cfm> | >email<mailto:eric_cobb at tripplite.com> | > >[Reach Me on Skype]<eric.cobb21> [Follow us on Twitter] ><http://twitter.com/tripplite> [Find us on Facebook] ><http://www.facebook.com/TrippLite> [See us on YouTube] ><http://www.youtube.com/profile?user=tripplite> [Find us on Linkedin] ><http://www.linkedin.com/company/tripp-lite> > > > >This message is for the addressee?s use only. It may contain >confidential information. If you receive this message in error, please >delete it and notify the sender. Tripp Lite disclaims all warranties >and liabilities, and assumes no responsibility for viruses which may >infect an email sent to you from Tripp Lite and which damage your >electronic systems or information. It is your responsibility to >maintain virus detection systems to prevent damage to your electronic >systems and information. > > > >________________________________ >This message is for the addressee's use only. It may contain >confidential information. If you receive this message in error, please >delete it and notify the sender. Tripp Lite disclaims all warranties >and liabilities, and assumes no responsibility for viruses which may >infect an email sent to you from Tripp Lite and which damage your >electronic systems or information. It is your responsibility to >maintain virus detection systems to prevent damage to your electronic >systems and information. > > >------------------------------------------------------------------------ > >_______________________________________________ >Nut-upsdev mailing list >Nut-upsdev at lists.alioth.debian.org >http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdevHello Eric, use google-fu! ;) Generally, you take your needed package name to google and add srpm. Then you come up with the great rpmfind resource and either sources for your package http://www.rpmfind.net//linux/RPM/epel/6/x86_64/nut-2.6.5-2.el6.x86_64.html or for others in the family http://www.rpmfind.net/linux/rpm2html/search.php?query=nut - for example, on top of the list you see packages for 2.7.2 You download an .srpm (or a .src.rpm) file and can use rpmbuild program to build your binary version (-ba flags iirc) or to unpack and fiddle in the sources. At the core of rpm packages are spec-files which include the package metadata as well as references to dependencies, upstream sources and an ordered list of optional patches (copy of code and patches are usually included alongside a spec-file and form the srpm content), the ways to configure and build the code, and the list of installable files (should be 1:1 to the structure of your temporary installation directory for the build products). Good luck, and I hope this helps! //Jim Klimov -- Typos courtesy of K-9 Mail on my Samsung Android
Charles, Thanks again for your help. We were able to have a 2.7.2.6 build complied into a working RPM for CENTOS 6.6. There is one more issue that needs to be addressed: The init script no longer works so a new script needs to be written to enable and disable the ups functionality, however it is communicating with the UPS properly. The question I have at this point is, is there a way I can set this so that once Line Power is disrupted it starts the shutdown command on the system versus waiting for the UPS battery to be "critical"? Eric K. Cobb eric_cobb at tripplite.com<mailto:eric_cobb at tripplite.com> From: Charles Lepple [mailto:clepple at gmail.com] Sent: Monday, March 23, 2015 10:07 PM To: Eric Cobb Cc: nut-upsdev at lists.alioth.debian.org Subject: Re: CENTOS 6.6 NUT RPM BUILD ISSUES Importance: High On Mar 23, 2015, at 7:57 PM, Eric Cobb <Eric_Cobb at tripplite.com<mailto:Eric_Cobb at tripplite.com>> wrote: Number 1 change - 2.7.2 no longer has the HAL scripts that 2.6.5 has. I am working on if HAL is actually required on CentOS6.6 with the 2.7.2 code or if they have another way around it. This is code diving which is taking some time. HAL support in NUT was bit-rotting, so it was removed. It isn't necessary for the traditional /etc-based configuration method. Number 2 change - RPM build errors: Installed (but unpackaged) file(s) found: /usr/bin/nut-scanner /usr/sbin/upsdrvctl A dozen + Man pages See attached nut.spec (gzipped). Hasn't been tested, but it builds on CentOS 6.6 (after installing the dependencies from the error message the first time I ran 'rpmbuild -bb'). -- Charles Lepple clepple at gmail ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150326/dcd9c8ce/attachment.html>
Apparently Analagous Threads
- CENTOS 6.6 NUT RPM BUILD ISSUES
- CENTOS 6.6 NUT RPM BUILD ISSUES
- UPS Product additions to NUT HCL list for compatible Tripp Lite UPS systems
- Problems communicating with Tripp Lite SMART500RT1U via USB with CentOS 6.6 and NUT 2.6.5
- Problems communicating with Tripp Lite SMART500RT1U via USB with CentOS 6.6 and NUT 2.6.5