having problems getting cacti working (PHP code?)

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
ebohatch
Posts: 2
Joined: Sun Oct 04, 2009 4:54 pm

having problems getting cacti working (PHP code?)

Post by ebohatch »

I have loaded up the automatic installer for windows (cacti-0.8.7e-1.931x86.exe). Apache and everything seems OK. When I go to the main cacti index file (file:///C:/Apache2/htdocs/cacti/index.php) it displays the following:
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


Great as it should be but when I click on Create Devices I get a page of text the beginning of which is:
-----------------------------------------------------------------------
"Delete", 2 => "Enable", 3 => "Disable", 4 => "Change SNMP Options", 5 => "Clear Statistics", 6 => "Change Availability Options" ); $device_actions = api_plugin_hook_function('device_action_array', $device_actions); /* 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"); host(); include_once("./include/bottom_footer.php"); break; }
------------------------------------------------------
Can someone help me to resolve this?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) try using the correct URL of: http://localhost/cacti/index.php
2) Did you reboot the server after installing the cacti package?
3) Did you follow the post installation steps?
ebohatch
Posts: 2
Joined: Sun Oct 04, 2009 4:54 pm

Post by ebohatch »

I used your link and I get the logon screen but it rejects any username and passwords I give it. cactiuser/cacti cactiuser/cactipw

Yes the system has been rebooted numerous times since installation

I went to the task scheduler and clicked on the cacti task

I called up the task the and insured that the RUN AS field is correct, but when I set the password and click apply I get Access is denied
I do not have permission

I am the only user on this system and set as Computer Administrator
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Please attach the cacti-installer.log for me to review what went wrong.
2) Did you install PIA too?
3) Your lack of ability to set the password for the cacti scheduled task, means your windows account doesn't have permissions. this is not a cacti issue, which you must resolve.
4) The user/pass you're trying to use for the cacti website is incorrect. These are documented in the bottom of the post-install guide AND the last page of the installer.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests