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

DNSBL (Python mode) errors Found!

Scheduled Pinned Locked Moved pfBlockerNG
7 Posts 3 Posters 706 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.
  • T
    TAC57
    last edited by Jun 3, 2024, 12:04 PM

    Can anyone tell me what's going on with this pfBlockerNG-Devel error?

    7fa772dd-4c59-4eaf-a8aa-1ceecad9ee75-image.png

    Log file is full of:
    |ERROR| [pfBlockerNG]: Failed to open MaxMind DB: Error opening database file (/usr/local/share/GeoIP/GeoLite2-Country.mmdb). Is this a valid MaxMind DB file?

    I'm running I'm running pfSense+ - 24.03 and pfBlockerNG-devel - 3.2.0_10.
    I've also updated my MaxMind license key with no luck. I see from the MaxMind website there is an update to the config file but I would think pfBlockerNG would deal with this.

    F G 2 Replies Last reply Jun 3, 2024, 2:24 PM Reply Quote 0
    • F
      fireodo @TAC57
      last edited by Jun 3, 2024, 2:24 PM

      @TAC57 said in DNSBL (Python mode) errors Found!:

      I've also updated my MaxMind license key with no luck.

      You have to use not only your MaxMind license Key but also your account ID:

      maxmind.png

      If you have done that you can delete the py_error.log file and do a force update.

      my 2cents

      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
      • G
        Gertjan @TAC57
        last edited by Gertjan Jun 3, 2024, 2:25 PM Jun 3, 2024, 2:24 PM

        @TAC57 said in DNSBL (Python mode) errors Found!:

        I've also updated my MaxMind license key with no luck.

        Noop.
        You have to visit their web site and "do what needs to be done".
        Then copy and paste the new licence key into pfSense.
        From the on, pfSense will be able to download the needed files.
        Like this one :
        90f2aabc-31ff-4bbd-8eb6-e5d75a7361fa-image.png

        There is a forum post about it (way back) when things changed.

        To reste the error :
        Open the py_error log file and mouse click the trash button.
        Do a force reload all, and the yellow icon on the dashboard will be gone.

        e6354b30-9706-4357-9026-ad7fabfea0ab-image.png

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

        T 2 Replies Last reply Jun 7, 2024, 5:37 PM Reply Quote 0
        • T
          TAC57 @Gertjan
          last edited by Jun 7, 2024, 5:37 PM

          @Gertjan From your screen shot it looks like you logged into you pfSense box with WinSCP. I can't seem to do that.

          I also when to MaxMind.com and couldn't figure out exactly what I need to do to keep pfBlocker happy. I did reenter my ID and a new lic key with no luck.

          G 1 Reply Last reply Jun 10, 2024, 7:30 AM Reply Quote 0
          • T
            TAC57 @Gertjan
            last edited by Jun 8, 2024, 4:49 PM

            @Gertjan Is doing what needs to be done just creating a license key?

            1 Reply Last reply Reply Quote 0
            • G
              Gertjan @TAC57
              last edited by Jun 10, 2024, 7:30 AM

              @TAC57 said in DNSBL (Python mode) errors Found!:

              I can't seem to do that.

              SFTP == SSH.
              Does SSH works for you - did you activate it ?
              Of course I use SFTP (WinSCP), as this permits me to browse the pfSense file system like Windows explorer ...
              A SFTP is as mandatory (for me) same as using Putty, the SSH (Windows) client.

              396e3fb0-5910-4b1a-96aa-7c52975598f1-image.png

              @TAC57 said in DNSBL (Python mode) errors Found!:

              I also when to MaxMind.com and couldn't figure out exactly what I need to do to keep pfBlocker happy. I did reenter my ID and a new lic key with no luck.

              bbcan177 posted in this forum a how-to where he shows how to get a key and what to do with it.

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

              T 1 Reply Last reply Jun 10, 2024, 4:49 PM Reply Quote 0
              • T
                TAC57 @Gertjan
                last edited by Jun 10, 2024, 4:49 PM

                @Gertjan I have the secure shell server enabled and the correct port set and WinSCP is working just fine.

                As far as pfBlocker, I've had an ID and license key in pfBlocker for quite some time and it has worked just fine. From you previous comment I didn't know if there was something else I needed to do.

                pfBlocker is running just fine now and MaxMind is reporting it is happy with successful download. I ended up uninstalling pfBlockerNG-devel and reinstalling pfBlockerNG, and getting a brand new MaxMind license. I'm really not sure why things are now working.

                In addition to pfBlockerNG working I can also get a listing of available packages from the package manager. Previously this wouldn't list anything.

                What version of pfBlocker are you running -devel?

                Thanks,
                -TAC

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