Problems getting cacti to run

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
faulknkg
Posts: 6
Joined: Wed Oct 23, 2002 7:33 am

Problems getting cacti to run

Post by faulknkg »

New at this Linux stuff. Have Suse 8.1, Apache 1.3.26, PHP 4.2.2. Followed instructions but I cannot even get to the cacti web page. Any pointers would be greatly appreciate.
BSDeality
Posts: 35
Joined: Tue Oct 08, 2002 7:56 am
Location: Connecticut
Contact:

Post by BSDeality »

you're going to have to discribe your problem a bit more.

did you put the cacti dir in a web-accessible directory?
what kind of errors are you getting when trying to access the cacti page
do you have permissions to read? write? execute?

please be as in depth as possible when describing your problem.
[url=http://geekfort.com/cacti/graph_view.php?action=tree]Geekfort.com/cacti[/url]
faulknkg
Posts: 6
Joined: Wed Oct 23, 2002 7:33 am

Post by faulknkg »

I get to the cacti installation web page but im unable to get to the next page after. Cacti is in /srv/www/htdocs/cacti. I chmod +x the cacti directory which was why i didnt see anything at first. Im thinking there are more permission i may have to change in the directory but not sure what they are. Almost every file in the directory is 644 permissions..is this correct?
BSDeality
Posts: 35
Joined: Tue Oct 08, 2002 7:56 am
Location: Connecticut
Contact:

Post by BSDeality »

make sure you have all of the following in your php.ini

Code: Select all

short_open_tag = On
register_globals = On
register_argc_argv = On 
After changing them restart apache and you should be good to go.
[url=http://geekfort.com/cacti/graph_view.php?action=tree]Geekfort.com/cacti[/url]
faulknkg
Posts: 6
Joined: Wed Oct 23, 2002 7:33 am

Post by faulknkg »

Thanks for all the help BSDeality. I get to the user login screen but i am unable to login with the credentials i have setup. This what what i entered during cacti intallation

mysqladmin create cacti
mysql cacti < cacti.sql
mysql --user=root mysql
GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'password';
flush privileges;

edit config.php
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "password";
my crontab entry is
*/5 * * * * cactiuser php /srv/www/htdocs/cacti/cmd.php .........

is there anything im missing or doing wrong?
faulknkg
Posts: 6
Joined: Wed Oct 23, 2002 7:33 am

Post by faulknkg »

Forget my previous post. Maybe i should read all the directions [admin/admin]!!! Thanks for the help. Im sure i will have more questions as things get rolling.
faulknkg
Posts: 6
Joined: Wed Oct 23, 2002 7:33 am

Differnce in net-snmp and ucd-snmp

Post by faulknkg »

What is the difference between net-snmp and ucd-snmp. Am i wrong in thinking that ucd is part of the net-snmp5x install?
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

net-snmp is a successor for ucd-snmp. Developers decided to change name of snmp package when switching from version 4 to 5.

http://www.net-snmp.org/FAQ.html#What_s ... d_Net_SNMP_

- bulek
jrbattles
Posts: 2
Joined: Wed Feb 05, 2003 1:34 am

-c switch

Post by jrbattles »

I have net-snmp-5.0.1-6 installed on my Linux box and it has not been able to gather SNMP interfaces either. After looking at the HTTPD error logs, it appears as if net-snmp5 requires a "-c" switch before the community whereas the old ucd-snmp did not.

I am thinking about installing the old ucd-snmp in different path and use that old snmpwalk.

any other ideas?
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

And that's the best idea at the moment. You can also consider applying a patch to cacti described here: http://www.raxnet.net/board/viewtopic.php?t=770

- bulek
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests