I installed ntop on my Centos 5.3 box by adding the rpmforge repository and installing with yum. I set up ntop.conf and it works fine if I run it from the command line with /etc/ntop.conf
However, when I try to run it using
Code:
# service ntop start
it kicks back this message:
Code:
FATAL ERROR: Unrecognized/unprocessed ntop options...
                                           ,     --user ntop, ,   --db-file-path /var/ntop, ,   --interface eth0, ,     ,       --use-syslog=local3, ,     ,     --http-server 3000, ,     ,       --local-subnets 192.168.xx.xx/xx, ,   --domain xxxxxxxxxx, ,     --daemon,

run ntop --help for usage information

    Common problems:
        -B "filter expressions" (quotes are required)
        --use-syslog=facilty (the = is required)

                                                           [FAILED]
The issue is clearly with /etc/init.d/ntop because ntop works fine with /etc/ntop.conf as long is it is not called with the service script, but I cannot figure out what is wrong with it.