"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
-
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... -
@rabbiwan
Ok, thanks for the feedback.AFAIK, the pfSense Packet Manager offers today, for me pfBlockerng-devel version 3.2.0_10 - the _12 has not been released yet. It is in the works, though.
If you remove / de install this _12 version and _12 is proposed upon install again, consider your system 'not well'.
As stated above, as you have ZFS, roll back to a more stable situation - the real pfSense '24.03'.
See it like this : you don't want Microsoft 11 updates if you have Windows 10 installed, that will break your system.