[CentOS] ntop from rpmforge
max at mjhodgson.com
Tue Nov 25 09:28:12 UTC 2008
2008/11/25 John R Pierce <pierce at hogranch.com>
> I installed ntop on a centos5.2 system (which got all yum updates a few
> days ago)...
> # rpm -q ntop rrdtool
> 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
There is an error in the ntop startup file.
If you edit:
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".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS