View previous topic :: View next topic |
Author |
Message |
InAt!QuE Apprentice
Joined: 02 Jan 2004 Posts: 257 Location: The Netherlands
|
Posted: Tue Feb 03, 2004 4:36 pm Post subject: mrtg |
|
|
Hi all,
just installed mrtg & snmp by this doc. >> https://forums.gentoo.org/viewtopic.php?t=105865&highlight=mrtg
Everything goes fine until step 6:
Code: | 6) Make the index
Code:
/usr/bin/indexmaker --output=/var/www/localhost/mrtg/index.html \
--title="Power Under Control :)" \
--sort=name \
--enumerate \
/etc/mrtg/traffic.cfg \
/etc/mrtg/cpu.cfg \
/etc/mrtg/mem.cfg \
/etc/mrtg/swap.cfg \
/etc/mrtg/ping.cfg
|
I'll put usr/bin/indexmaker --output=/var/www/localhost/htdocs/mrtg/index.html \
and I get the message: Code: | ERROR: unable to open config file: |
So what's my problem? Permissions? I followed each step in the doc. _________________ ...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly). |
|
Back to top |
|
|
cuban Guru
Joined: 23 Aug 2003 Posts: 448 Location: Houston, TX
|
Posted: Tue Feb 03, 2004 6:37 pm Post subject: |
|
|
Do a
Code: | touch /var/www/localhost/htdocs/mrtg/index.html |
then
Code: | ls /var/www/localhost/htdocs/mrtg/index.html |
Touch creates an emtpy file. If touch works then it is not a permissions issue.
Be sure to try this as the user you are attempting to create the MRTG output with.
Daniel _________________ Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today! |
|
Back to top |
|
|
InAt!QuE Apprentice
Joined: 02 Jan 2004 Posts: 257 Location: The Netherlands
|
Posted: Wed Feb 04, 2004 10:40 am Post subject: |
|
|
It works ... I did what u said and it was a permission issue ...
After changing permissions everything works .. thnx for help _________________ ...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly). |
|
Back to top |
|
|
|