Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^15: Help with Geo::IP output

by marto (Cardinal)
on Jun 25, 2020 at 07:27 UTC ( [id://11118493]=note: print w/replies, xml ) Need Help??


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

The documentation shows you $home not /home, but to avoid confusion:

echo $HOME /home/marto

Copy this config file in the home directory of the user running the script.

Replies are listed 'Best First'.
Re^16: Help with Geo::IP output
by Anonymous Monk on Jun 25, 2020 at 07:41 UTC

    I made three files "geoip.rc", ".geoiprc" and "geoip" all containing the same two lines of licence ID and license key in the format prescribed and uploaded respectively to:

    /home/user/geoip.rc /home/user/.geoiprc /home/me/.config/geoip

    I'm still getting the same thing. I see geoip.db created in the "/home/user/dat" directory where I ran the geoip command. Do I have to run the geoip command at "/home/user"?

    I'm not a paid user of Maxmind - signed up as a free user. Is that why my license key is not recognised?

        Old versions of our GeoIP Update program use a different license key +format. Will this key be used for GeoIP Update? Yes No 1) Generate a license key and config file for use with geopipupdate ve +rsion 3.1.1 or newer. 2) Generate a license key and config file for use with geoipupdate ver +sions older than 3.1.1. This key will be stored in an unhashed format.

        The license key I generated earlier was based on my selecting No. Now I tried selecting Yes and I have to choose one of the two options (option 1 or 2). Which one should I choose? Could that (selecting No earlier) be the reason?

        Saw that and made the correction and thought it would work right after, but still getting the same thing.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118493]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found