Ntop Error Unable To Find Rrd
Post #1 of 4 (3557 views) Permalink configure script can't find rrdtool hello list!! I am attempting to install ntop v4.10 under CentOS release 5.6 but I am running into an issue when I try to specify the rrdtool that I have already installed. It is indeed already there and both ganglia and cacti are already using it. Here's a sample of the output I see: checking for zlibVersion in -lz... yes checking for main in -lrrd_th... no configure: error: Unable to find RRD at /usr/local: please use --with-rrd-home=DIR I have tried the following values to no avail: #./autogen.sh --with-rrd-home=/usr/lib/librrd.so.2 #./autogen.sh --with-rrd-home=/usr/lib #./autogen.sh --with-rrd-home=/usr/bin/rrdtool #./autogen.sh --with-rrd-home=/usr/bin Here's some info on the version of rrdtool I have installed: [root [at] VIRTCENT1:/usr/local/src/ntop-4.1.0] #rpmquery -i rrdtool Name : rrdtool Relocations: (not relocatable) Version : 1.2.27 Vendor: Fedora Project
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 Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. 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 Problem installing ntop on FreeBSD 6.2 up vote 1 http://www.gossamer-threads.com/lists/ntop/users/27836 down vote favorite I'm following the instructions at http://www.ntop.org/download.html. At some point during the ./configure phase of the install, I get this error message: configure: error: Unable to find RRD at /usr/local/rrdtool: please use --with-rrd-home=DIR I run which rrdtool and I get: /usr/local/bin/rrdtool ...so I run: ./configure --with-rrd-home=/usr/local/bin/rrdtool The installation continues, until it fails at the same spot, same error. I've tried a bunch of varying paths, like: `./configure --with-rrd-home=/usr/local/bin/` `./configure --with-rrd-home=/usr/local/bin` `[...]` `./configure --with-rrd-home=/usr` ... http://serverfault.com/questions/5099/problem-installing-ntop-on-freebsd-6-2 as I read in a suggestion while Googling the problem. If it matters, I don't have root access on this machine. It's a dedicated server at my web host. Any suggestions? freebsd rrdtool configuration ntop share|improve this question asked May 6 '09 at 0:58 Ian 72841828 add a comment| 4 Answers 4 active oldest votes up vote 7 down vote accepted Even better than all of the previous answers, why are you trying to install this by hand? The ports tree contains ntop: http://www.freshports.org/net/ntop/ So if you have the ports tree installed (if not, check the FreeBSD Handbook on using ports) The ports tree is an amazing feature for FreeBSD in that it does the dependency tracking and compiles said dependencies for you. The version in the ports tree is outdated by 2 versions from what I can see, generally a nice email to the port maintainer can help you solve that issue! Edit: Re-read your question and it seems that you are not running as root, how are you planning on getting access to a bpf device to log packets? share|improve this answer answered May 6 '09 at 2:16 X-Istence 547718 1 Thank you for saying that. ;-) Why use FreeBSD at all when you do not take advantage of ports. –Till May 30 '09 at 23:50 +1, he'll
on CentOS 5.5 64bits March 24th, 2011 Leave a comment Go to comments Quick and easisest way: wget http://felipeferreira.net/index.php/2011/03/how-to-install-ntop-on-centos-5-5-64bits/ http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum install ntop # Get yum ready yum clean all yum update # Install Development Tools yum groupinstall "Development Tools" # Install more ntop Dependencies yum install libpcap-devel libpcap # Install RDD tools dependencies yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel # Download, compile and ntop error install RDDTools wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.5.tar.gz tar xvzf rrdtool-1.4.5.tar.gz cd rrdtool-1.4.5 ./configure make make install # Download, compile and Install GeopIP wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz tar xvzf GeoIP.tar.gz cd GeoIP-1.4.6/ ./configure ./make ./make install NOTE: config at: /usr/local/etc/GeoIP.conf #Download, compile and install nTop 4.0.1 wget http://cdnetworks-us-1.dl.sourceforge.net/project/ntop/ntop/ntop-4.0.1/ntop-4.0.1.tar.gz tar xvzf ntop4.0.1.tar.gz cd ntop-4.0.1/ autoconf ./configure -with-rrd-home=/opt/rrdtool-1.4.4/ make make install ntop error unable # Add ntop user and directory permissions. useradd -M -s /sbin/nologin -r ntop chown -R ntop:root /usr/local/var/ntop/ chown -R ntop:ntop /usr/local/share/ntop/ # Set ntop password ntop -A # To start ntop on boot nano /etc/rc.local # and add: /usr/local/bin/ntop -i "eth0,eth1" -d -L -u ntop -P /usr/local/ you have multiple interface (eth0, eth1 and so on), start ntop as follows: # To start ntop /usr/bin/ntop -i "eth0" -d -L -u ntop -P /var/ntop -skip-version-check -use-syslog=daemon htpasswd -c /etc/httpd/.htpasswd segredes Where, * -i "eth0,eth1" : Specifies the network interface or interfaces to be used by ntop for network monitoring. Here you are monitoring eth0 and eth1. * -d : Run ntop as a daemon. * -L : Send all log messages to the system log (/var/log/messages) instead of screen. * -u ntop : Start ntop as ntop user * -P /usr/local/var/ntop : Specify where ntop stores database files. You may need to backup database as part of y