Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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

In reply to Re^16: Help with Geo::IP output by Tux
in thread Help with Geo::IP output by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-23 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found