Giter Club home page Giter Club logo

Comments (19)

atin001 avatar atin001 commented on July 17, 2024

Additional Info: This issue happens only on a VM. Ntopng starts fine on physical box.

from ntopng.

ariava avatar ariava commented on July 17, 2024

Hi,

thanks for the report. Could you provide some more details about the VM setup? E.g. network configuration.

Thanks,
Arianna

from ntopng.

atin001 avatar atin001 commented on July 17, 2024

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.

ariava avatar ariava commented on July 17, 2024

@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.

lucaderi avatar lucaderi commented on July 17, 2024

Any chance to provide SSH access to your box to debug the issue locally?

from ntopng.

lucaderi avatar lucaderi commented on July 17, 2024

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.

lucaderi avatar lucaderi commented on July 17, 2024

We cannot support you if you use an old code version. Please update to github and try again

from ntopng.

ariava avatar ariava commented on July 17, 2024

@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.

atin001 avatar atin001 commented on July 17, 2024

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.

ariava avatar ariava commented on July 17, 2024

@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.

lucaderi avatar lucaderi commented on July 17, 2024

Like I have said we cannot support you unless you give access to your box where we can reproduce the bug.

from ntopng.

ariava avatar ariava commented on July 17, 2024

@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.

alenauta avatar alenauta commented on July 17, 2024

@chris4269 you can git clone version 1.99 from https://github.com/ntop/ntopng.git

from ntopng.

ariava avatar ariava commented on July 17, 2024

@chris4269, use git (available for all Linux distributions as a package) and do
git clone https://github.com/ntop/ntopng.git

from ntopng.

lucaderi avatar lucaderi commented on July 17, 2024

https://github.com/ntop/ntopng/blob/dev/README.ntopng

from ntopng.

alenauta avatar alenauta commented on July 17, 2024

@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.

chris4269 avatar chris4269 commented on July 17, 2024

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.

chris4269 avatar chris4269 commented on July 17, 2024

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.

ariava avatar ariava commented on July 17, 2024

@chris4269 commit b72bba5 should add a workaround which should allow you to now use ntopng even with IPv6 disabled

from ntopng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.