Can i remove the directory "/var/db/ntop" with the file
LsWatch.db dnsCache.db macPrefix.db prefsCache.db
addressQueue.db fingerprint.db ntop_pw.db rrd
# pkg_delete -r `pkg_info | grep ntop | cut -f1 -d" "` && killall ntop (see below for the output)
===> post-deinstallation information for ntop-3.2_2
Please note that ntop was not completely removed
from this system:
/var/db/ntop can be removed if this port will not be
reinstalled.
#
# cd /var/db/ntop/
# cd /var/db/ntop/
2006/7/3, Scott Ullrich <[EMAIL PROTECTED]>:
On 7/3/06, Tunge2 < [EMAIL PROTECTED]> wrote:We had ntop installed but to some reasons we uninstalled it. Now the question why is Ntop still generating logs and running as a process (see below)?thanks!!
Jul 3 07:09:09ntop[977]: THREADMGMT[t161820672]: RRD: Throughput data collection: Thread running [p977] Jul 3 07:09:09 ntop[977]: THREADMGMT[t161820672]: RRD: Throughput data collection: Thread running [p977] Jul 3 07:09:09 ntop[977]: THREADMGMT[t161820672]: RRD: Throughput data collection: Thread starting [p977] Jul 3 07:09:09 ntop[977]: THREADMGMT[t161820672]: RRD: Throughput data collection: Thread starting [p977] Jul 3 07:09:09 ntop[977]: THREADMGMT[t160064512]: RRD: Data collection thread running [p977] Jul 3 07:09:09 ntop[977]: THREADMGMT[t160064512]: RRD: Data collection thread running [p977] Jul 3 07:09:09 ntop[977]: THREADMGMT[t161820672]: RRD: Started thread for throughput data collection Jul 3 07:09:09 ntop[977]: THREADMGMT[t161820672]: RRD: Started thread for throughput data collection Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065536]: NPS(2,rl1): pcapDispatch thread running [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065536]: NPS(2,rl1): pcapDispatch thread running [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065536]: NPS(2,rl1): pcapDispatch thread starting [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065536]: NPS(2,rl1): pcapDispatch thread starting [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065024]: NPS(1,rl0): pcapDispatch thread running [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065024]: NPS(1,rl0): pcapDispatch thread running [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065024]: NPS(1,rl0): pcapDispatch thread starting [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065024]: NPS(1,rl0): pcapDispatch thread starting [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t134614016]: SIH: Idle host scan thread running [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t134614016]: SIH: Idle host scan thread running [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t134613504]: SFP: Fingerprint scan thread running [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t134613504]: SFP: Fingerprint scan thread running [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065536]: NPS(2): Started thread for network packet sniffing Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065536]: NPS(2): Started thread for network packet sniffing Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065024]: NPS(1): Started thread for network packet sniffing Jul 3 07:08:59 ntop[977]: THREADMGMT[t160065024]: NPS(1): Started thread for network packet sniffing Jul 3 07:08:59 ntop[977]: THREADMGMT[t134610944]: ntop RUNSTATE: RUN(4) Jul 3 07:08:59 ntop[977]: THREADMGMT[t134610944]: ntop RUNSTATE: RUN(4) Jul 3 07:08:59 ntop[977]: Note: Reporting device initally set to 0 [rl0] Jul 3 07:08:59 ntop[977]: Note: Reporting device initally set to 0 [rl0] Jul 3 07:08:59 ntop[977]: INIT: Created pid file (/var/run/ntop.pid) Jul 3 07:08:59 ntop[977]: INIT: Created pid file (/var/run/ntop.pid) Jul 3 07:08:59 ntop[977]: THREADMGMT[t160064512]: RRD: Data collection thread starting [p977] Jul 3 07:08:59 ntop[977]: THREADMGMT[t160064512]: RRD: Data collection thread starting [p977] Jul 3 07:08:59 ntop[977]: Now running as requested user 'root' (0:0) Jul 3 07:08:59 ntop[977]: Now running as requested user 'root' (0:0) Jul 3 07:08:59 ntop[977]: THREADMGMT: RRD: Started thread (t160064512) for data collection Jul 3 07:08:59 ntop[977]: THREADMGMT: RRD: Started thread (t160064512) for data collection Jul 3 07:08:59 ntop[977]: RRD: Mask for new files is 0066 Jul 3 07:08:59 ntop[977]: RRD: Mask for new files is 0066 Jul 3 07:08:59 ntop[977]: RRD: Mask for new directories is 0700 Jul 3 07:08:59 ntop[977]: RRD: Mask for new directories is 0700 Jul 3 07:08:59 ntop[977]: RRD: Welcome to the RRD plugin Jul 3 07:08:59 ntop[977]: RRD: Welcome to the RRD plugin Jul 3 07:08:59 ntop[977]: Calling plugin start functions (if any) Jul 3 07:08:59 ntop[977]: Calling plugin start functions (if any) Jul 3 07:08:59 ntop[977]: XMLDUMP: Welcome to XML data dump. (C) 2003-2004 by Burton Strauss Jul 3 07:08:59 ntop[977]: XMLDUMP: Welcome to XML data dump. (C) 2003-2004 by Burton Strauss Jul 3 07:08:59 ntop[977]: SNMP: Welcome to SNMP. (C) 2004 by F.Fusco and G.Giardina Jul 3 07:08:59 ntop[977]: SNMP: Welcome to SNMP. (C) 2004 by F.Fusco and G.Giardina Jul 3 07:08:59 ntop[977]: SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri Jul 3 07:08:59 ntop[977]: SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri
Run from a shell:
pkg_delete -r `pkg_info | grep ntop | cut -f1 -d" "` && killall ntop
Scott