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

PFBlockerNG 2.1.1_2 Reinstall Errors

Scheduled Pinned Locked Moved pfBlockerNG
7 Posts 3 Posters 1.7k 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.
  • R
    rajl
    last edited by Aug 8, 2016, 7:30 PM

    So I am having even more issues with the latest version of PBBlockerNG.  None of the other solutions people have posted for solving the memory issues with the latest version of PFBlockerNG have actually solved my problems.  So I decided to see what would happen if I uninstalled and reinstalled PFBlockerNG.  This was a "bad idea."  Although I can uninstall and reinstall PFBlocker using the web interface, the actual user interface elements for PFBlockerNG never appear under the firewall settings menu!  Instead, I immediately upon install/reinstall am presented with a memory error the option to send a crash report to the PFSense devs (which I do).  However, no changes to the UI to allow me to configure PFBlockerNG appear.

    1 Reply Last reply Reply Quote 0
    • R
      RonpfS
      last edited by Aug 8, 2016, 7:39 PM

      @rajl:

      So I am having even more issues with the latest version of PBBlockerNG.  None of the other solutions people have posted for solving the memory issues with the latest version of PFBlockerNG have actually solved my problems.  So I decided to see what would happen if I uninstalled and reinstalled PFBlockerNG.  This was a "bad idea."  Although I can uninstall and reinstall PFBlocker using the web interface, the actual user interface elements for PFBlockerNG never appear under the firewall settings menu!  Instead, I immediately upon install/reinstall am presented with a memory error the option to send a crash report to the PFSense devs (which I do).  However, no changes to the UI to allow me to configure PFBlockerNG appear.

      If you are on a i386 system, the MaxMind database may fail during installation.
      Can you post the installation log of pfblockerNG to see what's wrong?
      Did you look at the system log ? Log for pfblockerNG are in /var/log/pfblockerng

      Can you access the pfblocker tab with https://YOURFW.FQDN/pkg_edit.php?xml=pfblockerng.xml ?

      There is also an issue with package installation, see the sticky in package forum

      2.4.5-RELEASE-p1 (amd64)
      Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
      Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

      1 Reply Last reply Reply Quote 0
      • R
        rajl
        last edited by Aug 9, 2016, 12:27 AM

        @RonpfS:

        If you are on a i386 system, the MaxMind database may fail during installation.

        This should not be an issue as I am running 64-bit.

        @RonpfS:

        Can you post the installation log of pfblockerNG to see what's wrong?

        Yep.  Below is the output from an installation/reinstallation of pfblocker.  As you can see, there are no errors.

        
        >>> Upgrading pfSense-pkg-pfBlockerNG... 
        Updating pfSense-core repository catalogue...
        pfSense-core repository is up-to-date.
        Updating pfSense repository catalogue...
        pfSense repository is up-to-date.
        All repositories are up-to-date.
        Checking integrity... done (0 conflicting)
        The following 1 package(s) will be affected (of 0 checked):
        
        Installed packages to be REINSTALLED:
        	pfSense-pkg-pfBlockerNG-2.1.1_2 [pfSense]
        
        Number of packages to be reinstalled: 1
        [1/1] Reinstalling pfSense-pkg-pfBlockerNG-2.1.1_2...
        [1/1] Extracting pfSense-pkg-pfBlockerNG-2.1.1_2: .......... done
        Removing pfBlockerNG components...
        Menu items... done.
        Services... done.
        Loading package instructions...
        Removing pfBlockerNG... All customizations/data will be retained... done.
        Saving updated package information...
        overwrite!
        Loading package configuration... done.
        Configuring package components...
        Loading package instructions...
        Custom commands...
        Executing custom_php_install_command()...
        MaxMind GeoIP databases previously downloaded.
        Adding pfBlockerNG Widget to the Dashboard... done.
        Remove any existing and create link for DNSBL lighttpd executable... done.
        Creating DNSBL web server start-up script... done.
        Creating DNSBL web server config ... done.
        Starting DNSBL Service... done.
        Upgrading Adv. Inbound firewall rule settings ... no changes required ... done.
        Custom commands completed ... done.
        Executing custom_php_resync_config_command()...1 table created.
        1/1 addresses added.
        pkg: POST-INSTALL script failed
        >>> Cleaning up cache... done.
        Success
        
        

        However, immediately after installation/reinstallation, I get the following crash notification:

        
        					Crash report begins.  Anonymous machine information:
        
        amd64
        10.3-RELEASE-p5
        FreeBSD 10.3-RELEASE-p5 #0 7307492(RELENG_2_3_2): Tue Jul 19 13:29:35 CDT 2016     root@ce23-amd64-builder:/builder/pfsense-232/tmp/obj/builder/pfsense-232/tmp/FreeBSD-src/sys/pfSense
        
        Crash report details:
        
        PHP Errors:
        [08-Aug-2016 20:17:32 America/New_York] PHP Fatal error:  Allowed memory size of 104857600 bytes exhausted (tried to allocate 24 bytes) in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3867
        [08-Aug-2016 20:17:32 America/New_York] PHP Stack trace:
        [08-Aug-2016 20:17:32 America/New_York] PHP   1\. {main}() /etc/rc.start_packages:0
        [08-Aug-2016 20:17:32 America/New_York] PHP   2\. sync_package() /etc/rc.start_packages:90
        [08-Aug-2016 20:17:32 America/New_York] PHP   3\. eval() /etc/inc/pkg-utils.inc:631
        [08-Aug-2016 20:17:32 America/New_York] PHP   4\. sync_package_pfblockerng() /etc/inc/pkg-utils.inc(631) : eval()'d code:3
        [08-Aug-2016 20:17:32 America/New_York] PHP   5\. file() /usr/local/pkg/pfblockerng/pfblockerng.inc:3867
        
        

        @RonpfS:

        Did you look at the system log ? Log for pfblockerNG are in /var/log/pfblockerng

        I did, but didn't see anything.

        @RonpfS:

        Can you access the pfblocker tab with https://YOURFW.FQDN/pkg_edit.php?xml=pfblockerng.xml

        Nope. This page does not exist after I reinstalled pfblocker.

        1 Reply Last reply Reply Quote 0
        • R
          rajl
          last edited by Aug 9, 2016, 12:28 AM

          No idea if it matters, but I got this problem when doing the following upgrade path:

          2.0.17 (installed flawlessly) -> 2.1.1_2 (upgrade was fine, but had out of memory errors) -> reinstall 2.1.1_2 (which is causing current issues described in this thread).

          1 Reply Last reply Reply Quote 0
          • Y
            yuljk
            last edited by Aug 13, 2016, 4:08 PM

            Same issue here uninstalling and re-installing the latest version.

            How is a clean install performed? - I'm guessing there are remnants of the previous installation still present, hence the immediate crash report.

            I've noticed another post referencing an uninstallation script someone wrote, is this still required to get a 'clean' install for pfBlockerng?

            1 Reply Last reply Reply Quote 0
            • R
              RonpfS
              last edited by Aug 13, 2016, 4:54 PM

              @yuljk:

              Same issue here uninstalling and re-installing the latest version.

              How is a clean install performed? - I'm guessing there are remnants of the previous installation still present, hence the immediate crash report.

              I've noticed another post referencing an uninstallation script someone wrote, is this still required to get a 'clean' install for pfBlockerng?

              Can you provide more information on you system like architecture, memory, etc?
              What did the installation log tells you? System log?

              2.4.5-RELEASE-p1 (amd64)
              Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
              Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

              1 Reply Last reply Reply Quote 0
              • R
                RonpfS
                last edited by Aug 14, 2016, 2:28 AM Aug 14, 2016, 1:50 AM

                To install or re-install pfBlockerNG 2.1.1_2

                https://forum.pfsense.org/index.php?topic=102470.msg647400#msg647400

                2.4.5-RELEASE-p1 (amd64)
                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received