Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^16: Help with Geo::IP output

by Tux (Abbot)
on Jun 25, 2020 at 12:44 UTC ( #11118527=note: print w/replies, xml ) Need Help??


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

All kinds of suggestions now committed. Note all the errors in the command line and how you get feedback:

  1. Nonexistent driver (type in driver name). You get the same error if you typed it correctly but the driver cannot load for whatever reason:

    $ perl ./geoip --no-fetch --DB=dbi:SQXLite:dbname=geoip.db Cannot continue without a working database Did you forget to install DBD::SQXLite?
  2. The dbx: part won't ever find a (standard) driver, so
  3. $ perl ./geoip --no-fetch -DB=dbx:SQLite:dbname=geoip.db Cannot continue without a working database Maybe the matching DBD for dbx:SQLite:dbname=geoip.db is not insta +lled

I also made a few adjustments to the documentation based on marto's feedback. Thank you!

(FWIW I have no idea what the errors will be if the machine does not have enough memory to create the database)

Note that if you fetch new data files, you will need the memory again to load/update the database.

For normal operation (--no-fetch) you don't need that much memory.


Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2020-09-28 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (143 votes). Check out past polls.

    Notices?