I have run sudo apt-get remove --purge ntop and sudo apt-get install ntop
knoppix@Microknoppix:~/asdf$ /usr/sbin/ntop status
Thu Jun 19 21:33:06 2014 Initializing gdbm databases
Thu Jun 19 21:33:06 2014 **ERROR** ....open of
/var/lib/ntop/prefsCache.db failed: File open error
Thu Jun 19 21:33:06 2014 Possible solution: please use '-P <directory>'
Thu Jun 19 21:33:06 2014 **FATAL_ERROR** GDBM open failed, ntop
shutting down...
Thu Jun 19 21:33:06 2014 CLEANUP[t3060598784]: ntop caught signal 2 [state=2]
Thu Jun 19 21:33:06 2014 ntop is now quitting...
knoppix@Microknoppix:~/asdf$
knoppix@Microknoppix:~/asdf$ sudo /usr/sbin/ntop status
Thu Jun 19 21:33:49 2014 Initializing gdbm databases
FATAL ERROR: Unrecognized/unprocessed ntop options...
status
run /usr/sbin/ntop --help for usage information
Common problems:
-B "filter expressions" (quotes are required)
--use-syslog=facilty (the = is required)
knoppix@Microknoppix:~/asdf$
--
knoppix@Microknoppix:~/asdf$ /usr/sbin/ntop status -P /var/lib/ntop
Thu Jun 19 21:42:57 2014 Initializing gdbm databases
Thu Jun 19 21:42:57 2014 **ERROR** ....open of
/var/lib/ntop/prefsCache.db failed: File open error
Thu Jun 19 21:42:57 2014 Possible solution: please use '-P <directory>'
Thu Jun 19 21:42:57 2014 **FATAL_ERROR** GDBM open failed, ntop
shutting down...
Thu Jun 19 21:42:57 2014 CLEANUP[t3060725760]: ntop caught signal 2 [state=2]
Thu Jun 19 21:42:57 2014 ntop is now quitting...
knoppix@Microknoppix:~/asdf$ sudo /usr/sbin/ntop status -P /var/lib/ntop
Thu Jun 19 21:43:10 2014 Initializing gdbm databases
FATAL ERROR: Unrecognized/unprocessed ntop options...
status
run /usr/sbin/ntop --help for usage information
Common problems:
-B "filter expressions" (quotes are required)
--use-syslog=facilty (the = is required)
knoppix@Microknoppix:~/asdf$
knoppix@Microknoppix:~/asdf$ /usr/sbin/ntop
Thu Jun 19 21:45:24 2014 Initializing gdbm databases
Thu Jun 19 21:45:24 2014 **ERROR** ....open of
/var/lib/ntop/prefsCache.db failed: File open error
Thu Jun 19 21:45:24 2014 Possible solution: please use '-P <directory>'
Thu Jun 19 21:45:24 2014 **FATAL_ERROR** GDBM open failed, ntop
shutting down...
Thu Jun 19 21:45:24 2014 CLEANUP[t3060619264]: ntop caught signal 2 [state=2]
Thu Jun 19 21:45:24 2014 ntop is now quitting...
knoppix@Microknoppix:~/asdf$ sudo /usr/sbin/ntop
Thu Jun 19 21:45:30 2014 Initializing gdbm databases
Thu Jun 19 21:45:30 2014 ntop will be started as user nobody
Thu Jun 19 21:45:30 2014 ntop v.4.99.3 (32 bit)
Thu Jun 19 21:45:30 2014 Configured on Mar 2 2013 6:00:33, built on
Mar 2 2013 06:01:55.
Thu Jun 19 21:45:30 2014 Copyright 1998-2012 by Luca Deri <[email protected]>
Thu Jun 19 21:45:30 2014 Get the freshest ntop from http://www.ntop.org/
Thu Jun 19 21:45:30 2014 NOTE: ntop is running from '/usr/sbin'
Thu Jun 19 21:45:30 2014 NOTE: (but see warning on man page for the
--instance parameter)
Thu Jun 19 21:45:30 2014 NOTE: ntop libraries are in '/usr/lib/ntop'
Thu Jun 19 21:45:30 2014 Initializing ntop
Thu Jun 19 21:45:31 2014 No default device configured. Using eth0
Thu Jun 19 21:45:31 2014 Checking eth0 for additional devices
Thu Jun 19 21:45:31 2014 Resetting traffic statistics for device eth0
Thu Jun 19 21:45:31 2014 Initializing device eth0 (0)
Thu Jun 19 21:45:31 2014 DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Thu Jun 19 21:45:31 2014 Initialized events [mask: 0][path: ]
Thu Jun 19 21:45:31 2014 Initializing gdbm databases
Thu Jun 19 21:45:31 2014 VENDOR: Loading MAC address table.
Thu Jun 19 21:45:31 2014 VENDOR: Checking for MAC address table file
Thu Jun 19 21:45:31 2014 VENDOR: File
'/usr/share/ntop/specialMAC.txt' does not need to be reloaded
Thu Jun 19 21:45:31 2014 VENDOR: ntop continues ok
Thu Jun 19 21:45:31 2014 VENDOR: Checking for MAC address table file
Thu Jun 19 21:45:31 2014 VENDOR: File '/usr/share/ntop/oui.txt' does
not need to be reloaded
Thu Jun 19 21:45:31 2014 VENDOR: ntop continues ok
Thu Jun 19 21:45:31 2014 Fingerprint: Loading signature file
Thu Jun 19 21:45:31 2014 Fingerprint: Checking for Fingerprint file... file
Thu Jun 19 21:45:31 2014 Fingerprint: Loading file
'/usr/share/ntop/etter.finger.os'
Thu Jun 19 21:45:31 2014 Fingerprint: ...loaded 1765 records
Thu Jun 19 21:45:31 2014 Initializing external applications
Thu Jun 19 21:45:31 2014 THREADMGMT[t3038493504]: SFP: Started thread
for fingerprinting
Thu Jun 19 21:45:31 2014 THREADMGMT[t3030104896]: SIH: Started thread
for idle hosts detection
Thu Jun 19 21:45:31 2014 THREADMGMT[t3021716288]: DNSAR(1): Started
thread for DNS address resolution
Thu Jun 19 21:45:31 2014 THREADMGMT[t3013327680]: DNSAR(2): Started
thread for DNS address resolution
Thu Jun 19 21:45:31 2014 THREADMGMT[t3013327680]: DNSAR(2): Address
resolution thread running
Thu Jun 19 21:45:31 2014 THREADMGMT[t3030104896]: SIH: Idle host scan
thread starting [p19857]
Thu Jun 19 21:45:31 2014 THREADMGMT[t3021716288]: DNSAR(1): Address
resolution thread running
Thu Jun 19 21:45:31 2014 THREADMGMT[t3001023296]: DNSAR(3): Address
resolution thread running
Thu Jun 19 21:45:31 2014 THREADMGMT[t3038493504]: SFP: Fingerprint
scan thread starting [p19857]
Thu Jun 19 21:45:31 2014 THREADMGMT[t3001023296]: DNSAR(3): Started
thread for DNS address resolution
Thu Jun 19 21:45:31 2014 Calling plugin start functions (if any)
Thu Jun 19 21:45:31 2014 GeoIP: loaded config file
/usr/share/ntop/GeoLiteCity.dat
Thu Jun 19 21:45:31 2014 GeoIP: loaded ASN config file
/usr/share/ntop/GeoIPASNum.dat
Thu Jun 19 21:45:31 2014 NOTE: Interface merge enabled by default
Thu Jun 19 21:45:31 2014 INITWEB: Initializing web server
Thu Jun 19 21:45:31 2014 INITWEB: Initializing TCP/IP socket
connections for web server
Thu Jun 19 21:45:31 2014 **ERROR** INITWEB: binding problem - 'Bad
file descriptor'(9)
Thu Jun 19 21:45:31 2014 Check if another instance of ntop is running
Thu Jun 19 21:45:31 2014 or if the current user (-u) can bind to the
specified port
Thu Jun 19 21:45:31 2014 **FATAL_ERROR** Binding problem, ntop shutting down...
Thu Jun 19 21:45:31 2014 CLEANUP[t3060598784]: ntop caught signal 2 [state=2]
Thu Jun 19 21:45:31 2014 ntop is now quitting...
knoppix@Microknoppix:~/asdf$ sudo /usr/sbin/ntop
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop