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

    PFsense reboots at the same time every day

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 6 Posters 1.1k 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.
    • B
      bennetbj11
      last edited by

      We have a weird issue with a PFSense 7100U, it reboots at exactly 04:05 every morning. This started happening about 10 days ago, there is nothing in the logs about any issues, I dialed into this morning at 04:00 and there was no unusual CPU, MEM spikes, ETC. in the system log it just shows boot time.
      I have copied the config off it and applied it to my lab PFSense and it works perfectly as in no reboots.
      Anyone know why this might be happening? I am stumped.
      58e8d10c-d788-4634-a8f1-2ffe2d8e6586-image.png

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @bennetbj11
        last edited by

        @bennetbj11

        That's not the OS who starts to execute a boot sequence. The 'user' or OS initiated shutdown leaves traces in the system log.
        You've none.

        Power issue ?
        If you have UPS : remove it for a day or two.
        You have no UPS , use one for a day or two.

        Worst case solution : be present, connected at the console, at 04h05.
        ( or stop/kill the NTP sync process, advance the system clock to 04h00 so you make pfSense believe it's 04h00 and see what happens ).
        if the system still goes belly up at the real 04h05, while the pfSense says it some other hour, you know the reboot cause comes from the exterior.

        Normally, LAN(s) or WAN(s) cable disconnect (or the switch or device on the other side going down) should not reset/reboot pfSense.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        B 1 Reply Last reply Reply Quote 0
        • B
          bennetbj11 @Gertjan
          last edited by

          @Gertjan
          Thanks for the reply, we have tried different power leads, and also plugged into a another UPS with no luck, we have no other power issue in the Comms room this is the only device that reboots.
          I will try the NTP sync process and see what happens, will keep you posted.
          Cheers

          GertjanG S 2 Replies Last reply Reply Quote 0
          • GertjanG
            Gertjan @bennetbj11
            last edited by

            @bennetbj11

            Change the 'admin' password and don't tell anyone ;)

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @bennetbj11
              last edited by

              @bennetbj11 If you install the cron package you can see all scheduled jobs even if you don’t edit any.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              GertjanG 1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Can't see from that screenshot but does it show a shutdown or reboot entry above that?

                If nothing is shown then it seems like a power/hardware issue. If that's at exactly the same time everyday I'd look for something starting at that time causing voltage spikes. Assuming no UPS.

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @SteveITS
                  last edited by Gertjan

                  @SteveITS said in PFsense reboots at the same time every day:

                  @bennetbj11 If you install the cron package you can see all scheduled jobs even if you don’t edit any.

                  It can't be a cron. I mean, @bennetbj11 wouldn't have to put a "reboot cron task @04h05" and then come here asking why his pfSense restarts at @04h05
                  Right ?
                  That's would be ... strange.

                  ( I exclude split personality issues, or 'the entire family is admin' situation. )

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SteveITS Galactic Empire @Gertjan
                    last edited by

                    @Gertjan Not to reboot, I'm just thinking of "some task running completely off the rails" which would of course be hard to do. If nothing runs at 4:05 then OP can move on.

                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                    Upvote 👍 helpful posts!

                    GertjanG B 2 Replies Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @SteveITS
                      last edited by

                      @SteveITS

                      I get it, pretty sure myself also there is actual 'reboot cron' there.
                      Could be anything, like the pfSense package pfBlockerng (just an example) or what ever else that has some maintenance task like 'updating DNSBL' or log rotation or something else.

                      That said, a process that 'dies' at the same moment every day, and take the system with it, that's a rare case.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      1 Reply Last reply Reply Quote 0
                      • B
                        bennetbj11 @SteveITS
                        last edited by

                        @SteveITS sorry for the long delay, Cron installed and nothingin the CRON jobs to suggest any reboots, it is just got the standard list of jobs with no adjustments.
                        3ca193be-a737-41bd-8e7d-99f3b8a3c4e7-image.png

                        Also, as it has been a while the reboot has moved back exactly 1 hour to 03:05 each day now since the clocks have changed.

                        Any other Ideas? I am lost as to why this device is doing it.

                        keyserK 1 Reply Last reply Reply Quote 0
                        • M
                          mephib
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • keyserK
                            keyser Rebel Alliance @bennetbj11
                            last edited by

                            @bennetbj11 said in PFsense reboots at the same time every day:

                            Also, as it has been a while the reboot has moved back exactly 1 hour to 03:05 each day now since the clocks have changed.

                            Any other Ideas? I am lost as to why this device is doing it.

                            Okay that really is a strange case. Since the reboots moved back exactly one hour with daylight saving i assume, then the cause has to be external. Since the hardware/pfsense clock moved with daylight saving, then the reboot should remain at 4:05 if it was some internal service/timebased scripts or such.

                            since it didn’t it must be external. So I would look at @stephenw10’s suggestions about power surges. But I don’t think you’ll diagnose this unless you attempt sitting at the console on the box when it happens. Does it throw any errors before hardbooting - fx. No diskstorage found/as in dead SSD/eMMC.

                            Love the no fuss of using the official appliances :-)

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