Hi, I've just tested with brew and El Capitan. Everything works OK.
After a brew install, ntopng works out-of-the-box and uses the right directories under usr/local/Cellar See the output: Simones-MacBook-Pro:tmp simone$ /usr/local/Cellar/ntopng/2.2_1/bin/ntopng [...] 10/May/2016 10:23:59 [HTTPserver.cpp:456] HTTPS Disabled: missing SSL certificate /usr/local/Cellar/ntopng/2.2_1/share/ntopng/httpdocs/ssl/ntopng-cert.pem 10/May/2016 10:23:59 [HTTPserver.cpp:458] Please read https://github.com/ntop/ntopng/blob/dev/doc/README.SSL if you want to enable SSL. 10/May/2016 10:23:59 [HTTPserver.cpp:501] Web server dirs [/usr/local/Cellar/ntopng/2.2_1/share/ntopng/httpdocs][/usr/local/Cellar/ntopng/2.2_1/share/ntopng/scripts] 10/May/2016 10:23:59 [HTTPserver.cpp:504] HTTP server listening on port 3000 [...] ntopng works also if simply invoke it without specifying the full path. Indeed, the /usr/local/bin/ntopng points to the executable in the cellar: Simones-MacBook-Pro:tmp simone$ which ntopng /usr/local/bin/ntopng Simones-MacBook-Pro:tmp simone$ ls -lha `which ntopng` lrwxr-xr-x 1 simone admin 33B May 10 10:23 /usr/local/bin/ntopng -> ../Cellar/ntopng/2.2_1/bin/ntopng You should inspect ntopng console output and see the httpdocs and scrips directories it tries to set. My guess is that you have build and installed ntopng also from source and now the two versions are conflicting. Please, let us know. Simone On Mon, May 9, 2016 at 8:20 PM, Stefan <netfort...@gmail.com> wrote: > FYI - latest version out of brew still exhibits the same issues. > Workaround provided by Joe, earlier in the thread, works just fine: > > $ ntopng -i <iface> --httpdocs-dir=/usr/local/share/ntopng/httpdocs > --scripts-dir=/usr/local/share/ntopng/scripts > > ***Stefan Mititelu > http://twitter.com/netfortius > http://www.linkedin.com/in/netfortius > > On Fri, Jan 22, 2016 at 6:54 AM, Luca Deri <d...@ntop.org> wrote: > >> Stefan >> at the next update of ntopng it will get that >> >> Luca >> >> On 22 Jan 2016, at 13:53, Stefan <netfort...@gmail.com> wrote: >> >> Thank you, Luca. Hopefully the brew package gets the same updates. >> >> ***Stefan >> >> On Fri, Jan 22, 2016 at 3:31 AM, Luca Deri <d...@ntop.org> wrote: >> >>> Hi all, >>> to make things easier for everybody I have added /usr/local/share/ntopng >>> to the list of searched dirs >>> >>> https://github.com/ntop/ntopng/commit/b1e98e332541d375721095c23d7eb7a60a72bd5a >>> >>> Luca >>> >>> >>> On 01/21/2016 08:09 PM, Stefan wrote: >>> >>> That was it, Joe!!! Thanks a bunch!!! >>> >>> ***Stefan >>> >>> On Thu, Jan 21, 2016 at 12:50 PM, Joe Rizzo <jri...@rizzos.net> wrote: >>> >>>> I had a similar experience on freeBSD. Try setting these options when >>>> starting ntopng. >>>> >>>> --httpdocs-dir=/usr/local/share/ntopng/httpdocs >>>> --scripts-dir=/usr/local/share/ntopng/scripts >>>> >>>> >>>> Joe >>>> >>>> On Thu, Jan 21, 2016 at 10:36 AM, Stefan < <netfort...@gmail.com> >>>> netfort...@gmail.com> wrote: >>>> >>>>> I am running out of ideas here - no matter what I've tried, the brew >>>>> packaged ntopng seems to not have something placed in the right location >>>>> (or path), as - once starting ntopng - my <http://ocalhost:3000/> >>>>> http://ocalhost:3000 -> http://localhost:3000/lua/login.lua?referer=/ >>>>> comes up with the: >>>>> >>>>> Page "/lua/login.lua" was not found >>>>> >>>>> I have tried to force the "path" in different ways, by prepending and >>>>> suffixing the URI, but to no avail. Anyone having experienced this issue? >>>>> Can't believe I am the only Mac owner trying to use the newest version of >>>>> ntopng brew package ... >>>>> >>>>> TIA, >>>>> ***Stefan >>>>> >>>>> _______________________________________________ >>>>> Ntop mailing list >>>>> Ntop@listgateway.unipi.it >>>>> http://listgateway.unipi.it/mailman/listinfo/ntop >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Ntop mailing list >>>> Ntop@listgateway.unipi.it >>>> http://listgateway.unipi.it/mailman/listinfo/ntop >>>> >>> >>> >>> >>> _______________________________________________ >>> Ntop mailing >>> listNtop@listgateway.unipi.ithttp://listgateway.unipi.it/mailman/listinfo/ntop >>> >>> >>> >>> _______________________________________________ >>> Ntop mailing list >>> Ntop@listgateway.unipi.it >>> http://listgateway.unipi.it/mailman/listinfo/ntop >>> >> >> _______________________________________________ >> Ntop mailing list >> Ntop@listgateway.unipi.it >> http://listgateway.unipi.it/mailman/listinfo/ntop >> >> >> >> _______________________________________________ >> Ntop mailing list >> Ntop@listgateway.unipi.it >> http://listgateway.unipi.it/mailman/listinfo/ntop >> > > > _______________________________________________ > Ntop mailing list > Ntop@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop >
_______________________________________________ Ntop mailing list Ntop@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop