Red Hat Bugzilla – Bug 45610
ntop does not collect data
Last modified: 2008-05-01 11:38:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12smp i686)
Description of problem:
ntop does not collect any data.
Steps to Reproduce:
1.run ntop (/etc/init.d/ntop start)
2.go to http://localhost:3000
3.Click on "IP traffic" and then chose any of L-L, L-R
Actual Results: You will see "No data collected yet" (though program was
runnig for few days)
Expected Results: Matrix of traffic between hosts on the subnet
This error is reported on ntop.org and suggested solution is that:
"RedHat has broken libpcap, get a prestine source and recompile against
it". I have not done it since I do not believe that RedHat would ship a
broken libpcap :)
It appears that it does collect some data, e.g. "Data Rcvd" top menu
shows some data (on all sidebar selections: "All Protocols", "IP" etc..).
"Data Sent" works as well. For "IP Traffic" only "Local Usage" and "L->R"
shows something. "Matrix", "L<->L", "R->L" do not show any data ("No Data To
On a fully updated RHL 6.2 (using up2date today) gtop does not collect any data
further to my previous comment:
rebuilding libpcap-0.6.2-7.i386.rpm and ntop-1.3.1-1.i386.rpm from source seems to solve the problem.
update libpcap-0.6.2-7 in rawhide should fix this problem
CAnnot find libpcap in rawhide:
ncftp ...ux/rawhide/SRPMS/SRPMS > ls lib*
libpcap is built from tcpdump-<version>.src.rpm