-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgraded to ntopng 2.0 and get the error HTTPserver.cpp:486] ERROR: Unable to start HTTP server (IPv4) on ports 3000 #55
Comments
@EdSchmidt Is the SSL certificate present in httpdocs/ssl? |
In /usr/share/ntpng/httpdocs/ there is a ntopng-cert.pem file. From: Luca Deri [mailto:notifications@github.com] @EdSchmidthttps://github.com/EdSchmidt Is the SSL certificate present in httpdocs/ssl? — |
@EdSchmidt Please provide the complete command line you have used to start ntopng |
I just moved the .pem file out of the ssl directory and everything works. |
Well SSL won't work for sure. |
-G=/var/tmp/ntopng.pid |
@EdSchmidt how did you generate the pem file? Is it the same one you used with ntopng 1.99? |
Apart from that being closed this problem is extremely hard to solve since the error messages are probably completely unrelated to the problem: there is error output without the matching syscall, so probably the output is bogus. ("[HTTPserver.cpp:495] ERROR: Unable to start HTTP server (IPv4) on ports 127.0.0.1;3301,127.0.0.1;3302s: Success" - no syscall to give "Success" or "Bad file descriptor" or other random nonsense.) My PEM was the same as under v1.2.1 and it fails under v2.2. This is Debian/sid, and judging by the strace/ltrace everything is fine except SSL server doesn't work. Probably PEM file isn't what ntopng expects but the only solution is trial-and-error... (It's |
Can you please move to version 2.3 and open a bug if the problem is still present? |
We were running stable on version 1.99. Everything was working fine until the update. I performed the update to hopefully get historical data to work when coming from nprobe. The server is running CentOS 6.6 with the ntop.repo enabled. The ntopng service did not start, so I ran ntopng at the command line. Whether I use my ntopng.conf file or not, I get the same error.
16/Jun/2015 10:25:54 [src/HTTPserver.cpp:486] ERROR: Unable to start HTTP server (IPv4) on ports 3000,3001s Success
port 3000 is not in use
I do see 'User changed to nobody' before the error occurs.
ntopng version is
ntopng-data-2.0.150616-203.noarch
ntopng-2.0.150616-203.x86_64
The text was updated successfully, but these errors were encountered: