Hi

First off, ntopng is a great piece of software. I am working in performance 
team in Oracle and researching whether we can use it to monitor network usage 
of VMs on nimbula clusters.

Needed some help regarding the same.

 

I have installed ntopng and redis server successfully on one of my VMs 
(2.6.39-400.109.6.el6uek.x86_64) but not able to start ntopng

The error that I am facing is as follows

 

[root@ucf2b-docs-psr0427-ms1 bin]# ./ntopng

30/Apr/2015 10:48:53 [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

30/Apr/2015 10:48:53 [Redis.cpp:93] Successfully connected to Redis 
127.0.0.1:6379@0

30/Apr/2015 10:48:54 [main.cpp:201] ERROR: Startup error: missing super-user 
privileges ? (I am already running as su!)

 

[root@ucf2b-docs-psr0427-ms1 bin]# ./ntopng -i eth0

30/Apr/2015 10:48:57 [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

30/Apr/2015 10:48:57 [Redis.cpp:93] Successfully connected to Redis 
127.0.0.1:6379@0

30/Apr/2015 10:48:57 [PcapInterface.cpp:81] Reading packets from interface 
eth0...

30/Apr/2015 10:48:57 [Ntop.cpp:1027] Registered interface view eth0 [id: 0]

30/Apr/2015 10:48:57 [Ntop.cpp:997] Registered interface eth0 [id: 0]

30/Apr/2015 10:48:57 [Utils.cpp:277] User changed to nobody

30/Apr/2015 10:48:57 [main.cpp:227] PID stored in file /var/tmp/ntopng.pid

30/Apr/2015 10:48:57 [HTTPserver.cpp:449] HTTPS Disabled: missing SSL 
certificate /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem

30/Apr/2015 10:48:57 [HTTPserver.cpp:451] Please read 
https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable SSL.

30/Apr/2015 10:48:57 [HTTPserver.cpp:486] ERROR: Unable to start HTTP server 
(IPv4) on ports 3000 (no su error now!)

 

Confirmed that 3000 port is not in use

[root@ucf2b-docs-psr0427-ms1 bin]# netstat -nap|grep 3000

[root@ucf2b-docs-psr0427-ms1 bin]#

 

Tried to start it on a different port just in case

[root@ucf2b-docs-psr0427-ms1 bin]# ./ntopng -i eth0 -w 25436

30/Apr/2015 10:58:15 [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

30/Apr/2015 10:58:15 [Redis.cpp:93] Successfully connected to Redis 
127.0.0.1:6379@0

30/Apr/2015 10:58:15 [PcapInterface.cpp:81] Reading packets from interface 
eth0...

30/Apr/2015 10:58:15 [Ntop.cpp:1027] Registered interface view eth0 [id: 0]

30/Apr/2015 10:58:15 [Ntop.cpp:997] Registered interface eth0 [id: 0]

30/Apr/2015 10:58:15 [Utils.cpp:277] User changed to nobody

30/Apr/2015 10:58:15 [main.cpp:227] PID stored in file /var/tmp/ntopng.pid

30/Apr/2015 10:58:15 [HTTPserver.cpp:449] HTTPS Disabled: missing SSL 
certificate /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem

30/Apr/2015 10:58:15 [HTTPserver.cpp:451] Please read 
https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable SSL.

30/Apr/2015 10:58:15 [HTTPserver.cpp:486] ERROR: Unable to start HTTP server 
(IPv4) on ports 25436

 

Enabled SSL and tried to start it

[root@ucf2b-docs-psr0427-ms1 bin]# ./ntopng -i eth0 -w 25436 -s

30/Apr/2015 10:58:19 [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

30/Apr/2015 10:58:19 [Redis.cpp:93] Successfully connected to Redis 
127.0.0.1:6379@0

30/Apr/2015 10:58:19 [PcapInterface.cpp:81] Reading packets from interface 
eth0...

30/Apr/2015 10:58:19 [Ntop.cpp:1027] Registered interface view eth0 [id: 0]

30/Apr/2015 10:58:19 [Ntop.cpp:997] Registered interface eth0 [id: 0]

30/Apr/2015 10:58:19 [main.cpp:227] PID stored in file /var/tmp/ntopng.pid

30/Apr/2015 10:58:19 [HTTPserver.cpp:486] ERROR: Unable to start HTTP server 
(IPv4) on ports 25436,3001s

 

Checked /var/log/messages and /var/tmp/ntopng to see if there are any logs but 
couldn't find anything relevant. 

 

Would greatly appreciate any help. Please let me know if there is anything else 
I can try

Thanks

Atin
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to