Comments (19)
Additional Info: This issue happens only on a VM. Ntopng starts fine on physical box.
from ntopng.
Hi,
thanks for the report. Could you provide some more details about the VM setup? E.g. network configuration.
Thanks,
Arianna
from ntopng.
Hi Arianna
Here is the ifconfig output
[paasusr@ucf2b-docs-psr0427-ms1 ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr C6:B0:3D:21:E4:CA
inet addr:10.241.239.42 Bcast:10.241.239.43 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:43530133 errors:0 dropped:4 overruns:0 frame:0
TX packets:41398108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42226439124 (39.3 GiB) TX bytes:41512543431 (38.6 GiB)
Interrupt:80
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1892 errors:0 dropped:0 overruns:0 frame:0
TX packets:1892 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:161086 (157.3 KiB) TX bytes:161086 (157.3 KiB)
Please let me know what other info is reqd. OS version is mentioned in the bug.
Thanks
Atin
from ntopng.
@chris4269 you seem to be starting ntopng as a non-privileged user. Have you tried starting it as superuser (e.g. sudo ./ntopng)?
from ntopng.
Any chance to provide SSH access to your box to debug the issue locally?
from ntopng.
What Linux distribution are you using exactly ? Please use the GIT code as we have made fixes in the past days (you said you are using the SVN code)
from ntopng.
We cannot support you if you use an old code version. Please update to github and try again
from ntopng.
@chris4269 ntopng 1.2.1 is a really old version. Could you please clone this repo and try it? Or just grab some nightly build from the repo.
from ntopng.
Question: The issue @chris4269 is facing seems to be different from what I have reported. In my case I ran ntopng as root and specifying the interface did not help. The error message is different also. Perhaps it needs to be tracked as a new bug?
The version I used was
[root@ucf2b-docs-psr0427-ms1 paasusr]# /usr/local/bin/ntopng --version
v.1.99.150430 (r9332)
from ntopng.
@atin001 Probably you should, but still, from the log you reported it seems you are not using the very latest code. Could you please try with the latest github code and, if you still see the error, file a new issue? Thanks.
from ntopng.
Like I have said we cannot support you unless you give access to your box where we can reproduce the bug.
from ntopng.
@chris4269, please do try to install the latest ntopng. It is version 1.99 and you can download it from this very same repo. Version 1.2.1 is very old.
from ntopng.
@chris4269 you can git clone version 1.99 from https://github.com/ntop/ntopng.git
from ntopng.
@chris4269, use git (available for all Linux distributions as a package) and do
git clone https://github.com/ntop/ntopng.git
from ntopng.
https://github.com/ntop/ntopng/blob/dev/README.ntopng
from ntopng.
@chris4269 after you have installed all dependencies, prior to do ./configure, you have to git clone https://github.com/ntop/nDPI.git and compile it.
from ntopng.
ERROR: Unable to start HTTP server (IPv4) on ports 3000
sudo ./ntopng
08/May/2015 10:27:08 [src/Ntop.cpp:779] Setting local networks to 192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,127.0.0.0/8,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
08/May/2015 10:27:08 [src/Redis.cpp:93] Successfully connected to Redis 127.0.0.1:6379@0
08/May/2015 10:27:08 [src/PcapInterface.cpp:81] Reading packets from interface eth0...
08/May/2015 10:27:08 [src/Ntop.cpp:1027] Registered interface view eth0 [id: 0]
08/May/2015 10:27:08 [src/Ntop.cpp:997] Registered interface eth0 [id: 0]
08/May/2015 10:27:09 [src/PcapInterface.cpp:81] Reading packets from interface lo...
08/May/2015 10:27:09 [src/Ntop.cpp:1027] Registered interface view lo [id: 1]
08/May/2015 10:27:09 [src/Ntop.cpp:997] Registered interface lo [id: 1]
08/May/2015 10:27:09 [src/Utils.cpp:277] User changed to nobody
08/May/2015 10:27:09 [src/main.cpp:227] PID stored in file /var/tmp/ntopng.pid
08/May/2015 10:27:09 [src/HTTPserver.cpp:449] HTTPS Disabled: missing SSL certificate /tmp/ntopng/httpdocs/ssl/ntopng-cert.pem
08/May/2015 10:27:09 [src/HTTPserver.cpp:451] Please read https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable SSL.
08/May/2015 10:27:09 [src/HTTPserver.cpp:486] ERROR: Unable to start HTTP server (IPv4) on ports 3000
pi@raspberrypi /tmp/ntopng $ sudo ./ntopng -w 666
08/May/2015 10:27:15 [src/Ntop.cpp:779] Setting local networks to 192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,127.0.0.0/8,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
08/May/2015 10:27:15 [src/Redis.cpp:93] Successfully connected to Redis 127.0.0.1:6379@0
08/May/2015 10:27:15 [src/PcapInterface.cpp:81] Reading packets from interface eth0...
08/May/2015 10:27:15 [src/Ntop.cpp:1027] Registered interface view eth0 [id: 0]
08/May/2015 10:27:15 [src/Ntop.cpp:997] Registered interface eth0 [id: 0]
08/May/2015 10:27:16 [src/PcapInterface.cpp:81] Reading packets from interface lo...
08/May/2015 10:27:16 [src/Ntop.cpp:1027] Registered interface view lo [id: 1]
08/May/2015 10:27:16 [src/Ntop.cpp:997] Registered interface lo [id: 1]
08/May/2015 10:27:16 [src/Utils.cpp:277] User changed to nobody
08/May/2015 10:27:16 [src/main.cpp:227] PID stored in file /var/tmp/ntopng.pid
08/May/2015 10:27:16 [src/HTTPserver.cpp:449] HTTPS Disabled: missing SSL certificate /tmp/ntopng/httpdocs/ssl/ntopng-cert.pem
08/May/2015 10:27:16 [src/HTTPserver.cpp:451] Please read https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable SSL.
08/May/2015 10:27:16 [src/HTTPserver.cpp:486] ERROR: Unable to start HTTP server (IPv4) on ports 666
pi@raspberrypi /tmp/ntopng $
from ntopng.
i'ts ok
I just discovered Raspbian (August image) has no IPv6 enabled by default.
To solve this, I used "sudo nano /etc/modules", added "ipv6" at the end, and rebooted.
from ntopng.
@chris4269 commit b72bba5 should add a workaround which should allow you to now use ntopng even with IPv6 disabled
from ntopng.
Related Issues (20)
- So it seems this is the error i am getting when ntop crashes. HOT 1
- Use-of-Uninitialized-Memory bug in ntopng
- Update alerts documentation
- Remove QoS MIB Polling from Interface Page HOT 1
- The "Active hosts" graph's Y-axis is strange... HOT 2
- ntopng - traffic graph & stats only update once per minute, and on nprobe exit. HOT 5
- Add ability to enable capabilities for LDAP users
- add a new preferences section: asset inventory HOT 2
- SEGFAULT/11 on aarch64 HOT 8
- Implement Asset Inventory
- DHCP/IP Host Icon HOT 1
- Enhance Cloud Support HOT 2
- Ntop Cloud Telemetry
- Implement SNMP Polling Timeseries
- The disk-limit of n2disk would be changed automatically when using it with ntopng HOT 1
- DHCP hosts filter not working
- Report the Check Interface in User's Guide
- Network discovery not working. Warning HOT 1
- Active Monitoring not sending notifications HOT 3
- Host first seen timestamp not cached HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ntopng.