I've tried to get Cacti running on a very current Fedora release (Linux mrtg.FUBAR.net 2.6.26.5-45.fc9.i686). I've installed everyting using YUM, and followed as many install guides and FAQs I can find. I get to #8 in the Install guide (http://docs.cacti.net/system/files/manual.pdf), but that's where my results differ..... please help. I'm lost....
FROM MANUAL:
- - - - - - - - -
8. Point your web browser to:
http://your-server/cacti/
Log in the with a username/password of admin. You will be required to change
this password immediately. Make sure to fill in all of the path variables carefully
and correctly on the following screen.
- - - - - - - - -
When I point my browser at: "http://mrtg.[fubar].net/cacti/ I get a very basic text page showing a few links...
PAGE DISPLAYS:
- - - - - - -
You are now logged into Cacti. You can follow these basic steps to get started.
* Create devices for network
* Create graphs for your new devices
* View your new graphs
- - - - - -
If I follow any of the CREATE links I see garbles test that looks like it should be the PHP (?) code for the page When I follow the VIEW link I get similar output. However, this has big bold Red type stating " DO NOT HAVE RIGHTS" (see second sample below).
Following CREATE Link:
- - - - - - - - -
#"Delete", 2 => "Enable", 3 => "Disable", 4 => "Change SNMP Options", 5 => "Clear #Statistics", 6 => "Change Availability Options" ); /* set default action */ if #(!isset($_REQUEST["action"])) { $_REQUEST["action"] = ""; } switch #($_REQUEST["action"]) { case 'save': form_save(); break; case 'actions': #form_actions(); break; case 'gt_remove': host_remove_gt(); header("Location: #host.php?action=edit&id=" . $_GET["host_id"]); break; case 'query_remove': #host_remove_query(); header("Location: host.php?action=edit&id=" . #$_GET["host_id"]); break; case 'query_reload': host_reload_query(); #header("Location: host.php?action=edit&id=" . $_GET["host_id"]); break; case #'query_verbose': host_reload_query(); header("Location: #host.php?action=edit&id=" . $_GET["host_id"] . "&display_dq_details=true"); #break; case 'edit': include_once("./include/top_header.php"); host_edit(); #include_once("./include/bottom_footer.php"); break; default: #include_once("./include/top_header.php"); ...lots more
- - - - - - - - -
Following VIEW link:
- - - - - - - - -
#YOU DO NOT HAVE RIGHTS FOR TREE VIEW"; exit; } /* if cacti's builtin #authentication is turned on then make sure to take graph permissions into #account here. if a user does not have rights to a particular graph; do not show it. #they will get an access denied message if they try and view the graph directly. */ #$access_denied = false; $tree_parameters = array(); if ((!isset($_GET["tree_id"])) #&& (isset($_SESSION['dhtml_tree']))) { unset($_SESSION["dhtml_tree"]); } #$tree_dropdown_html = draw_tree_dropdown((isset($_GET["tree_id"]) ? #$_GET["tree_id"] : "0")); /* don't even print the table if there is not >1 tree */ if #((!empty($tree_dropdown_html)) && (read_graph_config_option("default_tree_view_mode") == "1")) { print "
$tree_dropdown_html
\n"; } if (isset($_SESSION["sess_view_tree_id"])) { if (read_config_option("auth_method") != 0) { /* take tree permissions into account here, if the user does not have permission give an "access denied" message */ $access_denied = !(is_tree_allowed($_SESSION["sess_view_tree_id"])); if ($access_denied == true) { print "ACCESS DENIED"; exit; } } if (read_graph_config_option("default_tree_view_mode") == "1") { grow_graph_tree($_SESSION["sess_view_tree_id"], (!empty($start_branch) ? $start_branch : 0), isset($_SESSION["sess_user_id"]) ? $_SESSION["sess_user_id"] : 0, $tree_parameters); }elseif (read_graph_config_option("default_tree_view_mode") == "2") { grow_right_pane_tree((isset($_GET["tree_id"]) ? $_GET["tree_id"] : 0), (isset($_GET["leaf_id"]) ? $_GET["leaf_id"] : 0), (isset($_GET["host_group_data"]) ? urldecode($_GET["host_group_data"]) : 0)); } } print "
New Install - Garbled data when viewing php data
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Sat Oct 18, 2008 1:53 pm
-
- Posts: 16
- Joined: Tue Jan 17, 2006 7:22 pm
-
- Posts: 3
- Joined: Sat Oct 18, 2008 1:53 pm
Is your Cacti server running?
No. I did not. And my attempts at re-installing have been even less successful (I cant even get mysql runnning now).
However, I was told (in regards to the previous errors posted above....."Thats because your Cacti server isnt running".
From my recent experience, your very close.
Hope that helps.
However, I was told (in regards to the previous errors posted above....."Thats because your Cacti server isnt running".
From my recent experience, your very close.
Hope that helps.
-
- Posts: 3
- Joined: Sat Oct 18, 2008 1:53 pm
corrections....
closing paren ")"
and it should be "You're close"
I dont know anything about "your close"
and it should be "You're close"
I dont know anything about "your close"
-
- Posts: 16
- Joined: Tue Jan 17, 2006 7:22 pm
Who is online
Users browsing this forum: No registered users and 2 guests