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

py_error.log errors: maxmindb and _sqlite3 modules not found

Scheduled Pinned Locked Moved pfBlockerNG
10 Posts 6 Posters 3.1k 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.
  • B
    bldnightowl
    last edited by Jun 9, 2021, 8:30 PM

    I am using pfblockerNG-devel 3.0.0_16 with pfSense 21.05 on an SG-3100 and seeing errors like the ones below in py_error.log. Any explanation?

    2021-06-07 00:05:39,966|ERROR| [pfBlockerNG]: Failed to load python module 'maxminddb': No module named 'maxminddb'
    2021-06-07 00:05:39,967|ERROR| [pfBlockerNG]: Failed to load python module 'sqlite3': No module named '_sqlite3'
    
    
    D 1 Reply Last reply Jun 22, 2021, 2:59 PM Reply Quote 0
    • R
      rloeb
      last edited by Jun 12, 2021, 6:40 PM

      I have the same issue.

      M 1 Reply Last reply Jun 16, 2021, 12:56 AM Reply Quote 0
      • M
        mbentley @rloeb
        last edited by Jun 16, 2021, 12:56 AM

        I am currently running 2.5.2-RC with pfBlockerNG 3.0.0_16 and I also see the same:

        2021-06-15 19:54:47,884|ERROR| [pfBlockerNG]: Failed to load python module 'maxminddb': No module named 'maxminddb'
        2021-06-15 19:54:47,884|ERROR| [pfBlockerNG]: Failed to load python module 'sqlite3': No module named '_sqlite3'
        
        1 Reply Last reply Reply Quote 0
        • D
          DaddyGo @bldnightowl
          last edited by DaddyGo Jun 22, 2021, 3:00 PM Jun 22, 2021, 2:59 PM

          @bldnightowl said in py_error.log errors: maxmindb and _sqlite3 modules not found:

          py_error.log. Any explanation?

          Hi,

          After upgrading from 2.5.1 (pfS test box) to 2.5.2.r.20210617.1709, I get the same log entry... (plus yellow DNSBL icon)

          • Deleting the py_error.log in the Logs tab, then Force Reload / all
          • reboot pfSense box (more than once for the test)

          I do not experience this entry,....hereinafter referred to as....

          0f852884-02f0-46b1-8b37-c885de9b24d7-image.png

          BTW:

          https://redmine.pfsense.org/issues/12033 (- by Viktor)

          Cats bury it so they can't see it!
          (You know what I mean if you have a cat)

          R 1 Reply Last reply Jul 12, 2021, 2:46 PM Reply Quote 2
          • R
            Raffi_ @DaddyGo
            last edited by Jul 12, 2021, 2:46 PM

            @daddygo Thank you. I did not reboot my box and so far it is green again. I hope it will stay that way. I rather not reboot since this box is running in production for the office.

            D 1 Reply Last reply Jul 12, 2021, 3:01 PM Reply Quote 0
            • D
              DaddyGo @Raffi_
              last edited by Jul 12, 2021, 3:01 PM

              @raffi_ said in py_error.log errors: maxmindb and _sqlite3 modules not found:

              I hope it will stay that way.

              For sure 😉

              This is some kind of telepathy, I just updated one of the our company pfS "box" and the yellow DNSBL icon came up, I just deleted the py_error.log and everything is ok....

              c0338928-de73-469e-87f3-e9004a92df58-image.png

              Cats bury it so they can't see it!
              (You know what I mean if you have a cat)

              G 1 Reply Last reply Jul 13, 2021, 10:38 AM Reply Quote 0
              • G
                Gertjan @DaddyGo
                last edited by Jul 13, 2021, 10:38 AM

                @daddygo said in py_error.log errors: maxmindb and _sqlite3 modules not found:

                I just deleted the py_error.log and everything is ok....

                Using SSH or SFTP ?
                Possible.

                This is also possible :

                522bfd66-6b15-4114-bf51-9e9656128e7b-image.png

                => have a look at the log using the GUI, and if you see the two lines, then hit the trash can icon.
                => Reload pfBlockerNG.

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

                D 1 Reply Last reply Jul 13, 2021, 2:15 PM Reply Quote 1
                • D
                  DaddyGo @Gertjan
                  last edited by DaddyGo Jul 13, 2021, 2:23 PM Jul 13, 2021, 2:15 PM

                  @gertjan said in py_error.log errors: maxmindb and _sqlite3 modules not found:

                  Using SSH or SFTP ?

                  Yupppp... 😉

                  Yes, this is also a possible way and easier to use... =GUI
                  Say, I when if it's about the log then SSH.... (in most cases)

                  I got used to it, because relatively large "log" sizes are set (on our "boxes") and the GUI is slow to load it

                  Cats bury it so they can't see it!
                  (You know what I mean if you have a cat)

                  G 1 Reply Last reply Jul 13, 2021, 3:03 PM Reply Quote 0
                  • G
                    Gertjan @DaddyGo
                    last edited by Jul 13, 2021, 3:03 PM

                    @daddygo
                    Ok, get it.
                    I would do the same thing, most time.
                    But sometimes I (re) discover that the GUI does have it's advantages.

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

                    D 1 Reply Last reply Jul 24, 2021, 4:28 PM Reply Quote 0
                    • D
                      DaddyGo @Gertjan
                      last edited by Jul 24, 2021, 4:28 PM

                      @gertjan said in py_error.log errors: maxmindb and _sqlite3 modules not found:

                      But sometimes I (re) discover that the GUI does have it's advantages.

                      I agree with this, pfS GUI is sophisticated, but there are some things it can't even do... 😉

                      Cats bury it so they can't see it!
                      (You know what I mean if you have a cat)

                      1 Reply Last reply Reply Quote 0
                      • 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