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

Unable to reboot 2.4

2.4 Development Snapshots
12
45
9.9k
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.
  • P
    psulions5
    last edited by Apr 6, 2017, 9:35 PM

    Hello,

    Having an issue rebooting the 2.4 snapshot daily.  My reboot gets as far as turning off my adapters, then showing me how long my server was up (uptime).  After that is displayed, nothing happens.  I have to manually shut down my machine and power it back on.  Is there a bios setting that would maybe be causing this?

    Not really sure where to start with this.

    Thanks!

    1 Reply Last reply Reply Quote 0
    • P
      pfBasic Banned
      last edited by Apr 6, 2017, 10:23 PM

      how are you rebooting?

      More importantly, why are you rebooting pfSense daily?

      1 Reply Last reply Reply Quote 0
      • P
        psulions5
        last edited by Apr 6, 2017, 10:30 PM

        I am rebooting via SSH, or the GUI.  I rebooted because I installed an update and it forced me to.  So anytime I need to reboot, it fails to do so, and hangs there forever.

        1 Reply Last reply Reply Quote 0
        • P
          pfBasic Banned
          last edited by Apr 6, 2017, 10:35 PM

          what command are you using in SSH and what are you clicking in GUI?

          How long are you waiting?

          Are you watching the console output or just what comes up on SSH?

          1 Reply Last reply Reply Quote 0
          • P
            psulions5
            last edited by Apr 6, 2017, 10:44 PM

            Ill tell you my setup:

            I have my router plugged into a monitor with HDMI.
            I am rebooting the router with ssh (connecting via terminal on my mac). - Hangs
            Rebooted with the GUI under Diagnostics / Reboot - Hangs

            I waited like 5 minutes, and it just sits there.

            1 Reply Last reply Reply Quote 0
            • P
              pfBasic Banned
              last edited by Apr 6, 2017, 10:53 PM

              Try giving it about 25 minutes to boot up.

              The problem could be an issue connecting to the internet to reinstall your packages after a system upgrade. This is a known issue in some configurations (I don't remember specifically what). If this is the case it will eventually boot back up for you then you'll have to reinstall packages via the GUI.

              What are you using for DNS and how is it configured?

              1 Reply Last reply Reply Quote 0
              • P
                psulions5
                last edited by Apr 6, 2017, 11:20 PM

                This happens during a normal reboot also - without actually installing anything.

                My DNS is pulling from my ISP for my WAN, and 2 OpenVPN connections are static DNS for Private Internet Access.  The lockup happens during JUST the shutdown process, and not a clean boot.  A clean boot takes literally 15 seconds or so to complete, and completes perfectly every time.

                1 Reply Last reply Reply Quote 0
                • P
                  pfBasic Banned
                  last edited by Apr 6, 2017, 11:25 PM

                  Is there anything in the system logs at the time of shutdown?

                  Did anything change when this started happening?

                  1 Reply Last reply Reply Quote 0
                  • P
                    psulions5
                    last edited by Apr 7, 2017, 2:48 AM

                    Logs didnt show much.  This was a fresh install of the latest snapshot for 2.4.  I run the same snapshot in a hyper-v container, and it has no issues rebooting.

                    So strange.

                    1 Reply Last reply Reply Quote 0
                    • P
                      psulions5
                      last edited by Apr 7, 2017, 3:17 AM

                      Specs are:

                      7700K
                      Asrock H270M ITX
                      8GB Ram
                      Intel Pro/1000 4 port NIC.

                      Forgot to post them.

                      1 Reply Last reply Reply Quote 0
                      • P
                        pfBasic Banned
                        last edited by Apr 7, 2017, 7:09 AM

                        IDK then , maybe something got corrupted? I'd just do a fresh install then restore config.

                        If you aren't already maybe give a ZFS install a shot, it is generally less prone to corruption.

                        1 Reply Last reply Reply Quote 0
                        • P
                          psulions5
                          last edited by Apr 7, 2017, 11:33 AM

                          I will try that tonight, thank you!

                          Someone on Reddit says he experiences something similar, and when he unplugs the WAN, it instantly finishes rebooting.  I haven't tried this yet though.

                          1 Reply Last reply Reply Quote 0
                          • P
                            psulions5
                            last edited by Apr 7, 2017, 9:27 PM

                            @pfBasic:

                            IDK then , maybe something got corrupted? I'd just do a fresh install then restore config.

                            If you aren't already maybe give a ZFS install a shot, it is generally less prone to corruption.

                            Update:  Fresh install won't even reboot when it completes the installation.  I have to push the rest button on the front of the computer to force a reboot.  Everything works 100%, just cant reboot.  :(

                            1 Reply Last reply Reply Quote 0
                            • P
                              pfBasic Banned
                              last edited by Apr 7, 2017, 11:29 PM

                              Interesting, sounds like a hardware issue. What is your install media?

                              Also might want to check out your bios settings and turn off unneeded features. You'll have to search around the forums to pursue this, I have never had to adjust bios for pfsense.

                              1 Reply Last reply Reply Quote 0
                              • P
                                psulions5
                                last edited by Apr 8, 2017, 12:23 PM

                                Yeah,  I have been going around disabling stuff.  I will search the forum looking for a possible cause with the BIOS.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  psulions5
                                  last edited by Apr 8, 2017, 12:25 PM

                                  Is there a console command that I can use to force a reboot instead of the normal process?  In case of an emergency need to reboot or something?  Like if I am away from home etc.

                                  Thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pfBasic Banned
                                    last edited by Apr 9, 2017, 3:22 AM Apr 8, 2017, 5:14 PM

                                    https://www.freebsd.org/cgi/man.cgi?reboot(8)

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Apr 9, 2017, 2:01 AM

                                      You probably want:

                                      shutdown -p now
                                      

                                      If your box still doesn't shutdown using that there's probably some bad value being fed to the system about how to power down the board. BIOS up to date?

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        kpa
                                        last edited by Apr 9, 2017, 12:28 PM

                                        There are known problems on certain hardware where FreeBSD fails to reboot or powerdown properly. USB seems to be one of the common factors.

                                        This is rather old bug but showcases the problem:

                                        https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=167685

                                        Suggested workaround is a sysctl:

                                        
                                        # sysctl hw.usb.no_shutdown_wait=1
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          psulions5
                                          last edited by Apr 9, 2017, 3:30 PM

                                          @kpa:

                                          There are known problems on certain hardware where FreeBSD fails to reboot or powerdown properly. USB seems to be one of the common factors.

                                          This is rather old bug but showcases the problem:

                                          https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=167685

                                          Suggested workaround is a sysctl:

                                          
                                          # sysctl hw.usb.no_shutdown_wait=1
                                          
                                          

                                          Oh nice.  I moved my router to my Supermicro xeon server for the time being, and it works on that flawlessly (I had an issue with a NIC not showing up but it seems to be fixed).  I think I may just move my 7700K to my video encoding box, and keep the xeon as my router.

                                          Where would I add that code if I wanted to test it out?  Not very familiar with that aspect of pfsense.  Thanks for all the help, this forum is great.

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