Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
thank you for do your answer.
I see that you live in Strasbourg can you continue in French?
if not it is always similar for the order with the options derriere.
my file of conf resembles that:
### You should copy this file to it's normal location, /etc/etc/ntop.conf
### and edit it to fit your needs.
###
### ntop is easily launched with options by referencing this file from
### a command line like this:
###
### ntop @/etc/ntop.conf
###
### Remember, options may also be listed directly on the command line, both
### before and after the @/etc/ntop.conf.
###
### For switches that provide values, e.g. -i, the last one matters.
### For switches just say 'do things', e..g -M, if it's ANYWHERE in the
### commands, it will be set. There's no unset option.
###
### You can use this to your advantage, for example:
### ntop @/etc/ntop.conf -i none
### Overrides the -i in the file.
### Sets the user that ntop runs as.
### NOTE: This should not be root unless you really understand the security risks.
--user root
### Sets the directory that ntop runs from.
--db-file-path /var/ntop
### Interface(s) that ntop will capture on (default: eth0)
--interface eth0,eth1,eth2
### 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=local3
### 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 3000
### Sets the port that the optional HTTPS webserver listens on
#--https-server 3001
### 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 xxx.xxx.xxx.xxx/24
### Sets the domain. ntop should be able to determine this automatically.
--domain mondomaine.com
### Sets program to run as a daemon
### NOTE: For more than casual use, you probably want this.
#--daemon
I could continue in french, however I'm sure that other LQ users won't even have a look at your problem if we don't post in english...
[as a matter of fact I just moved to ireland last monday, so thanks, i had forgotten to edit my profile]
you use much more options than i ever used with ntop... maybe you should begin with as little options as possible (--interface eth0 --http-server 3000).
i see one anormal thing: the subnet config (xxxx.xxx.xxx.xxx/24 is no subnet ! you should comment this line).
I have remakes a test by putting in comment all the lines except --user root, --dB-file-path/var/ntop, --interface eth0, --domain mondomaine.com and --HTTP-server 3000 but I have the same error message.
in/var/log/messages I have that:
Aug 1 14:12:02 fw-agence1 ntop[5886]: ntop v.3.1 (Dag Apt RPM Repository) MT (SSL)
Aug 1 14:12:02 fw-agence1 ntop[5886]: Configured on Jul 26 2005 7:39:51, built on Jul 26 2005 07:41:59.
Aug 1 14:12:02 fw-agence1 ntop[5886]: Copyright 1998-2004 by Luca Deri <deri@ntop.org>
Aug 1 14:12:02 fw-agence1 ntop[5886]: Get the freshest ntop from http://www.ntop.org/
Aug 1 14:12:02 fw-agence1 ntop[5886]: Initializing ntop
### You should copy this file to it's normal location, /etc/etc/ntop.conf
### and edit it to fit your needs.
###
### ntop is easily launched with options by referencing this file from
### a command line like this:
###
### ntop @/etc/ntop.conf
###
### Remember, options may also be listed directly on the command line, both
### before and after the @/etc/ntop.conf.
###
### For switches that provide values, e.g. -i, the last one matters.
### For switches just say 'do things', e..g -M, if it's ANYWHERE in the
### commands, it will be set. There's no unset option.
###
### You can use this to your advantage, for example:
### ntop @/etc/ntop.conf -i none
### Overrides the -i in the file.
### 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
### 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
### 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 3000
### Sets the port that the optional HTTPS webserver listens on
#--https-server 3001
### 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 192.168.200.0/24
### Sets the domain. ntop should be able to determine this automatically.
--domain wmubu.org
### Sets program to run as a daemon
### NOTE: For more than casual use, you probably want this.
--daemon
Any ideas?
Should I ditch the idea of running ntop on FC4 and try it on FC3?
===========================================================
I get the above error with a /etc/ntop.conf as below (all comments deleted) and with a config file with everything commented out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.