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

    "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

    Scheduled Pinned Locked Moved General pfSense Questions
    104 Posts 20 Posters 24.6k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      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

      H 1 Reply Last reply Reply Quote 0
      • H
        Hirugoba @stephenw10
        last edited by

        @stephenw10

        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 pkg

        I think it's pfBlocker issue. I will poke around, but affraid I need reset to factory settings and reconfigure from scratch.
        Thanks.

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

          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?

          H 1 Reply Last reply Reply Quote 0
          • H
            Hirugoba @stephenw10
            last edited by

            @stephenw10

            @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

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

              Still there after a reboot?

              H 1 Reply Last reply Reply Quote 0
              • H
                Hirugoba @stephenw10
                last edited by

                @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.

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

                  Hmm, that's odd.

                  I would try to remove then reinstall pfBlocker. You may need to kill those pkg processes to allow that.

                  1 Reply Last reply Reply Quote 0
                  • R
                    rabbiwan
                    last edited by

                    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

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

                      You are still seeing the pkg upgrade process running?

                      1 Reply Last reply Reply Quote 0
                      • R
                        rabbiwan
                        last edited by

                        @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
                        0eac782c-1442-4d4f-9a77-4b00b99614f7-image.png

                        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...

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

                          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.

                          1 Reply Last reply Reply Quote 0
                          • R
                            rabbiwan
                            last edited by

                            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...

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

                              Try removing it from the command line with:
                              pkg remove pfSense-pkg-pfBlockerNG
                              See what errors you get. If any.

                              1 Reply Last reply Reply Quote 1
                              • R
                                rabbiwan
                                last edited by

                                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

                                GertjanG 1 Reply Last reply Reply Quote 0
                                • GertjanG
                                  Gertjan @rabbiwan
                                  last edited by

                                  @rabbiwan

                                  Do you also use the pfSense development version (snapshot) of pfSense, as @Hirugoba ?
                                  Or the current 24.03 ?

                                  Didn't even know that pfBlockerNG 3.2.0_12 was out and available.
                                  Or is _12 for the dev version only ?

                                  My 24.03 (non dev !) says : your' up to date, and the version is :

                                  4cde8ae2-d3be-4208-9595-99f2a9a17b33-image.png

                                  No "help me" PM's please. Use the forum, the community will thank you.
                                  Edit : and where are the logs ??

                                  R 1 Reply Last reply Reply Quote 1
                                  • H
                                    Hirugoba @Hirugoba
                                    last edited by

                                    @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).

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      rabbiwan @Gertjan
                                      last edited by

                                      @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 ....

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

                                        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).

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rabbiwan
                                          last edited by

                                          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...

                                          GertjanG 1 Reply Last reply Reply Quote 0
                                          • GertjanG
                                            Gertjan @rabbiwan
                                            last edited by

                                            @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.

                                            No "help me" PM's please. Use the forum, the community will thank you.
                                            Edit : and where are the logs ??

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