I highly recommend downloading the latest source and building ntop from scratch. I'm not sure what version Ubuntu has, but changes have been made recently that clean up some problems and add valuable new features.
-mel On 1/31/09 10:55 PM, "shirish" <[email protected]> wrote: Reply in-line :- On Sun, Feb 1, 2009 at 12:04, Mel Beckman <[email protected]> wrote: > Do you have a directory named /var/lib/ntop, owned by ntop? If so, how about > the directories below that? My ntop installation stores all the ntop files > in /usr/local/share (e.g., /usr/local/share/ntop/rrd/interfaces, etc). It > sounds like either a compile time setting was incorrect or your ntop command > line arguments have the wrong value for the rrd directory, or perhaps > somehow the diriectories were supposed to be created in /var/lib but that > didn't happen for some reason. Hi mel, First of all thank you for getting back so quickly. This was a pre-compiled binary installation in ubuntu 8.10 . The ownership was for root not for ntop, did the changes and now it looks fine. $ sudo chown -hR ntop /var/lib/ntop $ ll /var/lib/ntop total 1480 -rw-r----- 1 ntop root 13292 2009-02-01 12:10 addressQueue.db -rwxrwxrwx 1 ntop root 159827 2009-02-01 12:18 dnsCache.db -rwxrwxrwx 1 ntop root 237568 2009-02-01 10:19 fingerprint.db -rwxrwxrwx 1 ntop root 30 2009-02-01 02:35 init.cfg -rwxr-xr-x 1 ntop root 30 2009-02-01 02:35 init.cfg.original drwx------ 5 ntop nogroup 4096 2009-02-01 02:44 interfaces -rwxrwxrwx 1 ntop root 12288 2009-02-01 02:12 LsWatch.db -rwxrwxrwx 1 ntop root 1110238 2009-02-01 02:09 macPrefix.db -rwxrwxrwx 1 ntop root 12546 2009-02-01 10:06 ntop_pw.db -rwxrwxrwx 1 ntop root 12937 2009-02-01 10:19 prefsCache.db drwxrwxrwx 5 ntop root 4096 2009-02-01 02:16 rrd Did the restart and the log looks happy, although have a different warning this time around :- Sun Feb 1 12:19:52 2009 RRD_DEBUG: dumpASs yes Sun Feb 1 12:19:52 2009 RRD_DEBUG: dumpMatrix no Sun Feb 1 12:19:52 2009 RRD_DEBUG: dumpDetail high Sun Feb 1 12:19:52 2009 RRD_DEBUG: hostsFilter Sun Feb 1 12:19:52 2009 RRD_DEBUG: rrdPath /var/lib/ntop/rrd Sun Feb 1 12:19:52 2009 RRD_DEBUG: umask 0022 Sun Feb 1 12:19:52 2009 RRD_DEBUG: DirPerms 0755 Sun Feb 1 12:19:52 2009 THREADMGMT[t2990369680]: RRD: Data collection thread starting [p10239] Sun Feb 1 12:19:52 2009 THREADMGMT: RRD: Started thread (t2990369680) for data collection Sun Feb 1 12:19:52 2009 INIT: Created pid file (/var/run/ntop.pid) Sun Feb 1 12:19:52 2009 THREADMGMT[t3068692144]: ntop RUNSTATE: INITNONROOT(3) Sun Feb 1 12:19:52 2009 Now running as requested user 'ntop' (114:127) Sun Feb 1 12:19:52 2009 Note: Reporting device initally set to 0 [eth1] (merged) Sun Feb 1 12:19:52 2009 THREADMGMT[t3068692144]: ntop RUNSTATE: RUN(4) Sun Feb 1 12:19:52 2009 THREADMGMT[t2981976976]: NPS(eth1): pcapDispatch thread starting [p10239] Sun Feb 1 12:19:52 2009 THREADMGMT[t2981976976]: NPS(eth1): pcapDispatch thread running [p10239] Sun Feb 1 12:19:52 2009 THREADMGMT[t2981976976]: NPS(1): Started thread for network packet sniffing [eth1] Sun Feb 1 12:19:52 2009 THREADMGMT[t3032451984]: SIH: Idle host scan thread running [p10239] Sun Feb 1 12:19:52 2009 THREADMGMT[t3040844688]: SFP: Fingerprint scan thread running [p10239] Sun Feb 1 12:19:59 2009 **WARNING** packet truncated (16242->8232) Sun Feb 1 12:20:00 2009 **WARNING** packet truncated (16242->8232) Sun Feb 1 12:20:02 2009 THREADMGMT[t2956495760]: RRD: Throughput data collection: Thread starting [p10239] Sun Feb 1 12:20:02 2009 THREADMGMT[t2956495760]: RRD: Throughput data collection: Thread running [p10239] Sun Feb 1 12:20:02 2009 THREADMGMT[t2956495760]: RRD: Started thread for throughput data collection Sun Feb 1 12:20:02 2009 THREADMGMT[t2990369680]: RRD: Data collection thread running [p10239] Sun Feb 1 12:20:03 2009 **WARNING** packet truncated (9502->8232) Sun Feb 1 12:20:04 2009 **WARNING** packet truncated (16242->8232) Sun Feb 1 12:20:06 2009 **WARNING** packet truncated (16242->8232) Sun Feb 1 12:20:09 2009 **WARNING** packet truncated (16242->8232) > -mel I may bother the list a bit more with some newbie questions, sorry about the same :( <snip> -- Regards, Shirish Agarwal My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17 _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
