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

    pfBng Widget error, 3.2.0_5 (not devel)

    pfBlockerNG
    2
    15
    1.4k
    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.
    • provelsP
      provels @fireodo
      last edited by

      @fireodo Sledgehammer. Deleted all logs and downloaded feeds. Reloading now.

      Peder

      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

      provelsP 1 Reply Last reply Reply Quote 0
      • provelsP
        provels @provels
        last edited by provels

        @provels said in pfBng Widget error, 3.2.0_5 (not devel):

        @fireodo Sledgehammer. Deleted all logs and downloaded feeds. Reloading now.

        Did not help. Weird. You may be on to something with the py_error.log.

        Deleted the logs one by one and finally the py log threw a php error. Will continue.

        Fatal error: Uncaught TypeError: ftruncate(): Argument #1 ($stream) must be of type resource, bool given in /usr/local/www/pfblockerng/pfblockerng_log.php:313 Stack trace: #0 /usr/local/www/pfblockerng/pfblockerng_log.php(313): ftruncate(false, 0) #1 {main} thrown in /usr/local/www/pfblockerng/pfblockerng_log.php on line 313 PHP ERROR: Type: 1, File: /usr/local/www/pfblockerng/pfblockerng_log.php, Line: 313, Message: Uncaught TypeError: ftruncate(): Argument #1 ($stream) must be of type resource, bool given in /usr/local/www/pfblockerng/pfblockerng_log.php:313 Stack trace: #0 /usr/local/www/pfblockerng/pfblockerng_log.php(313): ftruncate(false, 0) #1 {main} thrown
        

        Peder

        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

        provelsP 1 Reply Last reply Reply Quote 0
        • provelsP
          provels @provels
          last edited by provels

          Yeah, something with the logs. I had knocked the pfB logs down to 100 entries and had no issues. Raised them to the default 20K and caught the error. Back to 100, it's fine. Oh well, I guess I'm good.
          👍
          Thanks for reading!

          Peder

          MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
          BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

          fireodoF 1 Reply Last reply Reply Quote 0
          • fireodoF
            fireodo @provels
            last edited by

            @provels said in pfBng Widget error, 3.2.0_5 (not devel):

            Raised them to the default 20K and caught the error. Back to 100, it's fine. Oh well, I guess I'm good.

            Are you using a RamDisk or is your space limited in some way? Anyway glad that you resolved the issue ...

            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
            pfsense 2.7.2 CE
            Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

            provelsP 1 Reply Last reply Reply Quote 0
            • provelsP
              provels @fireodo
              last edited by

              @fireodo No real limitations. I have 16GB RAM and a 64GB SSD. Tried both disk and 4GB ramdisk with 20K entries (which is listed as default) and had the error. It's really a killer box (i7) for a single user.
              c7b639cb-b6b1-471a-ad68-e4112dea5c02-image.png

              Peder

              MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
              BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

              fireodoF 1 Reply Last reply Reply Quote 0
              • fireodoF
                fireodo @provels
                last edited by

                @provels said in pfBng Widget error, 3.2.0_5 (not devel):

                Tried both disk and 4GB ramdisk with 20K entries (which is listed as default) and had the error.

                Very strange - I have a tiny box (compared to yours) and now problems with standard settings ... 🤔

                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                pfsense 2.7.2 CE
                Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                provelsP 1 Reply Last reply Reply Quote 0
                • provelsP
                  provels @fireodo
                  last edited by provels

                  @fireodo If I may ask, when you look at your pfB log file config, is the box filled as 20,000 or 20000 (without comma)? I was trying to find where these numbers are saved, but not yet found. I was wondering if the comma had anything to do with it, but don't change anything on my account. I can't even load 1,000 successfully.

                  Peder

                  MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                  BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                  fireodoF 1 Reply Last reply Reply Quote 0
                  • fireodoF
                    fireodo @provels
                    last edited by fireodo

                    @provels said in pfBng Widget error, 3.2.0_5 (not devel):

                    is the box filled as 20,000 or 20000 (without comma)?

                    With comma: "20,000"
                    Bildschirmfoto zu 2023-07-15 09-23-49.png

                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                    pfsense 2.7.2 CE
                    Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                    provelsP 1 Reply Last reply Reply Quote 0
                    • provelsP
                      provels @fireodo
                      last edited by

                      @fireodo Thanks for that. Guess I'll just stick to 100 here. Maybe a crush and rebuild would help but probably not that important in my tiny environment. Thanks again.

                      Peder

                      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                      fireodoF 1 Reply Last reply Reply Quote 1
                      • fireodoF
                        fireodo @provels
                        last edited by

                        @provels said in pfBng Widget error, 3.2.0_5 (not devel):

                        Thanks again.

                        You're welcome!

                        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                        pfsense 2.7.2 CE
                        Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                        1 Reply Last reply Reply Quote 0
                        • provelsP
                          provels
                          last edited by

                          Just updating this. Turned out to be a bad SmartTV blocklist causing the error.

                          Peder

                          MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                          BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

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