Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    NUT 2.2.0 - pfSense 1.2b2 - not working

    Scheduled Pinned Locked Moved pfSense Packages
    21 Posts 7 Posters 8.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Cry HavokC
      Cry Havok
      last edited by

      Yeah, I know I should upgrade to RC3, but it's a matter of (a lack of) time…

      Having upgraded NUT to 2.2.0 it no longer works:

      Network UPS Tools upsmon 2.2.0
      /libexec/ld-elf.so.1: /usr/local/sbin/upsmon: Undefined symbol "__sbmaskrune"
      

      Should I just assume that I won't have 2.2.0 working until I upgrade to (at least) RC3?

      1 Reply Last reply Reply Quote 0
      • R
        rsw686
        last edited by

        Nut was upgraded to 2.2.0 per this thread as nut 2.0.5_1 was depreciated. I guess you will have to upgrade to get it to work. I didn't realize this or I might of just put the nut 2.0.5_1 file on the pfSense server instead of bumping the package version.

        You could try removing nut with pkg_delete, finding a copy of nut 2.0.5_1 and installing it with pkg_add if you don't want to upgrade pfSense.

        1 Reply Last reply Reply Quote 0
        • Cry HavokC
          Cry Havok
          last edited by

          Not a problem - I'll get around to doing the upgrade to pfSense eventually ;)

          1 Reply Last reply Reply Quote 0
          • M
            mbedyn
            last edited by

            Did you handled a proloblem with new ver. of NUT? It is not working for me too

            1 Reply Last reply Reply Quote 0
            • Cry HavokC
              Cry Havok
              last edited by

              I decided to wait until 1.2 goes final (as the box is stable).  The loss of the NUT package isn't a real problem as it was a client.

              1 Reply Last reply Reply Quote 0
              • D
                dvserg
                last edited by

                Looking this topic
                http://forum.pfsense.org/index.php/topic,7017.msg41154.html#msg41154

                NUT problem with perl scripts?
                have 'bug' on perl-5.8.8_1 port
                In top url simple temporary decision

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

                1 Reply Last reply Reply Quote 0
                • Z
                  z00te
                  last edited by

                  Hi,

                  same problem here with 1.2-RC4… i've tried also to overwrite the libperl.so downloaded from the other topic in the /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so, uninstalled and reinstallet the nut package... still no works.
                  Any ideas? tnx

                  1 Reply Last reply Reply Quote 0
                  • D
                    dvserg
                    last edited by

                    Manually replace libperl.so
                    Use this URL for download:
                    http://diskatel.narod.ru/libperl.so

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

                    1 Reply Last reply Reply Quote 0
                    • Z
                      z00te
                      last edited by

                      Hi thanks for the quick answer…
                      I've already tried to overwrite libperl.so but I've always the same error message.
                      So I've tried to reinstall an all new 1.2-rc4 and restored my setting, copied again the but still doesn't work.

                      there is sone other test i can do?

                      tnx

                      1 Reply Last reply Reply Quote 0
                      • R
                        rsw686
                        last edited by

                        I'll look into this when I have some free time. I need to get a UPS setup again with my virtual machine so I can test.

                        1 Reply Last reply Reply Quote 0
                        • Z
                          z00te
                          last edited by

                          ok,

                          i've found these two links maybe could be useful :

                          http://lists.freebsd.org/pipermail/cvs-src/2007-November/084046.html
                          http://groups.google.com/group/lucky.freebsd.questions/msg/1fa8564a3a000390

                          tnx bye

                          1 Reply Last reply Reply Quote 0
                          • dotdashD
                            dotdash
                            last edited by

                            I got nowhere with the perl lib, so I ended up finding a copy of nut 2.0.4 on a FreeBSD package mirror and loading that from the shell. This was after I had installed the 2.2.0 pfSense package. It's an ugly hack, but it works and the status page in the webgui looks fine.

                            1 Reply Last reply Reply Quote 0
                            • C
                              craigdrown
                              last edited by

                              Trying to install on 1.2rc3 it keeps hanging at
                              "nut-2.2.0  (extracting)"
                              Any help appreciated.
                              Thanks,
                              Craig

                              1 Reply Last reply Reply Quote 0
                              • R
                                rsw686
                                last edited by

                                I had some time to test this out on 1.2 RC4. I experienced no problems with the package install or deinstall. The extracting nut-2.2.0 step does take 30 seconds or so to complete so give it a minute. However I did find an error when trying to start the daemon

                                /usr/local/etc/rc.d/nut.sh start

                                starting genericups
                                Network UPS Tools - UPS driver controller 2.2.0
                                /libexec/ld-elf.so.1: /usr/local/libexec/nut/upsdrvctl: Undefined symbol
                                "__sbmaskrune"
                                genericups failed to start

                                I'm looking at how to resolve this and will update this thread when I figure it out.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dvserg
                                  last edited by

                                  Looking to the perl-5.8.8_1 port libperl.so
                                  May be this can help you?

                                  SquidGuardDoc EN  RU Tutorial
                                  Localization ru_PFSense

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    rsw686
                                    last edited by

                                    Alright I've come to the bottom of this. The 6-stable folder nut-2.2.0 version is broken with the above error. The 6.3-release folder nut-2.2.0 version works. The 6.2-release folder nut-2.0.4 works as well. I'm not sure if we should just roll back to nut-2.0.4 or if there will be issues from using the 6.3 release version of nut-2.2.0.

                                    If we roll back to 2.0.4 I know nut-2.2.0 version replaces the newhidups driver with usbhid-ups. I'm not sure if this was just a name change or if it added support for more UPS's.

                                    1 Reply Last reply Reply Quote 0
                                    • Cry HavokC
                                      Cry Havok
                                      last edited by

                                      The changelog can be found at: http://www.networkupstools.org/source/2.2/testing/ChangeLog.  It looks like newhidups and usbhid-ups are different drivers, so not a name change.  I'd expect that the newer one supported more UPSs.

                                      I'd say that if pfSense 1.2 is based on 6.3 then go with the 6.3 version, otherwise stick with the (working) 6.2 version.

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rsw686
                                        last edited by

                                        @Cry:

                                        The changelog can be found at: http://www.networkupstools.org/source/2.2/testing/ChangeLog.  It looks like newhidups and usbhid-ups are different drivers, so not a name change.  I'd expect that the newer one supported more UPSs.

                                        I'd say that if pfSense 1.2 is based on 6.3 then go with the 6.3 version, otherwise stick with the (working) 6.2 version.

                                        I was just going by what was stated on the post months ago when 2.0.5 was updated to 2.2.0 in the 6-stable directory. pfSense is based on 6.2. I'll move the package back to 2.04 in the 6.2-release today.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rsw686
                                          last edited by

                                          To switch to the working 2.0.4 version you need to uninstall the package via the package manager and then install it again.

                                          1 Reply Last reply Reply Quote 0
                                          • Cry HavokC
                                            Cry Havok
                                            last edited by

                                            That works - thanks.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.