Ntop Error Geolitecity.dat
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error in ntop Ubuntu 12.04 LTS up vote 2 down vote favorite I am having the following errors, while starting ntop, i.e. when I type sudo ntop: Error#1: Fri Sep 6 09:01:52 2013 **ERROR** GeoIP: unable to load file GeoLiteCity.dat Fri Sep 6 09:01:52 2013 **ERROR** GeoIP: unable to load ASN file GeoIPASNum.dat Error#2: Fri Sep 6 09:01:52 2013 INITWEB: Initializing TCP/IP socket connections for web server Fri Sep 6 09:01:52 2013 **ERROR** INITWEB: binding problem - 'Address already in use'(98) Fri Sep 6 09:01:52 2013 Check if another instance of ntop is running Fri Sep 6 09:01:52 2013 or if the current user (-u) can bind to the specified port Fri Sep 6 09:01:52 2013 **FATAL_ERROR** Binding problem, ntop shutting down... Can anyone please help how to solve this? ntop share|improve this question edited Sep 6 '13 at 11:32 Mitch♦ 64.5k12130183 asked Sep 6 '13 at 11:09 user189942 365 regarding 2nd: run netstat -plnt and see if there is another process running. –Rinzwind Sep 6 '13 at 11:28 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote This is what a top uses to populate the geolocation information of the remote network traffic. To correct this: wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz gunzip GeoLiteCity.dat.gz wget -N http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz gunzip GeoIPASNum.dat.gz
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 when starting ntop - missing Geo data Status: NEW Aliases: None Product: Fedora EPEL 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: http://askubuntu.com/questions/342144/error-in-ntop-ubuntu-12-04-lts 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: --- https://bugzilla.redhat.com/show_bug.cgi?id=560461 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
Post #1 of 3 (6000 views) Permalink NTOP http://www.gossamer-threads.com/lists/ntop/users/22515 shutsdown 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 ntop error 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 ntop error geolitecity.dat http://listgateway.unipi.it/mailman/listinfo/ntop yuri at ntop Dec10,2008,6:29AM Post #2 of 3 (5873 views) Permalink Re: NTOP shutsdown [In reply to] Download and uncompress these files. This should avoid the error 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 g