"PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728" after installing latest pfBlockerNG 3.2.0_12
-
As it says in subj. getting this error when would like to see Dashboard. Device by itself seems to be working OK. Any help will be appreciated. Thanks in advance.
Crash report begins. Anonymous machine information:
arm
15.0-CURRENT
FreeBSD 15.0-CURRENT #1 plus-RELENG_24_03-n256311-e71f834dd81: Fri Apr 19 00:24:55 UTC 2024 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/obj/armv7/07ElPskS/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/sources/FreeBSCrash report details:
PHP Errors:
[03-Jul-2024 15:18:09 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 15:21:21 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 15:41:00 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 15:41:24 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 17:01:47 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 17:08:52 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 17:21:30 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 17:21:40 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 21:48:58 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 21:59:31 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728
[03-Jul-2024 22:36:00 Europe/Oslo] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728No FreeBSD crash data found.
-
Do you see any other errors in the system log?
Or errors in the pfBlocker update logs?
That's a very generic place to see an error like that but it implies some missing config.
Steve
-
Hi Steve, thanks for prompt respond...
There are nothing in system logs...
Looks like pfBlocker starts update and never finish it. Many hours later I rebooted mine 3100 and there are still persistent locks:
[24.03-RELEASE][admin@pfSense.home.arpa]/root: ps ax | grep 'pkg'
15308 - R 4:01.45 /usr/local/bin/php -f /etc/rc.packages pfSense-pkg-pfBlockerNG DEINSTALL
69161 - I 0:00.01 /bin/sh /usr/local/sbin/pfSense-upgrade -y -l /cf/conf/pkg_log_pfSense-pkg-pfBlockerNG.txt -p /tmp/pfS
70466 - I 0:00.00 /usr/bin/lockf -s -t 5 /tmp/pfSense-upgrade.lock /usr/local/libexec/pfSense-upgrade -y -l /cf/conf/pkg
70645 - I 0:00.02 /bin/sh /usr/local/libexec/pfSense-upgrade -y -l /cf/conf/pkg_log_pfSense-pkg-pfBlockerNG.txt -p /tmp/
92879 - I 0:00.00 /bin/sh /usr/local/libexec/pfSense-upgrade -y -l /cf/conf/pkg_log_pfSense-pkg-pfBlockerNG.txt -p /tmp/
93015 - I 0:00.00 /bin/sh /usr/local/libexec/pfSense-upgrade -y -l /cf/conf/pkg_log_pfSense-pkg-pfBlockerNG.txt -p /tmp/
93124 - IC 0:00.01 tee -a /cf/conf/pkg_log_pfSense-pkg-pfBlockerNG.txt
93207 - I 0:00.01 /usr/local/sbin/pkg-static -o EVENT_PIPE=/tmp/pfSense-upgrade.sock upgrade -f pfSense-pkg-pfBlockerNG
93411 - S 0:01.82 /usr/local/sbin/pkg-static -o EVENT_PIPE=/tmp/pfSense-upgrade.sock upgrade -f pfSense-pkg-pfBlockerNG
60306 0 S+ 0:00.01 grep pkgI think it's pfBlocker issue. I will poke around, but affraid I need reset to factory settings and reconfigure from scratch.
Thanks. -
Hmm, those are all actual pkg processes not pfBlocker itself. I would expect those to finish eventually.
It's trying to upgrade pfBlocker there. Did you initiate that after the reboot?
-
@stephenw10 said in "PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728" after installing latest pfBlockerNG 3.2.0_12:
Did you initiate that after the reboot?
Yes.
Actually it's like this for couple days:
[24.03-RELEASE][admin@pfSense.home.arpa]/root: ps ax | grep 'pkg'
15308 - R 1380:47.92 /usr/local/bin/php -f /etc/rc.packages pfSense-pkg-pf
93124 - IC 0:00.01 tee -a /cf/conf/pkg_log_pfSense-pkg-pfBlockerNG.txt
93207 - I 0:00.01 /usr/local/sbin/pkg-static -o EVENT_PIPE=/tmp/pfSense
93411 - S 0:05.78 /usr/local/sbin/pkg-static -o EVENT_PIPE=/tmp/pfSense
94390 - IN 0:00.00 /bin/sh /etc/rc.update_pkg_metadata
85486 0 R+ 0:00.00 grep pkg -
Still there after a reboot?
-
@stephenw10 said in "PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728" after installing latest pfBlockerNG 3.2.0_12:
Still there after a reboot?
yes.
-
Hmm, that's odd.
I would try to remove then reinstall pfBlocker. You may need to kill those pkg processes to allow that.
-
Hello
I have the same error and problem on my PFSense 6100 Max.
I have upgrade to the las version of pfBlockerNG 3.2.0_12.
I have reboot, re-install PFSense, try to delete the package nothing to do....
The package pfBlockerNG 3.2.0_12 is always present.
How we can reinitalize the PFSense and in the same time delete all the packages forcefully?
Thanks
Best regards
Laurent -
You are still seeing the pkg upgrade process running?
-
@stephenw10 said in "PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728" after installing latest pfBlockerNG 3.2.0_12:
You are still seeing the pkg upgrade process running?
no, there is no upgrade process running
worse, I am haven't access to the package manager ... Always work in progress to display the packages
Is it possible to format all the PFSense to reset all without packages?
I think it's the better solution to fix the problem today... -
I mean as shown above there are no stuck pkg processes in system activity or output of
ps aux
?You can remove pkgs from the CLI.
You can reset the config if required.
-
Yes but on my PFSense, impossible to delete the package.
The processus start but block at one moment and not continue....
I don't understand why... -
Try removing it from the command line with:
pkg remove pfSense-pkg-pfBlockerNG
See what errors you get. If any. -
Hello
I Have execute many time the command and after multi iterration, I have finally removed pfBlocker...
I have wait a very long time between the execution and the waiting the system said me the remove it's done or in error...
Very strange this version 12 of pfBlocker...
The next time, I will wait many time before upgrade my version..
Laurent -
-
@Hirugoba
Eventually I did "factory reset" and after some poking around "/etc/inc/util.inc" error happened couple times more.Reinstalled appliance from image (24.03) and re-configured it manually (I mean not from back-up).
-
@Gertjan Hello
I have juste do a update the PFBlocker when I have see the button "Update" on the package manager for a version available....
I don't know if it's a dev or release version...
On my PFSense I am in 24.03 also but at one moment in june or may there is this package available... and after a lot of problems...
Bug? Maybe .... -
AFAIK that would only ever have been available in 24.08-dev. If you somehow selected the dev branch and then didn't upgrade to 24.08 you might have seen the update the pfBlocker. If you then tried to upgrade to that without first upgrading to 24.08 it would probably have failed.
If you are running ZFS I would roll back to the last good BE and upgrade again to 24.03 (if needed). -
For my part, I never use a dev version, only a stable.
So for the probability of the selection of dev branch is very very low...