Posting this on the dev list as well
Been working with this a bit more and it appears you have to run NTOP
out of /usr/local/share/ntop or it cannot find any of it's js or html
files. I'm building this install exactly from the instructions at
http://www.ntop.org/download.html
After a bit more digging ntop is not passing a proper prefix to
CFG_DATAFILE_DIR. Unless I actually go in and edit config.h to change
CFG_DATAFILE_DIR to the right directory it seems to be set to
"${prefix}/share/ntop"
I tried passing a --prefix in config but it appeared to be ignored as
well. Here is the report after a ./configure --prefix=/usr/local is
done:
Install directories:
Default prefix: /usr/local
Install into: /usr/local (default or via --prefix request)
Data files are in ${prefix}/share/ntop
Config files are in /usr/local/etc/ntop
Run directory is /usr/local/var/ntop
Plugin files are in /usr/local/lib/ntop/plugins
Database files are in /usr/local/var/ntop
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Randy Snow
Sent: Friday, March 30, 2007 8:21 AM
To: [email protected]
Subject: [Ntop] Latest CVS unable to access html directory
I checked out the CVS recently and ran through the installation
instructions. ntop starts up and runs just fine, however the web
interface is missing all images and the top menu is not functioning.
All default settings were used. Everything went in /usr/local and the
html files all installed to /usr/local/share/ntop/html
I've checked all permissions, I don't see an issue there. I've
specified the process run as root as well to be sure it is not a
permission issue. In the access.log directory all the files are showing
404's. I receive this message at the top of each page "Please enable
make sure that the ntop html/ directory is properly installed"
I followed the download and install instructions detailed here:
http://www.ntop.org/download.html
I was just wondering if this is a known issue and if there is anything I
can try to attempt getting the web interface to run properly? Is there
anything I can do to assist in locating the issue? Thank you for any
help.
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev