Thought I got it right (Win2K/IIS)

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

Moderators: Developers, Moderators

Post Reply
JC
Posts: 2
Joined: Thu Apr 25, 2002 4:05 pm
Location: Chicago
Contact:

Thought I got it right (Win2K/IIS)

Post by JC »

Shoot!

Oh well. Here's a log of my install:

* fresh install, win2k server, all hotfixes, etc, everything
* system logs clean, good build

* downloaded sources of proggies
* extraced with path, php to c:\php
* modified php.ini per docs, stuck in winnt as c:\winnt\php.ini
* copied php4ts.dll to winnt/system32
* extracted cacti, modified dir name to cacti and placed into c:\inetpub\wwwroot

* opened and extracted rrdtool to c:\rrdtool

* configured iis per specs
* stopped iisadmin
* installed mysql into c:\mysql

* at first failed to start, then had to use domain user account, and even reboot for mysql to get going

*created account, cacti_mysql, ouchouch

* created my.ini in c:\winnt (per install screen mysql instructions) [later removed - seemd to fix problems]

* added c:\php; c:\mysql; c:\mysql\bin c:\rrdtool to environment path


* reinstalled mysql, removed my.ini from c:\winnt
- left service with domain admin account in place
- restarted service, works

* performed db install, etc, per docs exactly

* assigned security for internet anonymous account for log/ and /rra to write

* scheduled job

* started cacti, tried - force.cgi problem notice

* corrected, restarted, cacti works somewhat

*config page comes up, but with errors about MIB files not found at bottom

* config'd 1st page - cacti web root not found, had \ as default, changed to /, everything else found, next

* login (security image above failed to load)

can't login

Try admin/admin - no effect
Tried user@something/pass - nope

And still getting can't find MIB files at bottom.

KEY QUESTIONS:

IIS config is a little weird on the virtual and root directories of the site

c:\inetput\wwwroot\cacti is my actual web dir for the cacti site - wrong?

HELP!

:evil:

JC
-----------------------------------------------
I know! I know!

Before the astronauts come back, let's
all dress up in ape suits!
-----------------------------------------------
SoSad

>> Almost <<

Post by SoSad »

Well,

First there is a directory in the c:\php call mibs. Copy this directory to the location containing either Cacti or Php (I forget). You must call it c:\usr\mibs. This corrects the MIB file errors.

Second, you must give the I_USR_<MACHINE ID> execute privaleges to the C:\PHP and C:\PHP\SAPI directories. You also have to set the Apache web root to C:\INETPUB\WWWROOT. The cacti web root will remain \cacti.

Ian is working on an updated Win32 install page. I hope this helps.

LarryJAdams@comcast.net :wink:
JC
Posts: 2
Joined: Thu Apr 25, 2002 4:05 pm
Location: Chicago
Contact:

Tried that

Post by JC »

| First there is a directory in the c:\php called
| mibs. Copy this directory to the location
| containing either Cacti or Php (I forget).


Ok, I'll try that.

| You must call it c:\usr\mibs. This corrects the
| MIB file errors.


?? Call WHAT c:\usr\mibs - do you mean create a DIR called c:\usr\mibs?

| Second, you must give the I_USR_<MACHINE ID>
| execute privaleges to the C:\PHP and C:\PHP\SAPI directories.


Now that Makes sense.

| You also have to set the Apache web root
| to C:\INETPUB\WWWROOT. The cacti web root will
| remain \cacti.


Huh? Where - in what file? I'm running IIS.

| Ian is working on an updated Win32 install page.
| I hope this helps.


Yay! Been growing crazy.

:lol:
-----------------------------------------------
I know! I know!

Before the astronauts come back, let's
all dress up in ape suits!
-----------------------------------------------
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

You can set both the "Apache Root" and "Cacti Web Root" by going to "cacti Settings" from within cacti.

Like SoSad said, change the "Apache Root" to:

Code: Select all

c:\inetpub\wwwroot
and change the "Cacti Web Root" to:

Code: Select all

\cacti
Hope this helps.

-Ian
Guest

Post by Guest »

Also, if PHP isn't working for you in IIS, reinstall it with the "installer" package

http://www.php.net/do_download.php?down ... taller.exe

(BTW, 4.20 works fine with CACTI under IIS)

Back up your C:\winnt\php.ini file before you install. When the installer asks you if you want to copy over the previous PHP.INI, answer "NO".

Then, download the full .ZIP version http://www.php.net/do_download.php?down ... -Win32.zip

in order to get the newer MIB and PHP_SNMP.DLL files
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest