|
|
| Author |
Message |
Mach
Joined: 21 Jul 2003 Posts: 17 Location: Portland Oregon
|
|
| Back to top |
|
 |
egarnel Cacti Pro User
Joined: 21 Nov 2002 Posts: 630 Location: Austin, TX
|
Posted: Tue Aug 05, 2003 3:27 pm Post subject: excellent howto |
|
|
| Excuse me if I missed this, but net-snmp should be installed as well, or ucd-snmp for that matter |
|
| Back to top |
|
 |
ggg Guest
|
Posted: Thu Aug 07, 2003 11:32 am Post subject: |
|
|
your right netsnmp rpm should be installed.
now if I could edit my god damn posts without getting invalid session I would, but I'm going to stop posting here because invaild session error is pissing me off. I lose everything I type. GRRRRRRRRR |
|
| Back to top |
|
 |
argon0 Guest
|
Posted: Fri Mar 12, 2004 7:30 am Post subject: can you use rpm? |
|
|
| Can you just use the Cacti RPM from the site to install to the default location? |
|
| Back to top |
|
 |
Argon0 Guest
|
Posted: Fri Mar 12, 2004 1:19 pm Post subject: Cacti INstall problems! |
|
|
hokay... Finally got RRDTOOL and CACTI installed using the RPM packages on Redhat 9.0...
Using the most recent updates (rrdtool-1.0.46-1.i686.rpm & cacti-0.8.5.1.i386.rpm) I've installed all the dependencies, etc, and finally got the rpms to install (I'm quite new to Linux, etc, so forgive me if I make an obvious mistake)....
I followed both your tutorial and the instructions at http://www.raxnet.net/board/viewtopic.php?p=11931#11931, on a Vanilla (but up2dated) Redhat 9.0 box, but whenever I try to go to
http://localhost/cacti/
I just get this message:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster
Error 403
10.96.24.73
Fri 12 Mar 2004 18:12:17 GMT
Apache/2.0.40 (Red Hat Linux)
I've been trying to get this to work for over a week now! Any help you can give would be gratefully received!!! |
|
| Back to top |
|
 |
argon0 Cacti User
Joined: 12 Mar 2004 Posts: 238
|
Posted: Mon Mar 15, 2004 4:01 am Post subject: In asnwer to both my Questions |
|
|
1) yup - use the Cacti RPM.... It installs the files to /var/www/http/cacti
2) three things:
(i) Add index.php to the httpd.conf file on the line containing DirectoryIndex.
(ii) Change permissions of the cacti directory so that both apache user and cactiuser can read (at least) the directory
(iii) Don't take the instructions TOO literally... the line:
"mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword'; " sets up the MYSQL user cactiuser with password of somepassword!! <doh>
the next instruction is to set up the include/config.php file to use the MYSQL database, username, and password you've just set up... NOT the LINUX (i.e. login) user and password you set up at the beginning.... <groan>...
Well I've now just managed to get off the ground - now to work out how to fly this thing!
Argon0 |
|
| Back to top |
|
 |
amlp
Joined: 06 May 2005 Posts: 2
|
Posted: Fri May 06, 2005 4:45 pm Post subject: |
|
|
>> 10. As root change the permissions the /rra and /log Directories.
>> shell> chown cactiuser rra/ log/
what rra/ ? what log/ ? where?
cacti # pwd
/var/www/localhost/htdocs/cacti
cacti # ls -la
total 1
drwxr-xr-x 3 root root 72 May 6 12:04 .
drwxr-xr-x 3 root root 1344 May 6 10:17 ..
drwxr-xr-x 2 root root 80 May 6 12:04 include
leeamlp cacti # |
|
| Back to top |
|
 |
|