Page 1 of 1

Could not open mmdb files after upgrade

Posted: Sat Nov 07, 2026 2:26 pm
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?

Re: Could not open mmdb files after upgrade

Posted: Sat Nov 07, 2026 2:36 pm
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.

Re: Could not open mmdb files after upgrade

Posted: Sat Nov 07, 2026 2:59 pm
by KP
Ok, thanks a lot!