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

pfBng Widget error, 3.2.0_5 (not devel)

Scheduled Pinned Locked Moved pfBlockerNG
15 Posts 2 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.
  • P
    provels @fireodo
    last edited by Jul 13, 2023, 2:16 PM

    @fireodo No, but I'll try. It's zero byte anyway.
    a6dd220e-5c35-472d-b175-2b19c78ba5ac-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)

    F 1 Reply Last reply Jul 13, 2023, 2:30 PM Reply Quote 0
    • F
      fireodo @provels
      last edited by Jul 13, 2023, 2:30 PM

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

      No, but I'll try. It's zero byte anyway.

      In this case it has to be something else ... 🤔

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

      P 1 Reply Last reply Jul 13, 2023, 3:31 PM Reply Quote 0
      • P
        provels @fireodo
        last edited by Jul 13, 2023, 3:31 PM

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

        P 1 Reply Last reply Jul 13, 2023, 11:42 PM Reply Quote 0
        • P
          provels @provels
          last edited by provels Jul 13, 2023, 11:43 PM Jul 13, 2023, 11:42 PM

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

          P 1 Reply Last reply Jul 14, 2023, 12:35 AM Reply Quote 0
          • P
            provels @provels
            last edited by provels Jul 14, 2023, 12:36 AM Jul 14, 2023, 12:35 AM

            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)

            F 1 Reply Last reply Jul 14, 2023, 8:19 AM Reply Quote 0
            • F
              fireodo @provels
              last edited by Jul 14, 2023, 8:19 AM

              @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.8.0 CE
              Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

              P 1 Reply Last reply Jul 14, 2023, 1:58 PM Reply Quote 0
              • P
                provels @fireodo
                last edited by Jul 14, 2023, 1:58 PM

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

                F 1 Reply Last reply Jul 14, 2023, 5:05 PM Reply Quote 0
                • F
                  fireodo @provels
                  last edited by Jul 14, 2023, 5:05 PM

                  @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.8.0 CE
                  Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                  P 1 Reply Last reply Jul 14, 2023, 5:50 PM Reply Quote 0
                  • P
                    provels @fireodo
                    last edited by provels Jul 14, 2023, 5:51 PM Jul 14, 2023, 5:50 PM

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

                    F 1 Reply Last reply Jul 15, 2023, 1:50 AM Reply Quote 0
                    • F
                      fireodo @provels
                      last edited by fireodo Jul 15, 2023, 7:26 AM Jul 15, 2023, 1:50 AM

                      @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.8.0 CE
                      Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                      P 1 Reply Last reply Jul 15, 2023, 1:55 PM Reply Quote 0
                      • P
                        provels @fireodo
                        last edited by Jul 15, 2023, 1:55 PM

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

                        F 1 Reply Last reply Jul 15, 2023, 2:19 PM Reply Quote 1
                        • F
                          fireodo @provels
                          last edited by Jul 15, 2023, 2:19 PM

                          @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.8.0 CE
                          Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                          1 Reply Last reply Reply Quote 0
                          • P
                            provels
                            last edited by Apr 14, 2024, 3:40 PM

                            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.
                              This community forum collects and processes your personal information.
                              consent.not_received