GithubHelp home page GithubHelp logo

Comments (9)

lucaderi avatar lucaderi commented on May 13, 2024 1

Can you please move to version 2.3 and open a bug if the problem is still present?

from ntopng.

lucaderi avatar lucaderi commented on May 13, 2024

@EdSchmidt Is the SSL certificate present in httpdocs/ssl?

from ntopng.

EdSchmidt avatar EdSchmidt commented on May 13, 2024

In /usr/share/ntpng/httpdocs/ there is a ntopng-cert.pem file.

From: Luca Deri [mailto:[email protected]]
Sent: Tuesday, June 16, 2015 10:56 AM
To: ntop/ntopng
Cc: Schmidt, Edward A.
Subject: Re: [ntopng] Upgraded to ntopng 2.0 and get the error HTTPserver.cpp:486] ERROR: Unable to start HTTP server (IPv4) on ports 3000 (#55)

@EdSchmidthttps://github.com/EdSchmidt Is the SSL certificate present in httpdocs/ssl?


Reply to this email directly or view it on GitHubhttps://github.com//issues/55#issuecomment-112461062.

from ntopng.

lucaderi avatar lucaderi commented on May 13, 2024

@EdSchmidt Please provide the complete command line you have used to start ntopng

from ntopng.

EdSchmidt avatar EdSchmidt commented on May 13, 2024

I just moved the .pem file out of the ssl directory and everything works.

from ntopng.

lucaderi avatar lucaderi commented on May 13, 2024

Well SSL won't work for sure.

from ntopng.

EdSchmidt avatar EdSchmidt commented on May 13, 2024

-G=/var/tmp/ntopng.pid
-i tcp://127.0.0.1:5556
-n=2
-F=db
-d /var/tmp/ntopng
-w 3000
-m 10.72.0.0/16,10.70.0.0/16,10.1.0.0/16,10.3.7.0/24,10.32.84.0/24,10.11.84.0/24,10.3.22.0/24,10.3.5.0/24,10.3.36.0/24,10.3.30.0/24,74.116.228.0/24,10.75.184.0/22,10.75.0.0/21,10.75.232.0/22,172.25.0.0/16,10.75.176.0/22,10.75.8.0/22,10.75.24.0/24,10.3.18.0/22,10.75.168.0/22,10.75.152.0/22,10.75.168.0/22
-e
-H
-v

from ntopng.

ariava avatar ariava commented on May 13, 2024

@EdSchmidt how did you generate the pem file? Is it the same one you used with ntopng 1.99?

from ntopng.

grinapo avatar grinapo commented on May 13, 2024

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 cat server.key server.crt > ntopng.pem right now.)

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.