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!
JC
Thought I got it right (Win2K/IIS)
Moderators: Developers, Moderators
Thought I got it right (Win2K/IIS)
-----------------------------------------------
I know! I know!
Before the astronauts come back, let's
all dress up in ape suits!
-----------------------------------------------
I know! I know!
Before the astronauts come back, let's
all dress up in ape suits!
-----------------------------------------------
>> Almost <<
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
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
Tried that
| 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.
| 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.
-----------------------------------------------
I know! I know!
Before the astronauts come back, let's
all dress up in ape suits!
-----------------------------------------------
I know! I know!
Before the astronauts come back, let's
all dress up in ape suits!
-----------------------------------------------
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:
and change the "Cacti Web Root" to:
Hope this helps.
-Ian
Like SoSad said, change the "Apache Root" to:
Code: Select all
c:\inetpub\wwwroot
Code: Select all
\cacti
-Ian
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
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
Who is online
Users browsing this forum: No registered users and 1 guest