Could not open mmdb files after upgrade

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Post Reply
KP
Posts: 2
Joined: Sat Nov 07, 2026 2:22 pm

Could not open mmdb files after upgrade

Post by KP »

Hello, I just upgraded my IRCd to latest one, noticed something about GeoIP and added mmdb to my conf as stated.

Code: Select all

@define $NO_DEFAULT_GEOIP "1"
loadmodule "geoip_mmdb";
set {
    geoip-mmdb {
        database "GeoLite2-Country.mmdb";
        asn-database "GeoLite2-ASN.mmdb";
    }
}

But after restart i get:
data/GeoLite2-Country.mmdb' - Could not open database file
data/GeoLite2-ASN.mmdb' - Could not open database file

How to download those files?
Syzop
UnrealIRCd head coder
Posts: 2194
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Could not open mmdb files after upgrade

Post by Syzop »

You could just remove those lines that you pasted. Because if you don't have those, then UnrealIRCd will download mmdb files from the internet and everything should be good. This makes the whole geoip feature work by default, so to say.

The NO_DEFAULT_GEOIP and the rest that you are doing... that is only if you don't want that and if you already have the .mmdb files yourself.
KP
Posts: 2
Joined: Sat Nov 07, 2026 2:22 pm

Re: Could not open mmdb files after upgrade

Post by KP »

Ok, thanks a lot!
Post Reply