Ntop Error Interface Eth0 Is Down
Contents |
Importance Assigned to Milestone ntop (Ubuntu) Edit Fix Released Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: ntop (Ubuntu) Filed here by: Ralph ntop windows Corderoy When: 2008-05-16 Confirmed: 2011-01-25 Started work: 2011-01-25 Completed: 2011-01-27 Target Distribution Baltix
Ntop Ubuntu
BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation ntop web interface Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Fix Released Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project ntop linux (?) Also affects distribution/package Nominate for series Bug Description Binary package hint: ntop Ubuntu 8.04, ntop 3:3.2-10.1. /etc/init.d/ntop has check_interfaces() which includes { echo $INTERFACES | awk -F , '{ for(i=1;i<=NF;i++) print $i }' | while read iface ; do if ! ifconfig "$iface" | grep -w UP >/dev/null; then echo "ERR: interface $iface is DOWN..." return 1 fi done return 0 } return
What Is Ntop
$? It's called thus. echo -n "Starting $DESC: " if ! sanity_check || ! check_log_dir || ! check_interfaces; then echo " will not start $DESC!" exit 1 fi start-stop-daemon --start ... Running the script with `bash -x' shows it isn't working as intended. + ifconfig eth0 + grep -w UP eth0: error fetching interface information: Device not found + echo 'ERR: interface eth0 is DOWN...' ERR: interface eth0 is DOWN... + return 1 + return 0 + start-stop-daemon --start --quiet --name ntop --exec /usr/sbin/ntop -- -d -L -u ntop -P /var/lib/ntop --skip-version-check -a /var/log/ntop/access.log -i eth0 -p /etc/ntop/protocol.list -O /var/log/ntop There's a `return 1' followed by a `return 0' so the error is getting cleared with the result that the start-stop-daemon gets to try and start the ill-configured daemon. It's probably due to using return inside an if-statement inside a while-statement and bash subshells. Add tags Tag help Related branches lp:debian/ntop lp:ubuntu/natty/ntop alej0 (alej0varas) wrote on 2008-08-13: #1 "eth0: error fetching interface information: Device not found" This error is from ifconfig not from ntop, the problem is that eth0 doesn't exist. You can change the interface ntop works for in /var/lib/n
ntop Log In To The Web Interface Screenshot Network Monitoring With ntop ntop is a network traffic tools that shows network usage in a real time. One of the good things about this tool ntop default password is that you can use a web browser to manage and navigate through ntop ntop tutorial traffic information to better understand network status. Also Ntop monitors and reports hosts traffic and supports these protocols: TCP/UDP/ICMP (R)ARP IPX
Ntop Vs Ntopng
DLC Decnet AppleTalk Netbios TCP/UDP In this tutorial we'll install ntop 3.2 in CentOS 4. Prerequisites Ntop 3.2 LIBPCAP GDBM Links http://dag.wieers.com/rpm/packages/ntop http://rpmfind.net/linux/RPM/fedora/4/i386/glib-1.2.10-16.i386.html Installation 1- Installing G-LIB: rpm -ivh glib-1.2.10-16.i386.rpm https://bugs.launchpad.net/bugs/231024 2- Installing ntop: rpm -ivh ntop-3.2-1.el4.rf.i386.rpm Running ntop 1- Initialize ntop: ntop That will initialize ntop and it will ask you to enter your username and password. The default username: admin Password: yourEnteredpassword 2- Start ntop service: service ntop start Log In To The Web Interface ntop can be managed through a web interface. You can enter your server address in your web browser: http://ServerIP:3000 https://ServerIP:3001 Now https://www.howtoforge.com/network_monitoring_with_ntop you can monitor your hosts and manage your ntop configuration. Screenshot view as pdf | print Share this page: Tweet Follow 4 Comment(s) Add comment Name * Email * Comments From: Anonymous Reply Dear Team, We facing the below error in ntop Please guide me. [[emailprotected] ~]# ntop Fri Mar 25 15:58:55 2011 NOTE: Interface merge enabled by default Fri Mar 25 15:58:55 2011 Initializing gdbm databases Fri Mar 25 15:58:55 2011 **ERROR** ....open of /var/lib/ntop/prefsCache.db failed: Can't be writer Fri Mar 25 15:58:55 2011 Possible solution: please use '-P ' Fri Mar 25 15:58:55 2011 **FATAL_ERROR** GDBM open failed, ntop shutting down... Fri Mar 25 15:58:55 2011 CLEANUP[t3086498016]: ntop caught signal 2 [state=2] Fri Mar 25 15:58:55 2011 ntop is now quitting... Thanks in advance
From: robinson.barbosa Reply Hi, Ntop : Erro encontrado: **ERROR** ....open of /var/lib/ntop/prefsCache.db failed: Can't b / Solução: 1. Passo matar serviço: aragorn:/var/lib/ntop # ps -aux | grep ntop Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html ntop 16289 0.5 3.2 108028 33880 pts/1 Sl 18:08 0:00 /usr/bin/ntop -P /var/lib/ntop -i eth0 -u ntop -w 127.0.0.1:3000 root 16298 0.0 0.0 2316 704 pts/1 S+ 18:09 0:00 grep ntop aragorn:/var/lib/ntop # kill -9 16289 aragorn:/var/libby: http://lists.ntop.org/pipermail/ntop/2014-August/018001.html [ date ] [ thread ] [ subject ] [ author ] Hi All, I have installed NTOPNG from svn, I follow this procedure : svn co https://svn.ntop.org/svn/ntop/trunk/ntopng/ cd ntopng ./autogen.sh ./configure make make install ntop error Configuration and installation OK. No error during the compilation. The binary works, see below output during process running : (root at fw.000000.priv)-(~)# /usr/local/bin/ntopng -i 1 -v 06/Aug/2014 10:02:44 [Ntop.cpp:565] Setting local networks to 192.168.1.0/24,0.0.0.0/32,224.0.0.0/8,239.0.0.0/8,255.255.255.255/32,127.0.0 .0/8 ntop error interface 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '192.168.1.0'/'24' 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '0.0.0.0'/'32' 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '224.0.0.0'/'8' 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '239.0.0.0'/'8' 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '255.255.255.255'/'32' 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '127.0.0.0'/'8' 06/Aug/2014 10:02:44 [Redis.cpp:74] Successfully connected to Redis 127.0.0.1:6379 06/Aug/2014 10:02:44 [PcapInterface.cpp:81] Reading packets from interface eth0... 06/Aug/2014 10:02:44 [Ntop.cpp:672] Registered interface eth0 [id: 0] 06/Aug/2014 10:02:44 [Utils.cpp:251] User changed to nobody 06/Aug/2014 10:02:44 [main.cpp:180] PID stored in file /var/tmp/ntopng.pid 06/Aug/2014 10:02:44 [HTTPserver.cpp:351] HTTPS Disabled: missing SSL certificate /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem 06/Aug/2014 10:02:44 [HTTPserver.cpp:352] Please read https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable SSL. 06/Aug/2014 10:02:44 [HTTPserver.cpp:389] Web server dirs [/usr/local/share/ntopng/httpdocs][/root/scripts] 06/Aug/2014 10:02:44 [HTTPserver.cpp:392] HTTP server listening