Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Windows Installer [v1.94 - 2009-11-25]
Goto page 1, 2, 3 ... 34, 35, 36  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific
Author Message
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8829
Location: WA, USA

PostPosted: Thu Jul 20, 2006 3:20 pm    Post subject: Windows Installer [v1.94 - 2009-11-25] Reply with quote

Description
I've put together an all-inclusive Windows installer for Cacti. It's been tested on Windows 2000, XP, 2003, 2008 and Vista. This is only meant for new installations where you have no existing components installed (i.e. Cacti, MySQL, Apache, etc). It installs the latest versions of all needed applications in their default locations (per the install guide), configures them, and should give you a fully functional Cacti.

This installer now lets you choose between using IIS or Apache web server. Disable your anti-virus for the installer -- it runs some special scripts that configure IIS, MySQL, files and NTFS permissions. Some AV scanners block these events from occurring.

Don't forget to follow the post-install instructions and restart the server before trying to access the Cacti website! After the installer is done, you can check cacti-installer.log and the various install logs in your /cacti/log directory for errors. Lastly, to upgrade Cacti, follow this guide, since the installer is not meant for upgrading.

Changelog
--1.94 2009-11-24
Feature: Switched from ISAPI to FastCGI on IIS for PHP
Feature: 64bit support. 64bit versions of MySQL, FastCGI and Net-SNMP will be installed.
Feature: Option to add user contributed templates/scripts.
Feature: Latest Cacti 0.8.7e security patches included:
-Command Line Add Graphs Syntax
-SNMP Invalid Responses
-Template Import/Export Duplication
-Windows IIS Ping Issue
-Cross-Site Scripting Fixes

Current Versions:
-Cacti 0.8.7e
-Spine 0.8.7e
-Apache 2.2.14
-MySQL 5.0.88
-PHP 5.2.11
-Net-SNMP 5.5.0.2
-RRDTool 1.2.30
-GetIF 2.3.1

Older revision history.

Download
A big thanks to rony and DaveHope for hosting the installer.
Download Location 1 (133 MB) MD5: 9ce6a522c3d04617012d393c10fa0960
Download Location 2

Support
Please report any problems you have regarding the installer in this thread. Generic Cacti problems should go in their own new separate thread after you've read this post.

Donations
Please consider giving a donation if you found the Cacti Windows installer to be helpful. Every little bit helps. Thanks!



Last edited by BSOD2600 on Wed Nov 25, 2009 4:13 pm; edited 38 times in total
Back to top
rallen



Joined: 20 Jul 2006
Posts: 17

PostPosted: Thu Jul 20, 2006 4:27 pm    Post subject: Reply with quote

Good afternoon,

Thanks for posting the installer. I had spent the better part of the last two days banging my head against the wall trying to figure out why I couldn't get the web interface to work (various php error messages), then I ran the installer and I was in the web interface after a reboot. Great!

The problem I am having right now is when I try to run php c:\inetpub\wwwroot\cacti\poller.php from the prompt, I get the following error:

PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_snmp.dll' - The specified module could not be found.
in Unknown on line 0
OK u:0.01 s:0.01 r:5.05
07/20/2006 04:20:04 PM - SYSTEM STATS: Time:6.1221 Method:cmd.php
Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:2 RRDsProcessed:1

I checked to make sure that .dll file does exist and that the user account I'm logged in with has permissions for it. Any suggestions on what I can check? Thanks!
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8829
Location: WA, USA

PostPosted: Thu Jul 20, 2006 4:47 pm    Post subject: Reply with quote

Try a chkdsk c: /f. I've run into this problem before a while ago and that was a fix.
Back to top
rallen



Joined: 20 Jul 2006
Posts: 17

PostPosted: Fri Jul 21, 2006 8:37 am    Post subject: Reply with quote

Thanks for the response, unfortunately that did not seem to resolve the issue - while I was looking at the problem again I found an error message that managed to get behind the 50 other windows I had open complaining about not being able to find msvcr71.dll. I grabbed it off the net and stuffed it in c:\php and the error went away. I'll keep an eye on it and let you know if I have any other trouble. Thanks!
Back to top
Slaktarn



Joined: 10 Jul 2006
Posts: 13

PostPosted: Fri Jul 21, 2006 10:37 am    Post subject: Reply with quote

Hay the graphs will not work. It luck like this

http://img488.imageshack.us/my.php?image=namnlsgo5.gif

and it also say that the server is down

http://img170.imageshack.us/my.php?image=namnlsgr9.png
http://img107.imageshack.us/my.php?image=namnls2nl0.png

why please help me
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8829
Location: WA, USA

PostPosted: Fri Jul 21, 2006 10:46 am    Post subject: Reply with quote

rallen: What OS? Not really sure why you need that dll. Msvcr71.dll for Microsoft Visual C++ .NET 2003 with the Microsoft .NET Framework 1.1. I've tested this installer on a fresh install of XP Pro and didn't get that error.

Slaktarn: You notice in the last screenshot that SNMP Error? That is likely the cause of all your problems. Fix that and you should get graphs.
Back to top
rallen



Joined: 20 Jul 2006
Posts: 17

PostPosted: Fri Jul 21, 2006 11:26 am    Post subject: Reply with quote

BSOD2600 wrote:
rallen: What OS? Not really sure why you need that dll. Msvcr71.dll for Microsoft Visual C++ .NET 2003 with the Microsoft .NET Framework 1.1. I've tested this installer on a fresh install of XP Pro and didn't get that error.

It's 2000 Server. I'm sure if I played with one of our 2003 boxes I wouldn't have gotten that error either, but we don't have any around that I can crash test stuff with at the moment.
Back to top
Slaktarn



Joined: 10 Jul 2006
Posts: 13

PostPosted: Fri Jul 21, 2006 12:07 pm    Post subject: Reply with quote

Quote:
Slaktarn: You notice in the last screenshot that SNMP Error? That is likely the cause of all your problems. Fix that and you should get graphs.


But i have install all stuff right. So i can[/quote]


Last edited by Slaktarn on Fri Jul 21, 2006 12:09 pm; edited 1 time in total
Back to top
Slaktarn



Joined: 10 Jul 2006
Posts: 13

PostPosted: Fri Jul 21, 2006 12:07 pm    Post subject: Reply with quote

Hmmm multipost. Get en SQLError in the first. Delete it sorry.
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8829
Location: WA, USA

PostPosted: Fri Jul 21, 2006 12:08 pm    Post subject: Reply with quote

Hmm, alright. Guess I'll set up a Win2K VM when I get home and test it too. Do you have .NET 1.1 framework installed?
Back to top
Slaktarn



Joined: 10 Jul 2006
Posts: 13

PostPosted: Fri Jul 21, 2006 12:09 pm    Post subject: Reply with quote

O sorry BSOD....... Yes i have it installed. I run Windows 2003 Enterprise Server SP1 "IIS 6.0"

and i cant understand why i get SNMP error

"and i have .NET 2.0 framework"

Find this to

Quote:
07/21/2006 05:35:03 PM - SYSTEM STATS: Time:3.1131 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:0


maybe its something wrong on RRDTool?
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8829
Location: WA, USA

PostPosted: Fri Jul 21, 2006 2:24 pm    Post subject: Reply with quote

No, you haven't properly configured SNMP on your server. Make sure there is a community and allowed IPs.
Back to top
Slaktarn



Joined: 10 Jul 2006
Posts: 13

PostPosted: Sat Jul 22, 2006 2:56 am    Post subject: Reply with quote

BSOD2600 wrote:
How to configured SNMP ??? I have read all text and your installation guide but i cant undetstand enything of it
Back to top
Slaktarn



Joined: 10 Jul 2006
Posts: 13

PostPosted: Sat Jul 22, 2006 7:50 am    Post subject: Reply with quote

Slaktarn wrote:
BSOD2600 wrote:
How to configured SNMP ??? I have read all text and your installation guide but i cant undetstand enything of it


I also get this error when i try to create a new host... Maybe it is cuz the SNMP is down... It lucks like this


Quote:
Warning: exec() [function.exec]: Unable to fork [c:/net-snmp/bin/snmpbulkwalk.exe -O QfntUe -u -l authNoPriv -a MD5 -A -v 3 -t 1 -r 3 -Cr50 127.0.0.1:161 .1.3.6.1.2.1.2.2.1.1] in F:\Program\WebServer\Cacti\lib\functions.php on line 1161

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q F:\Program\WebServer\Cacti\scripts\ss_host_disk.php 127.0.0.1 5 3:161:500:public:::MD5::[None] index] in F:\Program\WebServer\Cacti\lib\functions.php on line 1161

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q F:\Program\WebServer\Cacti\scripts\ss_host_disk.php 127.0.0.1 5 3:161:500:public:::MD5::[None] query index] in F:\Program\WebServer\Cacti\lib\functions.php on line 1161

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q F:\Program\WebServer\Cacti\scripts\ss_host_disk.php 127.0.0.1 5 3:161:500:public:::MD5::[None] query description] in F:\Program\WebServer\Cacti\lib\functions.php on line 1161

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q F:\Program\WebServer\Cacti\scripts\ss_host_disk.php 127.0.0.1 5 3:161:500:public:::MD5::[None] query sau] in F:\Program\WebServer\Cacti\lib\functions.php on line 1161

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q F:\Program\WebServer\Cacti\scripts\ss_host_cpu.php 127.0.0.1 5 3:161:500:public:::MD5::[None] index] in F:\Program\WebServer\Cacti\lib\functions.php on line 1161

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q F:\Program\WebServer\Cacti\scripts\ss_host_cpu.php 127.0.0.1 5 3:161:500:public:::MD5::[None] query index] in F:\Program\WebServer\Cacti\lib\functions.php on line 1161

Warning: Cannot modify header information - headers already sent by (output started at F:\Program\WebServer\Cacti\lib\functions.php:1161) in F:\Program\WebServer\Cacti\host.php on line 151


Have also a qustion... in the php ini are no plugin running. Can i run Cacti whitout php plugins?
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 1158
Location: B/CS Texas

PostPosted: Sat Jul 22, 2006 2:31 pm    Post subject: Reply with quote

Quote:
Warning: exec() [function.exec]: Unable to fork [c:/net-snmp/bin/snmpbulkwalk.exe -O QfntUe -u -l authNoPriv -a MD5 -A -v 3 -t 1 -r 3 -Cr50 127.0.0.1:161 .1.3.6.1.2.1.2.2.1.1] in F:\Program\WebServer\Cacti\lib\functions.php on line 1161


I have gotten this before when testing on windows 2000 and 2003.

This worked to fix it on both of them
Code:
CACLS %COMSPEC% /E /G %COMPUTERNAME%\IUSR_%COMPUTERNAME%:R

You may have to actually substitute your real computername for the %COMPUTERNAME% variable. This basically just sets read permissions for the IIS user for cmd.exe. The /E flag tells it to edit the permissions instead of just overriding them, and the /G flag means "Grant" permissions.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific All times are GMT - 5 Hours
Goto page 1, 2, 3 ... 34, 35, 36  Next
Page 1 of 36

 



Powered by phpBB © 2001, 2005 phpBB Group