All kinds of suggestions now committed. Note all the errors in the command line and how you get feedback:
- 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?
- The dbx: part won't ever find a (standard) driver, so
$ 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
-
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.
|