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

    automatic reboot right after boot finished?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 730 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.
    • F
      fandabrabec
      last edited by

      pfSense seems to reboot automatically (using rc.initial.reboot script) shortly after it finishes booting up. Per my Github search, this script is only used by the Reboot system console menu option. Anyone has any idea what is going on? There was nobody at the console at the time so nobody pressed the menu option manually. Thanks.

      Aug 4 22:53:25	root	23873	Bootup complete
      Aug 4 22:53:26	php	21921	[pfBlockerNG] filterlog daemon started
      Aug 4 22:53:26	php	23323	[pfBlockerNG] DNSBL parser daemon started
      Aug 4 22:53:27	login	28471	login on ttyv0 as root
      Aug 4 22:53:27	sshguard	31051	Now monitoring attacks.
      Aug 4 22:55:08	php	32198	rc.initial.reboot: Stopping all packages.
      Aug 4 22:55:08	upsmon	17901	Signal 15: exiting
      Aug 4 22:55:08	lighttpd_pfb	40586	[pfBlockerNG] DNSBL Webserver stopped
      Aug 4 22:55:09	tail_pfb	42573	[pfBlockerNG] Firewall Filter Service stopped
      Aug 4 22:55:09	php_pfb	42640	[pfBlockerNG] filterlog daemon stopped
      Aug 4 22:55:11	reboot	47706	rebooted by root
      Aug 4 22:55:11	syslogd		exiting on signal 15
      Aug 4 22:56:01	syslogd		kernel boot file is /boot/kernel/kernel
      Aug 4 22:56:01	kernel		pflog0: promiscuous mode disabled
      Aug 4 22:56:01	kernel		Waiting (max 60 seconds) for system process `vnlru' to stop... done
      Aug 4 22:56:01	kernel		Waiting (max 60 seconds) for system process `syncer' to stop...
      Aug 4 22:56:01	kernel		Syncing disks, vnodes remaining... 2 1 0 0 done
      Aug 4 22:56:01	kernel		Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done
      Aug 4 22:56:01	kernel		Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... done
      Aug 4 22:56:01	kernel		Waiting (max 60 seconds) for system thread `bufspacedaemon-1' to stop... done
      Aug 4 22:56:01	kernel		All buffers synced.
      Aug 4 22:56:01	kernel		Uptime: 3m34s
      Aug 4 22:56:01	kernel		---<<BOOT>>---
      Aug 4 22:56:01	kernel		Copyright (c) 1992-2021 The FreeBSD Project.
      Aug 4 22:56:01	kernel		Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
      Aug 4 22:56:01	kernel		The Regents of the University of California. All rights reserved.
      
      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        It could also be triggered from the gui. Was there anyone logged in anywhere?

        F 1 Reply Last reply Reply Quote 0
        • F
          fandabrabec @stephenw10
          last edited by

          @stephenw10 Nothing manual was involved. I am thinking something (package?) may be waiting for something to come up after boot and if it doesn't, it reboots automatically using this script.

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

            Of the things I can see there upsmon looks most likely. So NUT or apcupsd.

            That also seems to tie in with your other thread.

            F 1 Reply Last reply Reply Quote 0
            • F
              fandabrabec @stephenw10
              last edited by

              @stephenw10 right, so not sure if nut would do such a thing, something like if it can't communicate with UPS after booting up, it would trigger a reboot?

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

                I would not expect it to. Disabling NUT as a test is pretty easy though.

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