Yeah I found that and set it all up and still it "vomits" the messages preceded
by
using "/usr/share/GeoIP" as GeoIP directory
However the geoiplookup command works from the command line, so I reckon named
startup has a bug.
-Original message-
> From:Denice
> Sent: Friday 16th December 2016 13:13
> To: Bill Maidment
> Cc: SCIENTIFIC-LINUX-USERS@FNAL.GOV
> Subject: Re: SL73 GeoIP in named issue
>
> On Fri, 16 Dec 2016, Bill Maidment wrote:
>
> > Here's another issue
> >
> > named now has GeoIP switched on and I get the following errors at start up
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP Country (IPv4) (type 1) DB
> > not available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP Country (IPv6) (type 12) DB
> > not available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP City (IPv4) (type 2) DB not
> > available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP City (IPv4) (type 6) DB not
> > available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP City (IPv6) (type 30) DB not
> > available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP City (IPv6) (type 31) DB not
> > available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP Region (type 3) DB not
> > available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP Region (type 7) DB not
> > available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP ISP (type 4) DB not available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP Org (type 5) DB not available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP AS (type 9) DB not available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP Domain (type 11) DB not
> > available
> > Dec 16 10:20:47 ferdinand2 named[1425]: GeoIP NetSpeed (type 10) DB not
> > available
> >
> > Is there a way of switching this off? Or should there be a pile of DBs with
> > the RPM ?
>
> It is annoying that it vomits out those messages. AFAICT, there is no
> option to disable it. The named.conf option to specify the directory
> containing the geoip DBs is:
> geoip-directory
>
> There is a thread about it in the bind-users mailing list:
>https://lists.isc.org/pipermail/bind-users/2015-November/thread.html#95971
>
> Presumably, if you want to use GeoIP you need to install the GeoIP and
> GeoIP-update packages, and enable the cron job to update the database.
>
> cheers, etc.
> --
> deatrich @ triumf.ca, Science/ATLAS PH: +1 604-222-7665
> <*> This moment's fortune cookie:
> There must be more to life than having everything.
> -- Maurice Sendak
>
>