[CentOS] ntop from rpmforge

Max Hodgson 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
>   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


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...
URL: http://lists.centos.org/pipermail/centos/attachments/20081125/d4759753/attachment.htm

More information about the CentOS mailing list