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 »

BSOD2600 wrote:Hmm well your fcgiext.ini appears correct and I didn't spot any issues in the cacti-installer.log. awesome, finally a real bug with the installer process after all this time :P

Mind double-checking the IIS configuration using Using FastCGI to Host PHP Applications on IIS 6.0 guide? a simple phpinfo page work?

I also notice that the FastCGI component has been upgrade from 1.0 (my installer uses) to 1.5.2. please install the updated version to see if that helps.
Hi BSOD2600, I tried a simple PHP and I get the same error so I tried to update the fastcgi to the last version but nothing has changed :(
Then I tried to update PHP to the last version (12 instead 11) but also no change next I installed an X64 version of PHP and also I get the same error.
Finally I removed all the stuff and I installed all the package but with Apache instead IIS and all works great :wink:

Regards
Alessio
N
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 »

Glad you got it working... but you changing over to apache doesn't help me fix the issue. :P Ah well.
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

BSOD2600 wrote:Glad you got it working... but you changing over to apache doesn't help me fix the issue. :P Ah well.
Don't worry if you want I'll do other test.
This is the test environment into ESX so it's easy for me to change it back.
However also with a fresh install with Apache I get some problem about the creation of RRD.
Tell me if you want a debug IIS side or Apache.

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 »

I'd prefer if this is a real reproducible issue with windows 2003 x64 and my installer, that it gets fixed. But it's your time to help me, since I don't have a win2k3 x64 install set up what the real issue might be.
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

For me is the same.
I like to test the 0.8.7e environment using your installer so there's any difference for me about IIS or Apache.
I had problems with IIS/FastCGI and Apache/rrd.
If you want I'll reset the system and make a new full install of your installer with IIS option but I need your help in debugging.
I tried yet 2/3 solution that I found in internet but with no success.


Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
adalessa
Posts: 3
Joined: Thu Feb 25, 2010 10:31 am

Post by adalessa »

Hi
how can I add GD support to the PHP installation that comes with this windows installer?

I would like to add the weather map plugin but it seems that GD support is required.

Thank you for helping!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

adalessa:
For now, you'll have to download the php 5.2.11 zip installation file, extract php_gd2.dll, and then edit php.ini to add it in.

The next version of the installer, which I should release soon, will always be installing the php_gd and php_rrdtool extensions.

smlick:
The method I'd go about troubleshooting, is to simply follow that iis.net installation guide manually. Hopefully there will be some setting/step which was obviously missed/wrong by the installer.

I wonder if its a 32bit vs 64bit / WoW issue... %WINDIR%\system32\inetsrv\ vs %WINDIR%\SysWOW64\inetsrv for files/configs.

Maybe as a last resort, enable the Enable32bitAppOnWin64 feature
adalessa
Posts: 3
Joined: Thu Feb 25, 2010 10:31 am

Post by adalessa »

Thanks for the quick reply...
I need you help again. I have found this list of options, which one you meant?

http://www.php.net/releases/

Download:
PHP 5.2.11 (tar.bz2)
PHP 5.2.11 (tar.gz)
PHP 5.2.11 zip package
PHP 5.2.11 installer
PHP 5.2.11 Win32 Debug Pack
PHP 5.2.11 Non-thread-safe zip package

many thanks again!
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

adalessa wrote:Thanks for the quick reply...
I need you help again. I have found this list of options, which one you meant?

http://www.php.net/releases/

Download:
PHP 5.2.11 (tar.bz2)
PHP 5.2.11 (tar.gz)
PHP 5.2.11 zip package
PHP 5.2.11 installer
PHP 5.2.11 Win32 Debug Pack
PHP 5.2.11 Non-thread-safe zip package

many thanks again!
BSOD2600 wrote:"you'll have to download the php 5.2.11 zip installation file, extract php_gd2.dll, and then edit php.ini to add it in. "

So you have to download: PHP 5.2.11 zip package

Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
adalessa
Posts: 3
Joined: Thu Feb 25, 2010 10:31 am

Post by adalessa »

OK, thanks. It works. Gonna go completing the checks.
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

BSOD2600 wrote: smlick:
The method I'd go about troubleshooting, is to simply follow that iis.net installation guide manually. Hopefully there will be some setting/step which was obviously missed/wrong by the installer.

I wonder if its a 32bit vs 64bit / WoW issue... %WINDIR%\system32\inetsrv\ vs %WINDIR%\SysWOW64\inetsrv for files/configs.

Maybe as a last resort, enable the Enable32bitAppOnWin64 feature
I didn't understand well what to do.
If it's possible could you specify a little bit more :oops:

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 »

alright...
1) follow the instructions in http://learn.iis.net/page.aspx/247/usin ... on-iis-60/ to see if that fixes the problems. If so, what setting/etc was misconfigured?

2) Looking around Google, it seems people back in the day had issues with WoW (Windows on Windows -- used for 32bit compatibility in a 64bit OS) and FastCGI. Are you running a 64bit or 32bit website and extensions? I'd figure you would be pure 64bit... Anyways FastCGI stuff will either reside in %WINDIR%\system32\inetsrv\ or %WINDIR%\SysWOW64\inetsrv\. Obviously the config files and setting in IIS need to reflect the correct location being used.

3) Last option is to enable Enable32bitAppOnWin64 ("The Enable32BitAppOnWin64 property indicates whether IIS creates 32-bit worker processes or 64-bit worker processes on 64-bit Windows. This property is only relevant on 64-bit Windows with IIS 6.0 running in Worker Process Isolation mode.").

Code: Select all

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

Problem SOLVED!!!!! :P
The only thing that I did is:

Using Script for Configuring FastCGI Extension to Work with PHP
The configuration script with the name fcgconfig.js is provided with the installation of FastCGI extension and is located in %WINDIR%\system32\inetsrv. To configure FastCGI extension to work with PHP, follow the steps below:

Open a command line window, change the current directory to %WINDIR%\system32\inetsrv, and run the configuration script to register the PHP CGI program as the one that will be processing .php extensions:

cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"C:\PHP\php-cgi.exe"


Now I'll see if there are problem with rrd.

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
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

RRD doesn't go :(
This is what I get in debug mode:

02/26/2010 12:32:46 PM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1267097566 --end=1267183966 --title="128.1.239.141 - Traffic - e1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/02/25 12\:32\:46 To 2010/02/26 12\:32\:46\c" COMMENT:" \n" --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/3/8.rrd":traffic_in:AVERAGE DEF:b="C\:/Inetpub/wwwroot/cacti/rra/3/8.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"

Any idea or I have to check every little step of your guide?

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 »

Interesting.

Search your system for fcgiext.ini. How many copies do you have and where do they reside? Is the contents of the files the same?

As for rrd files, go to graph management, click on a graph and enable graph debugging. Whats the error? Also follow http://docs.cacti.net/manual:088:4_help.2_debugging
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests