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

    PFSense is responsive but boot hangs at "starting cron … done"

    Scheduled Pinned Locked Moved 2.3.1 Snapshots Testing and Feedback - ARCHIVED
    5 Posts 2 Posters 3.0k 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
      Blade1
      last edited by

      Hi,

      I have Upgraded pfSense from v2.2 to v2.3. This is the VMware ISO version.

      I have noticed that in the vm console window, pfSense is stuck at "Starting CRON … done"

      PFsense is working fine, it's accessible from over the internet, and I can run commands from the web ui itself (the page in diagnostics I believe). But I would like pfsense to boot up correctly.

      Any ideas?

      Thanks

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

        Hm. Since it has the "done." at the end of the cron line, assuming it doesn't show "Starting NTP …", then it stopped somewhere in here:

        /* set up static routes */
        system_routing_configure();
        
        /* enable routing */
        system_routing_enable();
        
        /* start dnsmasq service */
        services_dnsmasq_configure();
        
        /* start unbound service */
        services_unbound_configure();
        
        /* Enable ntpd */
        echo "Starting NTP time client...";
        
        

        Anything atypical about the routing configuration? Do you have DNS Forwarder or Resolver enabled?

        Anything in the system log that might be relevant?

        1 Reply Last reply Reply Quote 0
        • B
          Blade1
          last edited by

          @cmb:

          Hm. Since it has the "done." at the end of the cron line, assuming it doesn't show "Starting NTP …", then it stopped somewhere in here:

          /* set up static routes */
          system_routing_configure();
          
          /* enable routing */
          system_routing_enable();
          
          /* start dnsmasq service */
          services_dnsmasq_configure();
          
          /* start unbound service */
          services_unbound_configure();
          
          /* Enable ntpd */
          echo "Starting NTP time client...";
          
          

          Anything atypical about the routing configuration? Do you have DNS Forwarder or Resolver enabled?

          Anything in the system log that might be relevant?

          Hmm nothing special in the configuration of this pfSense instance. Has NICs, gateway set (in same subnet), DNS servers, no DNS forwarder etc set.

          I also notice that the CPU is stuck at 99%.

          I've rebooted the firewall to see if I can find anything relevant in the System logs (which I can't atm).

          I may try to build a fresh pfSense VM on 2.3 (this was an upgrade) and see how that performs.

          1 Reply Last reply Reply Quote 0
          • B
            Blade1
            last edited by

            So I rebooted the firewall and saw this in the logs:

            Apr 27 18:57:16 php-fpm 14852 /rc.start_packages: [squid] - squid_resync function call pr: bp: rpc:no
            Apr 27 18:57:16 php-fpm 14852 /rc.start_packages: [squid] Adding cronjobs …
            Apr 27 18:57:16 php-fpm 14852 /rc.start_packages: Checked cron job for /usr/local/sbin/squid -k rotate -f /usr/local/etc/squid/squid.conf, no change needed
            Apr 27 18:57:16 php-fpm 14852 /rc.start_packages: Checked cron job for /usr/local/pkg/swapstate_check.php, no change needed
            Apr 27 18:57:16 php-fpm 14852 /rc.start_packages: [squid] Antivirus features disabled.
            Apr 27 18:57:16 php-fpm 14852 /rc.start_packages: [squid] Removing freshclam cronjob.

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

              @Blade1:

              I also notice that the CPU is stuck at 99%.

              If you run 'top', or Diag>System Activity in the GUI, what process is chewing up the CPU?

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