Hi,
I have ntopng-1.2.2 installed on fedora20 with redis and zeromq and
trying to get it started, running over ssl. I receive the following
error when I try to run it:

# ntopng -v -W 3001 -w 0
22/Sep/2014 16:24:15 [Ntop.cpp:587] 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
22/Sep/2014 16:24:15 [AddressResolution.cpp:132] Rule '192.168.1.0'/'24'
22/Sep/2014 16:24:15 [AddressResolution.cpp:132] Rule '0.0.0.0'/'32'
22/Sep/2014 16:24:15 [AddressResolution.cpp:132] Rule '224.0.0.0'/'8'
22/Sep/2014 16:24:15 [AddressResolution.cpp:132] Rule '239.0.0.0'/'8'
22/Sep/2014 16:24:15 [AddressResolution.cpp:132] Rule '255.255.255.255'/'32'
22/Sep/2014 16:24:15 [AddressResolution.cpp:132] Rule '127.0.0.0'/'8'
22/Sep/2014 16:24:15 [Redis.cpp:74] Successfully connected to Redis
127.0.0.1:6379
22/Sep/2014 16:24:15 [PcapInterface.cpp:81] Reading packets from
interface eth0...
22/Sep/2014 16:24:15 [Ntop.cpp:711] Registered interface eth0 [id: 0]
22/Sep/2014 16:24:15 [PcapInterface.cpp:81] Reading packets from
interface eth1...
22/Sep/2014 16:24:15 [Ntop.cpp:711] Registered interface eth1 [id: 1]
22/Sep/2014 16:24:15 [PcapInterface.cpp:81] Reading packets from interface lo...
22/Sep/2014 16:24:15 [Ntop.cpp:711] Registered interface lo [id: 2]
22/Sep/2014 16:24:15 [Utils.cpp:251] User changed to nobody
22/Sep/2014 16:24:15 [main.cpp:184] PID stored in file /var/tmp/ntopng.pid
22/Sep/2014 16:24:15 [HTTPserver.cpp:350] Found SSL certificate
/usr/share/ntopng/httpdocs/ssl/ntopng-cert.pem
22/Sep/2014 16:24:15 [HTTPserver.cpp:386] ERROR: Unable to start HTTP
server (IPv4) on port 0

Is this a bug, or am I doing something wrong?

I've created the ssl cert and linked openssl to the ssl/ directory:

# cd /usr/share/ntopng/httpdocs/ssl
# ln -s /usr/lib64/libssl.so.1.0.1e libssl.so
# openssl req -new -x509 -sha1 -extensions v3_ca -nodes -days 760 -out cert.pem
# cat privkey.pem cert.pem > ntopng-cert.pem

If I recall from using the older ntop, it's necessary to first
configure a user and password to access the web interface. Is this
still necessary? Where are the basic initial configuration
instructions on how to set it up?

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

Reply via email to