Home > ntop fatal > ntop fatal error

Ntop Fatal Error

Contents

Post #1 of 8 (7633 views) Permalink ntop starting error reading ntop.conf 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 Configuration

ntop start" it returns de following error: Starting ntop: Processing file /etc/ntop.conf for parameters... ntop default username password 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 web interface 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

No Interface Has Been Configured. Please Configure Ntop First.

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

How To Setup Ntop

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,

-- failed Issues related to software problems Post Reply Print view Search Advanced search 9 posts • Page 1 of 1 hm2k Posts: 24 Joined: 2006/08/17 10:03:24 Contact: Contact hm2k Website please enable make sure that the ntop html/ directory is properly installed service ntop start -- failed Quote Postby hm2k » 2009/04/22 09:54:47 I get this

Ntopng Config File

issue:Code: Select all[root@blade ~]# service ntop start
Starting ntop: Processing file /etc/ntop.conf for parameters...
Wed Apr 22 10:59:12 2009 ntop command line NOTE: Interface merge enabled by default
Wed Apr 22 10:59:12 2009 Initializing gdbm databases
FATAL ERROR: Unrecognized/unprocessed ntop options...
> /dev/null

run /usr/sbin/ntop --help for usage information

http://www.gossamer-threads.com/lists/ntop/users/22257 Common problems:
-B "filter expressions" (quotes are required)
--use-syslog=facilty (the = is required)

[FAILED]
I found this...Code: Select all[root@blade ~]# cat /etc/rc.d/init.d/ntop | grep /dev/null
LANG=C daemon http://www.centos.org/forums/viewtopic.php?t=37733 "$ntop @$config --daemon > /dev/null"
I'm guessing this is wrong. What should it be? Top pschaff Retired Moderator Posts: 18276 Joined: 2006/12/13 20:15:34 Location: Tidewater, Virginia, North America Contact: Contact pschaff Website Re: service ntop start -- failed Quote Postby pschaff » 2009/04/22 10:05:00 Suggest you ask at [url=config-inifiles-bugs@lists.sourceforge.net]RPMforge[/url]. Not a CentOS package. Top hm2k Posts: 24 Joined: 2006/08/17 10:03:24 Contact: Contact hm2k Website Re: service ntop start -- failed Quote Postby hm2k » 2009/04/22 10:13:07 pschaff wrote:Suggest you ask at [url=config-inifiles-bugs@lists.sourceforge.net]RPMforge[/url]. Not a CentOS package.This list appears to be for the config-inifiles project -- Config::IniFiles A Perl module for reading ".INI" style configuration files. Provides Object-Oriented and tied hash usage styles. What does this have to do with ntop, centos or rpmforge?I have contacted the RPM maintainers already anyway.Meanwhile I decided to try removing the "> /dev/null", as follows:Code: Select all[root@blade ~]# cat /etc/rc.d/init.d/ntop | grep LANG=
#LANG=C daemon "$ntop @$config --daemon > /dev/null"
LANG=C daemon "$ntop @$config --daemon"
However now I get:Code: Select all[root@blade ~]# service ntop start
Starting ntop: /etc/rc.d/init.d/functions: line 127: [: /var/run/ntop.conf: binary operator expected
Is this an issue that can be solved, or should I contact someone else for this too?

28, 2008inDebian / Ubuntu,Linux,Monitoring,Package Management,Ubuntu LinuxQ. How do I track my network usage (network usage monitoring) and protocol wise distribution of traffic under Debian Linux? How do http://www.cyberciti.biz/faq/debian-ubuntu-install-ntop-network-traffic-monitoring-software/ I get a complete picture of network activity?A. ntop is the best tool to see network usage in a way similar to what top command does for processes i.e. it is network traffic monitoring software. You can see network status, protocol wise distribution of traffic for UDP, TCP, DNS, HTTP and other protocols.

ntop is a hybrid layer ntop fatal 2 / layer 3 network monitor, that is by default it uses the layer 2 Media Access Control (MAC) addresses AND the layer 3 tcp/ip addresses. ntop is capable of associating the two, so that ip and non-ip traffic (e.g. arp, rarp) are combined for a complete picture of network activity.ntop is a network probe that showsIn interactive mode, ntop fatal error it displays the network status on the user's terminal. In Web mode, it acts as a Web server, creating a HTML dump of the network status. It sports a NetFlow/sFlow emitter/collector, a HTTP-based client interface for creating ntop-centric monitoring applications, and RRD for persistently storing traffic statistics.Network Load StatisticsHow do I install ntop under Debian / Ubuntu Linux?Type the following commands, enter:$ sudo apt-get update
$ sudo apt-get install ntopSample output:Reading package lists... Done Building dependency tree... Done Suggested packages: graphviz The following NEW packages will be installed: ntop 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/2859kB of archives. After unpacking 12.1MB of additional disk space will be used. Preconfiguring packages ... Selecting previously deselected package ntop. (Reading database ... 27301 files and directories currently installed.) Unpacking ntop (from .../ntop_3%3a3.2-8_amd64.deb) ... Setting up ntop (3.2-8) ... Starting network top daemon: Fri Jul 11 14:36:45 2008 NOTE: Interface merge enabled by default Fri Jul 11 14:36:45 2008 Initializing gdbm databases ntopSet ntop admin user passwordType the following comm

 

Related content

ntop fatal error no password for admin user

Ntop Fatal Error No Password For Admin User table id toc tbody tr td div id toctitle Contents div ul li a href Ntop Configuration a li li a href No Interface Has Been Configured Please Configure Ntop First a li li a href Ntopng Config File a li li a href Ntop Example a li ul td tr tbody table p file -g --track-local-hosts -h --help -j --create-other-packets -l --pcap-log path -m --local-subnets addresses relatedl -n --numeric-ip-addresses -o --no-mac -p --protocols list -q --create-suspicious-packets -r --refresh-time ntop default username password number -s --no-promiscuous -t --trace-level number -x max num