Hi all, I´m running ntop-3.3.6-1.el5.rf (installed with $yum install 
ntop) in a CentOS release 5.2.

When I execute "$service ntop start" it returns de following error:

Starting ntop:    Processing file /etc/ntop.conf for parameters...
Mon Oct  6 11:31:25 2008  NOTE: Interface merge enabled by default
Mon Oct  6 11:31:25 2008  Initializing gdbm databases
FATAL ERROR: Unrecognized/unprocessed ntop options...
                                            ,     --user ntop, , 
--db-file-path /var/ntop, ,   --interface eth0,eth1, ,     , 
--use-syslog=local1, ,     ,     --http-server 3200, ,   --https-server 
3203, ,         ,     ,     --daemon,

run ntop --help for usage information

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

My /etc/ntop.conf config is:

### Sets the user that ntop runs as.
###  NOTE: This should not be root unless you really understand the 
security risks.
--user ntop

### Sets the directory that ntop runs from.
--db-file-path /var/ntop

### Interface(s) that ntop will capture on (default: eth0)
--interface eth0,eth1

### Configures ntop not to trust MAC addrs.  This is used when port 
mirroring or SPAN
#--no-mac

### Logging messages to syslog (instead of the console):
###  NOTE: To log to a specific facility, use --use-syslog=local3
###  NOTE: The = is REQUIRED and no spaces are permitted.
--use-syslog=local1

### Tells ntop to track only local hosts as specified by the 
#--local-subnets option
#--track-local-hosts

### Sets the port that the HTTP webserver listens on
###  NOTE: --http-server 3000 is the default
--http-server 3200

### Sets the port that the optional HTTPS webserver listens on
--https-server 3203

### Sets the networks that ntop should consider as local.
###  NOTE: Uses dotted decimal and CIDR notation. Example: ###192.168.0.0/24
###        The addresses of the interfaces are always local and don't 
need to be specified.
#--local-subnets xx.xx.xx.xx/yy

### Sets the domain.  ntop should be able to determine this automatically.
#--domain mydomain.com

### Sets program to run as a daemon
###  NOTE: For more than casual use, you probably want this.
--daemon

But if I execute at the command line the following:
$ntop -w 3200 -W 3203 -i eth0,eth1 -d -L -a /var/log/ntop.log -u ntop

It works fine!

I have the local1 facility in my /etc/sylog.conf like follows:
local1.*                      /var/log/ntop.log

I would be very pleasant if anyone could tell me something to try in my 
configuration.

Best regards,
Miguel A.Velasco
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to