2008/11/25 John R Pierce pierce@hogranch.com
I installed ntop on a centos5.2 system (which got all yum updates a few days ago)...
# rpm -q ntop rrdtool ntop-3.3.8-1.el5.rf rrdtool-1.2.28-1.el5.rf
went through the password configuration
when I start it, its erroring.
# service ntop start Starting ntop: Processing file /etc/ntop.conf for parameters... Mon Nov 24 23:56:36 2008 NOTE: Interface merge enabled by default Mon Nov 24 23:56:36 2008 Initializing gdbm databases FATAL ERROR: Unrecognized/unprocessed ntop options... --user ntop, --db-file-path /var/ntop,
run ntop --help for usage information
Hi
There is an error in the ntop startup file.
If you edit:
/etc/rc.d/init.d/ntop
and find the line:
daemon $prog -d -L @/etc/ntop.conf
(This is in the "start ()" section)
Replace with the line:
daemon $prog @/etc/ntop.conf -d -L
i.e. The config file bit needs to be before the parameters.
It should then work when you do "service ntop start".
mjh