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

    Nut package gone?

    Scheduled Pinned Locked Moved pfSense Packages
    12 Posts 3 Posters 4.9k 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.
    • dotdashD
      dotdash
      last edited by

      Thanks for getting the package back up. Sorry to intrude on your vacation. I Got it running on a test box today with an APC smart-ups. Serial on com2 was flawless, usb worked, but kept disconnecting/reconnecting. I suppose that's an issue between NUT and the FreeBSD usb driver. That or the usb ports on the old crappy test box I was using. The service came up broken after it restarted (when I plugged the ups back in) and I had to re-install the package, but I think that may mean I need to be rebuild my test box. I'll try it on the production box as soon as I can get a ups close enough for the cable to reach. Thanks again for your work on the package.

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

        No problem at all .. only took a few minutes to fix once I got ssh working. Anyways I've heard from somebody else as well about the problem with nut not starting upon a reboot. I will look into this. They had mentioned that going to the nut configuration page and clicking change started nut.

        1 Reply Last reply Reply Quote 0
        • T
          trendchiller
          last edited by

          that's correct :-)

          it was me :-)

          http://forum.pfsense.org/index.php/topic,4063.0.html
          just opened this thread… for the same problem and the question for pfsense shutdown issues...

          Can I configure pfsenses shutdown behaviour when USV goes down or does NUT send a "halt" to pfsense then ?
          Or anything to configure anywhere ?

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

            I believe the default shutdown command (which worked fine on my box) is in /usr/local/etc/nut/upsmon.conf (SHUTDOWNCMD "/sbin/shutdown -h +0") you could probably manually edit that if you needed. I was looking for the shutdown timer (I use apcupsd on some of my systems) but reading the NUT docs it seems the philosophy of the NUT author is to keeps the system up until battery is critical and power is off. In testing this was around 15% for me.

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

              I just committed an update to nut that should fix it not starting upon a reboot. Please reinstall the package, goto the nut settings page click change, then reboot and let me know if it works for you.

              1 Reply Last reply Reply Quote 0
              • T
                trendchiller
                last edited by

                i'll try it out after i slept out :-)

                thanks a lot !

                1 Reply Last reply Reply Quote 0
                • T
                  trendchiller
                  last edited by

                  hmmm, not really working here for me :-(

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

                    @trendchiller:

                    hmmm, not really working here for me :-(

                    What did the nut status page show after your restarted?

                    Restart your box and run

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

                    from the console and let me know the output. The problem I corrected dealt with permissions /dev/ttyd* depending on your serial port permissions being reset.

                    1 Reply Last reply Reply Quote 0
                    • T
                      trendchiller
                      last edited by

                      Hmmm, after a reinstall of pfsense it seems to work now…

                      will furthermore have a look after it...

                      thanks a lot

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

                        Got a chance to test this again. I had similar results to trendchiller on my test box- service wasn't starting after upgrading the package, but did a clean load and added the package fresh and it looks good. Thanks rsw for getting this package running smoothly.

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