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.
-mel On 1/31/09 9:51 PM, "shirish" <shirisha...@gmail.com> wrote: Hi List, newbie on the list. I have run ntop and its giving me the above error. This is on a standalone system connected to router to internet. This is a partial log of the same. Sun Feb 1 10:19:23 2009 INITWEB: Waiting for HTTP connections on port 3000 Sun Feb 1 10:19:23 2009 INITWEB: Starting web server Sun Feb 1 10:19:23 2009 THREADMGMT[t2998393744]: WEB: Server connection thread starting [p9758] Sun Feb 1 10:19:23 2009 Note: SIGPIPE handler set (ignore) Sun Feb 1 10:19:23 2009 THREADMGMT[t2998393744]: WEB: Server connection thread running [p9758] Sun Feb 1 10:19:23 2009 WEB: ntop's web server is now processing requests Sun Feb 1 10:19:23 2009 THREADMGMT[t2998393744]: INITWEB: Started thread for web server Sun Feb 1 10:19:23 2009 Listening on [eth1] Sun Feb 1 10:19:23 2009 Loading Plugins Sun Feb 1 10:19:23 2009 Searching for plugins in /usr/lib/ntop/plugins Sun Feb 1 10:19:23 2009 LASTSEEN: Welcome to Host Last Seen. (C) 1999 by Andrea Marangoni Sun Feb 1 10:19:23 2009 PDA: Welcome to PDA. (C) 2001-2005 by L.Deri and W.Brock Sun Feb 1 10:19:23 2009 RRD: Welcome to Round-Robin Databases. (C) 2002-07 by Luca Deri. Sun Feb 1 10:19:23 2009 SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri Sun Feb 1 10:19:23 2009 ICMP: Welcome to ICMP Watch. (C) 1999-2005 by Luca Deri Sun Feb 1 10:19:23 2009 NETFLOW: Welcome to NetFlow.(C) 2002-07 by Luca Deri Sun Feb 1 10:19:23 2009 Remote: Welcome to Remote. (C) 2006-07 by L.Deri Sun Feb 1 10:19:23 2009 Calling plugin start functions (if any) Sun Feb 1 10:19:23 2009 RRD: Welcome to the RRD plugin Sun Feb 1 10:19:23 2009 RRD: Mask for new directories is 0755 Sun Feb 1 10:19:23 2009 RRD: Mask for new files is 0022 Sun Feb 1 10:19:23 2009 RRD_DEBUG: Parameters: Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpInterval 300 seconds Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpShortInterval 10 seconds Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpHours 72 hours by 300 seconds Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpDays 90 days by hour Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpMonths 36 months by day Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpDomains no Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpFlows no Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpHosts no Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpInterfaces yes Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpASs yes Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpMatrix no Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpDetail high Sun Feb 1 10:19:23 2009 RRD_DEBUG: hostsFilter Sun Feb 1 10:19:23 2009 RRD_DEBUG: rrdPath /var/lib/ntop/rrd Sun Feb 1 10:19:23 2009 RRD_DEBUG: umask 0022 Sun Feb 1 10:19:23 2009 RRD_DEBUG: DirPerms 0755 Sun Feb 1 10:19:23 2009 THREADMGMT[t2989886352]: RRD: Data collection thread starting [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT: RRD: Started thread (t2989886352) for data collection Sun Feb 1 10:19:23 2009 INIT: Created pid file (/var/run/ntop.pid) Sun Feb 1 10:19:23 2009 THREADMGMT[t3068208816]: ntop RUNSTATE: INITNONROOT(3) Sun Feb 1 10:19:23 2009 Now running as requested user 'ntop' (114:127) Sun Feb 1 10:19:23 2009 Note: Reporting device initally set to 0 [eth1] (merged) Sun Feb 1 10:19:23 2009 THREADMGMT[t3068208816]: ntop RUNSTATE: RUN(4) Sun Feb 1 10:19:23 2009 THREADMGMT[t3031968656]: SIH: Idle host scan thread running [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT[t3040361360]: SFP: Fingerprint scan thread running [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT[t2981493648]: NPS(eth1): pcapDispatch thread starting [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT[t2981493648]: NPS(eth1): pcapDispatch thread running [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT[t2981493648]: NPS(1): Started thread for network packet sniffing [eth1] Sun Feb 1 10:19:23 2009 Remote: Welcome to Remote. (C) 2006-07 by L.Deri Sun Feb 1 10:19:23 2009 Calling plugin start functions (if any) Sun Feb 1 10:19:23 2009 RRD: Welcome to the RRD plugin Sun Feb 1 10:19:23 2009 RRD: Mask for new directories is 0755 Sun Feb 1 10:19:23 2009 RRD: Mask for new files is 0022 Sun Feb 1 10:19:23 2009 RRD_DEBUG: Parameters: Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpInterval 300 seconds Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpShortInterval 10 seconds Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpHours 72 hours by 300 seconds Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpDays 90 days by hour Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpMonths 36 months by day Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpDomains no Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpFlows no Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpHosts no Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpInterfaces yes Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpASs yes Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpMatrix no Sun Feb 1 10:19:23 2009 RRD_DEBUG: dumpDetail high Sun Feb 1 10:19:23 2009 RRD_DEBUG: hostsFilter Sun Feb 1 10:19:23 2009 RRD_DEBUG: rrdPath /var/lib/ntop/rrd Sun Feb 1 10:19:23 2009 RRD_DEBUG: umask 0022 Sun Feb 1 10:19:23 2009 RRD_DEBUG: DirPerms 0755 Sun Feb 1 10:19:23 2009 THREADMGMT[t2989886352]: RRD: Data collection thread starting [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT: RRD: Started thread (t2989886352) for data collection Sun Feb 1 10:19:23 2009 INIT: Created pid file (/var/run/ntop.pid) Sun Feb 1 10:19:23 2009 THREADMGMT[t3068208816]: ntop RUNSTATE: INITNONROOT(3) Sun Feb 1 10:19:23 2009 Now running as requested user 'ntop' (114:127) Sun Feb 1 10:19:23 2009 Note: Reporting device initally set to 0 [eth1] (merged) Sun Feb 1 10:19:23 2009 THREADMGMT[t3068208816]: ntop RUNSTATE: RUN(4) Sun Feb 1 10:19:23 2009 THREADMGMT[t3031968656]: SIH: Idle host scan thread running [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT[t3040361360]: SFP: Fingerprint scan thread running [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT[t2981493648]: NPS(eth1): pcapDispatch thread starting [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT[t2981493648]: NPS(eth1): pcapDispatch thread running [p9758] Sun Feb 1 10:19:23 2009 THREADMGMT[t2981493648]: NPS(1): Started thread for network packet sniffing [eth1] Sun Feb 1 10:19:33 2009 THREADMGMT[t2956188560]: RRD: Throughput data collection: Thread starting [p9758] Sun Feb 1 10:19:33 2009 THREADMGMT[t2956188560]: RRD: Throughput data collection: Thread running [p9758] Sun Feb 1 10:19:33 2009 THREADMGMT[t2956188560]: RRD: Started thread for throughput data collection Sun Feb 1 10:19:33 2009 THREADMGMT[t2989886352]: RRD: Data collection thread running [p9758] Sun Feb 1 10:19:43 2009 **WARNING** RRD: [path=/var/lib/ntop/interfaces/eth1][error=13/Permission denied] Sun Feb 1 10:19:43 2009 **WARNING** RRD: mkdir(/var/lib/ntop/interfaces/eth1/), error 13 Permission denied Sun Feb 1 10:19:43 2009 **WARNING** RRD: rrd_create(/var/lib/ntop/interfaces/eth1/throughput.rrd) error: creating '/var/lib/ntop/interfaces/eth1/throughput.rrd': Permission denied Sun Feb 1 10:19:43 2009 **WARNING** RRD: rrd_update(/var/lib/ntop/interfaces/eth1/throughput.rrd) error: opening '/var/lib/ntop/interfaces/eth1/throughput.rrd': Permission denied Sun Feb 1 10:19:53 2009 **WARNING** RRD: [path=/var/lib/ntop/interfaces/eth1][error=13/Permission denied] Sun Feb 1 10:19:53 2009 **WARNING** RRD: mkdir(/var/lib/ntop/interfaces/eth1/), error 13 Permission denied Sun Feb 1 10:19:53 2009 **WARNING** RRD: rrd_create(/var/lib/ntop/interfaces/eth1/throughput.rrd) error: creating '/var/lib/ntop/interfaces/eth1/throughput.rrd': Permission denied Sun Feb 1 10:19:53 2009 **WARNING** RRD: rrd_update(/var/lib/ntop/interfaces/eth1/throughput.rrd) error: opening '/var/lib/ntop/interfaces/eth1/throughput.rrd': Permission denied Sun Feb 1 10:20:03 2009 **WARNING** RRD: [path=/var/lib/ntop/interfaces/eth1][error=13/Permission denied] Sun Feb 1 10:20:03 2009 **WARNING** RRD: mkdir(/var/lib/ntop/interfaces/eth1/), error 13 Permission denied Sun Feb 1 10:20:03 2009 **WARNING** RRD: rrd_create(/var/lib/ntop/interfaces/eth1/throughput.rrd) error: creating '/var/lib/ntop/interfaces/eth1/throughput.rrd': Permission denied Sun Feb 1 10:20:03 2009 **WARNING** RRD: rrd_update(/var/lib/ntop/interfaces/eth1/throughput.rrd) error: opening '/var/lib/ntop/interfaces/eth1/throughput.rrd': Permission denied These are the contents of my ifconfig $ ifconfig eth0 Link encap:Ethernet HWaddr 00:07:95:44:10:db UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:18 Base address:0xc800 eth1 Link encap:Ethernet HWaddr 00:08:a1:92:56:33 inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::208:a1ff:fe92:5633/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1314794 errors:0 dropped:0 overruns:0 frame:0 TX packets:1413307 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:955380430 (955.3 MB) TX bytes:271647709 (271.6 MB) Interrupt:22 Base address:0xcc00 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:30734 errors:0 dropped:0 overruns:0 frame:0 TX packets:30734 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5109848 (5.1 MB) TX bytes:5109848 (5.1 MB) Also where is the ntop log files located? The only log file I can see is /var/log/ntop/access.log which basically tells me who accessed nlog at what time. Any URLs/links would be good :) -- 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 Ntop@unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________ Ntop mailing list Ntop@unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop