Error Opening File Geoipasnum Dat
Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug560461 - Error when starting ntop - missing Geo data Summary: error opening file geolitecity.dat xplico Error when starting ntop - missing Geo data Status: NEW Aliases: None Product: Fedora EPEL ntop Classification: Fedora Component: ntop (Show other bugs) Sub Component: --- Version: el5 Hardware: All Linux Priority low Severity medium TargetMilestone: --- TargetRelease: --- Assigned To: Huzaifa S. Sidhpurwala QA Contact: Fedora Extras Quality Assurance Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2010-01-31 14:18 EST by jon Modified: 2014-01-13 04:55 EST (History) CC List: 3 users (show) chgonzalezg huzaifas wagtail See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description jon 2010-01-31 14:18:31 EST Description of problem: ntop complains about the location of the Geo data files upon starting Version-Release number of selected component (if applicable): ntop-3.3.9-7.el5 (x86_64) on CentOS 5.4 How reproducible: Steps to Reproduce: 1. yum install ntop mysql-server 2. start mysql: /etc/init.d/mysqld start 3. (run manually to setup) /usr/sbin/ntop 4. specify admin password 5. ctrl-c to kill ntop once it starts (and is responding to http requests) 6. start ntop via init script: /etc/init.d/ntop start Actual results: [root@hostname ~]# Error Opening file ./GeoLiteCity.dat Error Opening file ./GeoIPASNum.dat Expected results: Additional info: The files are included in the rpm and are located in /etc/ntop/ and I'd be glad to make the appropriate configuration change to point ntop to the location but I can't seem to find the option. I assume the intended behavior would be to have it point to the appropriate location by default. Comment 1 jon 2010-01-31 14:23:50 EST Worth noting is that when starting ntop manually (eg - /usr/sbin/ntop) it loads the GeoIP files: Sun Jan 31 07:19:05 2010 GeoIP: loaded config file ./GeoLiteCity.dat Sun Jan 31 07:19:05 2010 GeoIP: loaded ASN config file ./GeoIPASNum.dat Comment 2 W Agtail 2010-02-12 17:52:50 EST Hi I also see the same errors: tux:> service ntop restart Stopping ntop: [ OK ] Starting ntop: [ OK ] tux:> Error Opening file ./GeoLiteCity.dat Error Opening file ./GeoIPASNum.dat tux:> ls -l /et
ntop ntop is a linux service which monitors network traffic and nework devices on your LAN. However the best explanation cabe had be visting ntop's website. So how you install and set it up then? Well, that's when the fun begins, though by the end of it you might not think of it as "fun". Installing ntop I am using CentOS 5.6 so the version of ntop which comes with it is the older 3.3.9. The latest version being 4.1.0 and can be downloaded from ntop.org and compiled and setup if you wish. However, I stuck with the version in the repositories of CentOS. One thing about the install on CentOS is that it is entirely broken. You'll see why later. To download ntop, simply perform sudo yum https://bugzilla.redhat.com/show_bug.cgi?id=560461 install ntop Now you'd be tempted to just go ahead and do sudo service ntop start However that is not going to work, for several reasons. Firstly, you need to set a admin password and second, the path which contains the various files is in the wrong place. For the first simply run sudo ntop -A But! do not do that until you have fixed the config file. The config file is set to put the files in the folder /var/lib/ntop which http://www.smrfreelancing.com/getting-ntop-running-on-centos/ causes permissions problems. The "correct" or rather, usable, folder you want to use is /etc/ntop which already contains some of the files. So really the first thing you need to do is modify the config file /etc/ntop.conf. Change the following line ... # sets the directory that ntop runs from --db-file-path /var/lib/ntop ... to --db-file-path /etc/ntop Now you can set the admin password and start the service. One item you will notice is that ntop will spit out the errors. Error Opening file ./GeoLiteCity.dat Error Opening file ./GeoIPASNum.dat If you check the /etc/ntop folder you will see those files are there. The issue is not with the files, but with the contents. ntop runs fine however and you can access the web interface at http://localhost:3000 Conclusion This gets the ntop started and going and access to ntop on the web host. In my next post I will show how to connect ntop to the reverse proxy so you can monitor the server remotely. That will also be even more "fun". Post navigation ← Impressions of Windows Phone Working or not working that is the dilemma → Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website Contact Me: phone: no longer available e-mail: info@smrfreelancing.com Skype: Salik.Rafiq Twitter: @SalikRafiq Linked In: Salik Rafiq Latest Posts Happy Easter 27 March 2016 My Experience of British Gas 15 February 2015 Experience Systems Analysis, Software Architectur
Post #1 of 3 (5992 views) Permalink NTOP shutsdown I have posted this before without any response. http://www.gossamer-threads.com/lists/ntop/users/22515 Assistance is greatly appreciated. Installed from SVN on Tues, 12/9/08. When starting ntop -d, get the following errors: Error Opening file ./GeoLiteCity.dat Error Opening file ./GeoIPASNum.dat ntop seems to start just fine (with the exception of the above errors) but after a bit the daemon exits and the shell prompt has the error error opening message: ntop: symbol lookup error: /usr/local/lib/libntop-3.3.9.so: undefined symbol: GeoIP_name_by_ipnum_v6 Please help me get ntop running in a stable fashion. Thanks! _______________________________________________ Ntop mailing list Ntop [at] unipi http://listgateway.unipi.it/mailman/listinfo/ntop yuri at ntop Dec10,2008,6:29AM Post #2 of 3 (5865 views) Permalink Re: NTOP shutsdown [In reply to] Download and uncompress these files. This should avoid the error error opening file you have and fix the problem. http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz http://geolite.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz Yuri On 12/10/2008 03:15 PM, ismaillist wrote: > I have posted this before without any response. Assistance is greatly > appreciated. > > Installed from SVN on Tues, 12/9/08. When starting ntop -d, get the > following errors: > > Error Opening file ./GeoLiteCity.dat > Error Opening file ./GeoIPASNum.dat > > ntop seems to start just fine (with the exception of the above errors) > but after a bit the daemon exits and the shell prompt has the error message: > > ntop: symbol lookup error: /usr/local/lib/libntop-3.3.9.so: undefined > symbol: GeoIP_name_by_ipnum_v6 > > Please help me get ntop running in a stable fashion. > > Thanks! > _______________________________________________ > Ntop mailing list > Ntop [at] unipi > http://listgateway.unipi.it/mailman/listinfo/ntop -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Yuri Francalacci E-Mail: yuri [at] ntop Internet: http://www.ntop.org/ *** Esse Quam Videri -- To Be, Rather Than To Seem *** -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= _______________________________________________ Ntop mailing list Ntop [at] unipi http://listgateway.unipi.it/mailman/listi