Ntop Error Opening File ./geolitecity.dat Error Opening File ./geoipasnum.dat
Tags Search LQ Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software [SOLVED] ntop service start error User Name Remember Me? Password Linux - Software This forum is for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 02-07-2011, 04:01 PM #
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 http://www.linuxquestions.org/questions/linux-software-2/ntop-service-start-error-861247/ 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 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 http://www.smrfreelancing.com/getting-ntop-running-on-centos/ 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 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 nt
trying to use ntop 3.3.9 but I'm getting a lot of ntop error "Error Traversing Database for ipnum = xxxxxxxxxx - Perhaps database is corrupt?" Another error is that after ntop initializes, it shows this: Error Opening file ./GeoLiteCity.dat Error ntop error opening Opening file ./GeoIPASNum.dat I've already copied both files to ntop config dir /etc/ntop... but it still don't "find" them. Please... may you guys help me with this? Thanks in advance! -- Tica ;-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listgateway.unipi.it/pipermail/ntop/attachments/20090416/f1b0e1dc/attachment.html Previous message: [Ntop] ntop reading from tcpdump file Next message: [Ntop] Ntop errors Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Ntop mailing list
Post #1 of 3 (6000 views) Permalink NTOP 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 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 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 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/listinfo/ntop ntop-dev at wilber Dec10