Juan First of all please use the code in svn that contains many enhancements. Then the problem is due to the fact that you lack a / before usr from --httpdocs-dir usr/src/ntopng-1.0
Luca Sent from my iPad (sorry for typos) On 17/ago/2013, at 00:08, "Plascencia, Juan P x1474" <[email protected]> wrote: > Hello, > First I apologize if this has been answered somewhere else, however, I did an > extensive search and did not find an answer. > > I am attempting to run ntopng on the following: 3.2.0-4-amd64 #1 SMP Debian > 3.2.46-1 x86_64 GNU/Linux with the latest ntopng stable source code 1.0 > downloaded from the ntop site. > > When running ntopng outside or inside the (source/compile) directory, > /usr/src/ntopng-1.0, with the –httpdocs-dir flag set, I get the following > error: > > ERROR: Unable to locate docs dir > > :/usr/src/ntopng-1.0# /usr/src/ntopng-1.0/ntopng -i eth1 -U root > --dont-change-user --httpdocs-dir usr/src/ntopng-1.0 > However, the error does not occur when I pass the (this) variable to the > httpdocs and I am in the source compile directory. > > /usr/src/ntopng-1.0# /usr/src/ntopng-1.0/ntopng -i eth1 -U root > --dont-change-user --httpdocs-dir . > [Redis.cpp:39] Succesfully connected to Redis 64 bit v.2.4.14 > [Ntop.cpp:387] Setting local networks to 192.168.1.0/24 > > The reason, I would like to get the variable working is because I want to > call it as a startup script and possibly as a Daemon service. > > I did see a previous post that had a similar issue, however, I did not see > how they resolved it. > > http://www.gossamer-threads.com/lists/ntop/dev/31906#31928 > > Any assistance is greatly appreciated. > > Thank you > > Juan. > _______________________________________________ > Ntop-dev mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
