> Hey folks!
>
> First of all, I had to do the makefile editing mentioned in the
> FAQ to get ntop to compile on linux (Slackware 8.0). Now that
> it's running, I've got a couple of problems:
>
> 1) ntop is not serving images
> Is this because I don't have X or any image libs on the box?
> This server will run headless, so I didn't install any
> graphics on it. I saw the images in {srcdir}/html, but it
> doesn't appear they got installed anywhere. Ntop on my
> workstation, that does have X and graphics libs, serves the
> images just fine. I don't see the /html directory in
> /usr/local/[lib,bin] though. If I do need to install graphics
> libs, would someone please kindly tell me which ones are
> necessary for compiling on linux? /{logDir}/ntop.access.log
> shows the images going out with 200 headers, but what's
> actually being served is a page that says, "Unable to generate
> the page requested"
>
Hi.
I had the same problem.
In fact, the "make install" step of the ntop installation (I assume
you donwloaded the same ntop-2.0-src.tar.gz from official website
like I did) crashes while trying to install the intop man page under
the $PREFIX/ntop/man/man1/intop/ directory : this directory does not
exist.
That leaves you with a quite full working ntop and intop binaries,
but when browsing through a http client, all gif pics miss, while you
still are able to see stats.
You can resolve this like that :
- reinstall ntop from scratch : do not forget to create manually the
$PRERFIX/ntop/man/man1/intop directory ($PREFIX being the prefix
configure option if you set it. I did use /usr/local/ntop-2.0 as
$PREFIX, so I had to create /usr/local/ntop-2.0/man/man1/intop)
- run make install again : you'll notice that there are lot of things
done after installation of man pages (which should, IMHO, be
installed at last and not at this step!), including all html and gif
files and directories.
If you are using Linux Red Hat, check if you have installed zlib-
devel files. If not, do it, rebuild all gdchart packages by running
buildAll.sh in the gdchart directory BEFORE recompiling ntop.
Should then work fine.
Do not have any idea yet for your other question...
Guillaume
[ Sent with SquirrelMail - http://www.squirrelmail.org ]
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop-dev