/usr/www is not the standard apache directory. RedHat used to have
/home/httpd/html as the standard web document root, but since has changed
it to /var/www/html (presumably for better compliance with emerging Linux
standards). I'm guessing that you are using a home-grown apache in
addition to your home grown mrtg, or at least you have changed the apache
configuration to include files from the /usr/www directory.

I think your first order of business is to find out if mrtg is indeed
updating your log files in /usr/www/wanstats/logs. If it is, then you
should check that it is updating your images in /usr/www/wanstats/img and
your HTML files in /usr/www/wanstats. If those are correct, you should
check your apache cpongifuration to make sure those directories are
accessible.

I'd also personally recommend that you move your MRTG data out of
/usr/www. I think that somewhere in /var is a much more appropriate place
for such things, but then again, I'm a filesystem fascist. I normally
mount my /usr partition read-only. Few things suck more than having your
/usr partition fill or corrupt.

thornton


On Wed, 27 Dec 2000, Tony Campisi wrote:

> Prime T wrote:
>
> I recommend that you check your configuration
>: /usr/local/mrtg-2/conf/mrtg.cfg.
>
> All of the directories are pointing to /usr/www (which is where the webpage
> is/was).
> For example :
> HtmlDir: /usr/www/wanstats
> ImageDir: /usr/www/wanstats/img
> LogDir: /usr/www/wanstats/logs
>
> Is is possible that Apache was updated during the install and moved
> something? I am running from cron as well.
>
>
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to