Windows All-In-One Installer [Cacti 1.2.24] [Updated 2023-03-09]

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

Moderators: Developers, Moderators

Post Reply
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

Yes the standard upgrade procedure is an obviously step but I want to know if I have to uninstall/delete all the package out of Cacti (Net-SNMP, mySQL, PHP, etc. etc.) before install the new version or I could start the update (after the upgrade procedure) directly (no uninstall).

Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

No need to remove the installer. Its simply a way to jump-start users getting their Cacti environment up and running. Just install the new cacti files over the existing (after you've backed everything up).
janasj
Posts: 8
Joined: Fri Mar 13, 2009 4:36 pm

Post by janasj »

I tried to install it on Windows 2008 and noticed the errors from the instalaltion log...

Configuring IIS with PHP...
IIS7: Adding FastCGI
ERROR ( message:Cannot find SITE object with identifier "Files\Cacti\php\php-cgi.exe']". )
IIS7: Adding FastCGI Handler
ERROR ( message:Cannot find SITE object with identifier "Files\Cacti\php\php-cgi.exe',resourceType='Either']". )
IIS7: Adding default document
ERROR ( message:New add object missing required attributes. Cannot add duplicate collection entry of type 'add' with unique key attribute 'value' set to 'index.php'
. )

Could someone throw some light?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Did you install cacti into \program files\? If so, no good. Cacti does not like spaces in the path. This is why the default install point is c:\, where various components will then be based off of.

The installer tries to compensate for the brokeness of the PHP installer (which the Cacti installer invokes silently). Thus, the cacti installer tries to add the various bits into IIS -- which the PHP installer might have already done.

When you installed IIS, did you add the FastCGI component? If not, you should (since it's better to use fastcgi instead of isapi for Vista or better) and then re-run either Cacti or the PHP 5.2.9 installer.
janasj
Posts: 8
Joined: Fri Mar 13, 2009 4:36 pm

Post by janasj »

Thanks a lot...installing in a different folder without spaces worked without any issue.
Installer tested on Windows 2008 also 8)
BSOD2600 wrote:Did you install cacti into \program files\? If so, no good. Cacti does not like spaces in the path. This is why the default install point is c:\, where various components will then be based off of.

The installer tries to compensate for the brokeness of the PHP installer (which the Cacti installer invokes silently). Thus, the cacti installer tries to add the various bits into IIS -- which the PHP installer might have already done.

When you installed IIS, did you add the FastCGI component? If not, you should (since it's better to use fastcgi instead of isapi for Vista or better) and then re-run either Cacti or the PHP 5.2.9 installer.
WayneW
Posts: 2
Joined: Sat Feb 21, 2009 12:40 am

no more easy apcupsd?

Post by WayneW »

BSOD2600, thanks for the updated installer. I am learning Cacti on a couple XP boxes. I recently started over on one of them with the new installer build and don't see the APC statistics for apcupsd anymore. Did you deliberately not include them in this build of the installer? I know from this thread http://forums.cacti.net/about30511.html that you were surprised that you had included them in a previous build of the installer. IMHO, http://forums.cacti.net/viewtopic.php?t=23552 was a nice addition to the installer, especially for us newbies.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

That is correct, I have removed all non-standard templates/scripts from the installer, since users were under the impression they were standard/official.

One can obviously manually install them. Once Cacti supports adding templates via the commandline, I'll make them an option in the installer.
Lien
Posts: 14
Joined: Mon Mar 30, 2009 3:07 am

Post by Lien »

Thank you very much BSOD2600. I got it working from your installer on a XP SP2 maachine fine.

I only had to amend the Windows scheduled task as it did not seem to want to run :)
camksp
Posts: 9
Joined: Fri Apr 03, 2009 4:33 am

Post by camksp »

Hi,
I'm new to Cacti. I've installed it today on my Windows XP SP2 but my graph doesn't show. When I turned on graph debug mode, it shows:
-------------------------------
RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="WMSW01.L2.1 - Traffic - Gi0/10" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/wmsw01_l2_1_traffic_in_49.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/wmsw01_l2_1_traffic_in_49.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:

---------------------------------------------------------------

Please help!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

camksp: Read http://forums.cacti.net/viewtopic.php?t=11747 and then create a new forum post. Make sure the IUSR_ account has read/execute permissions on rrdtool.exe and cmd.exe.
camksp
Posts: 9
Joined: Fri Apr 03, 2009 4:33 am

Post by camksp »

BSOD2600: Thanks for your reply. I post it here because I'm using your installer.

I see an error at RRDToo Version under Technical Support, saying that:

ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.

RRDTool was installed from your installer packet. Under Utilities/Generial, the selected RRDToll Utilities Version is RRDTool 1.2.x. How to fix this error?

I'm very appriciated with your help.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

camksp wrote:BSOD2600: Thanks for your reply. I post it here because I'm using your installer.
Agreed, but the installer isn't broken....

1) Did you follow my last post and check the NTFS permissions?
2) Is this a clean install of Windows or something in a work environment, where there are likely group policies / extra security measures in place?
camksp
Posts: 9
Joined: Fri Apr 03, 2009 4:33 am

Post by camksp »

BSOD2600: I made it works now. The problem is the permission ofn cmd.exe. I must allow the modify NTFS permisson to Internet Guest Account.

Thank to your Installer and your support.

Can you point me to the right link on how to make it capture data every 1 minute?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

What security accounts were on cmd.exe before you reset them?
camksp wrote:Can you point me to the right link on how to make it capture data every 1 minute?
Read in the documentation site. Basically just change the polling/cron interval to 1 min.
camksp
Posts: 9
Joined: Fri Apr 03, 2009 4:33 am

Post by camksp »

Default are:
Administrators: Full
SYSTEM: Full
Power User: Read & Execute
Users: Read & Execute

Fist added are (that was not work):
IIS_WPG (DomainName\IIS_WPG): Mondify
Internet Guest Account (DomainName\IUSR_ServerName)

Final added and works:
Internet Guest Account (ComputerName\IUSR_ComputerName)

(My Cacti is install on WinXP, under my domain)

I can get my graph capture data every 1 minute.

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests