Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mrtg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
InAt!QuE
Apprentice
Apprentice


Joined: 02 Jan 2004
Posts: 257
Location: The Netherlands

PostPosted: Tue Feb 03, 2004 4:36 pm    Post subject: mrtg Reply with quote

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
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Tue Feb 03, 2004 6:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
InAt!QuE
Apprentice
Apprentice


Joined: 02 Jan 2004
Posts: 257
Location: The Netherlands

PostPosted: Wed Feb 04, 2004 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum