in reply to Re^12: Help with Geo::IP output
in thread Help with Geo::IP output

The config file (geoip.rc) wasn't read because of permission. It was 644 but it must be 600 - sought help from the hosting.

I finally managed to create the file with the total size of 510,100,144 (someone posted this size too) so I think the db is complete. I say this because when I ran the --fetch command, there was no success message when it ended:

user@myhost ~]$ geoip --fetch --DB=dbi:SQLite:dbname=geoip.db 2020-06-22 19:16:39 4689345 304 2020-06-22 19:16:39 4689345 2020-06-16 11:13:32 1805947 304 2020-06-16 11:13:32 1805947 2020-06-16 11:19:50 41827687 304 2020-06-16 11:19:50 41827687 Reading City info ... Reading City IPv4 info .. user@myhost ~]$

So I thought I should be able to run the command below now that the geoip.db is set up:

[user@myhost ~]$ geoip -w FATAL: no pg_hba.conf entry for host "[local]", user "user", database + "geoip", SSL off Cannot continue without a working database

What am I still missing?