PFSense is responsive but boot hangs at "starting cron … done"
-
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
-
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?
-
@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.
-
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. -
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?