maxmind / geoipupdate

GeoIP update client code
Apache License 2.0
712 stars 144 forks source link

`AccountID` option is required #293

Closed MatrixInfosec closed 4 months ago

MatrixInfosec commented 5 months ago

When I run "sudo geoipupdate" I get hte error : AccountID option is required. Below is my AccountID line (I obfuscated the last 3 of the account ID. What could be causing issue? This is the preconfigured GeoIP.conf downloaded from my account.

AccountID is from your MaxMind account.

AccountID 988***

oschwald commented 5 months ago

Are you sure that geoipupdate is using the file that you downloaded? I would suggest testing this by explicitly specifying it, e.g., geoipupdate -f <path to file>.

MatrixInfosec commented 5 months ago

Looks like forcing the file with -f works. Strange because I put the file in /usr/local/etc as the instructions say.

oschwald commented 5 months ago

How did you install geoipupdate? If you installed the Debian package, that uses /etc/GeoIP.conf. The instructions mentioned in the docs are for the tarball.

MatrixInfosec commented 5 months ago

I installed the .deb with dpkg.

oschwald commented 4 months ago

I am going to close this. I left this open for a doc update, but I see that we do mention the paths for the different installation methods.