Gday Ronald,

I'm running svn: 3627 and I also received the same error messages:
Error Opening file ./GeoLiteCity.dat
Error Opening file /usr/local/etc/ntop/GeoLiteCity.dat
Error Opening file /usr/local/etc/ntop/GeoLiteCity.dat
Error Opening file /etc/GeoLiteCity.dat
Sat Nov 22 13:53:42 2008  **ERROR** GeoIP: unable to load file GeoLiteCity.dat
Error Opening file ./GeoIPASNum.dat
Error Opening file /usr/local/etc/ntop/GeoIPASNum.dat
Error Opening file /usr/local/etc/ntop/GeoIPASNum.dat
Error Opening file /etc/GeoIPASNum.dat
Sat Nov 22 13:53:42 2008  **ERROR** GeoIP: unable to load ASN file 
GeoIPASNum.dat
Sat Nov 22 13:53:42 2008  Database support not compiled into ntop
^^ I wonder why the error messages don't mention the GeoIP.dat file.


BTW with svn 3627 I noticed that the GeoIP data sets were downloaded 
automatically during the make stage.


I think the error is caused by leaving the GeoIP data sets in the compile 
directory i.e. they were not installed:
ntop-revision3627/ntop/GeoIPASNum.dat
ntop-revision3627/ntop/GeoLiteCity.dat
ntop-revision3627/ntop/GeoIP-1.4.5/data/GeoIP.dat
^^ Copying these 3 files into /usr/local/etc/ntop/ reduces the error messages 
down to:
Error Opening file ./GeoLiteCity.dat
Sat Nov 22 14:12:11 2008  GeoIP: loaded config file 
/usr/local/etc/ntop/GeoLiteCity.dat
Error Opening file ./GeoIPASNum.dat
Sat Nov 22 14:12:11 2008  GeoIP: loaded ASN config file 
/usr/local/etc/ntop/GeoIPASNum.dat
Sat Nov 22 14:12:11 2008  Database support not compiled into ntop
^^ Again no mention of the GeoIP.dat file.

I hope this helps you with some of your problems.

Hooroo.



----- Original Message ----- 
From: "Ronald W. Henderson" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, November 22, 2008 12:57 PM
Subject: [Ntop-dev] NST integration with ntop v3.3.9


> Luca:
> 
> I have been working hard on integrating your latest ntop v3.3.9 svn: 3327
> into NST (network security toolkit) for pending release v1.8.1. You have
> done a very nice job with the GeoIP integration. I now download the GeoIP
> data sets if requested by the user for ntop.
> 
> I have created a web interface in the NST WUI to start up and
> monitor ntop.
> 
> I am having the following issues:
> 
> 1) I can not control the sticky state. The Hosts keep getting purged.
>    I use the "-c" command line value and have selected the web interface
> value in Startup Options: Sticky Hosts (-c) to "Yes".
>    The ntop.stickyHosts value in Preferences is set to "1"
> Then I restart ntop and hosts keep getting purged.
> 
> 2) On start up even if ntop has found the GeoIP data sets it will still
> issue a error message:
> Error Opening file ./GeoLiteCity.dat
> Error Opening file /usr/local/etc/ntop/GeoLiteCity.dat
> Error Opening file /usr/local/etc/ntop/GeoLiteCity.dat
> Error Opening file ./GeoIPASNum.dat
> Error Opening file /usr/local/etc/ntop/GeoIPASNum.dat
> Error Opening file /usr/local/etc/ntop/GeoIPASNum.dat
> 
> Hopefully you can help...
> 
> Ronald W. Henderson
> 
> - CoAuthor of NST...
> 
> _______________________________________________
> Ntop-dev mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to