Problem during installation

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

Moderators: Developers, Moderators

Post Reply
xfix
Posts: 1
Joined: Thu Dec 08, 2005 11:49 pm
Location: Australia

Problem during installation

Post by xfix »

I was installing Cacti for the first time on Windows 2003 machine by following the steps at http://bsod2600.home.comcast.net/install_windows.html, during that i came across the mentioned below output by running poller.php which indicates the problems.

Can someone please have a look and see what can be wrong or missing

I got following softwares installed

Windows 2003 Server
Apache2.0.55
My SQL 4.1
PHP 5.1.1
Net-SNMP 5.2.1
CACTI 0.8.6g
CACTID 0.8.6f-1
RDDTOOL 1.2.6



C:\RRDTOOL>php c:\apache2\htdocs\cacti\poller.php
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
12/09/2005 04:55:24 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php-win.exe, ARGS: -q c:/apache2/htdocs/cacti/cmd.php 0 14]
Waiting on 1/1 pollers.
ERROR: change root is not supported by your OS or at least by this copy of rrdto
ol
12/09/2005 04:55:25 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe cre
ate c:/apache2/htdocs/cacti/rra/localhost_traffic_in_22.rrd --step 300 DS:tr
affic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AV
ERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:
288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:2
88:797
12/09/2005 04:55:25 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate C:\apache2\htdocs\cacti\rra\localhost_traffic_in_22.rrd --template traffic_i
n:traffic_out N:675241095:241119135
12/09/2005 04:55:25 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe cre
ate c:/apache2/htdocs/cacti/rra/localhost_hdd_total_21.rrd --step 300 DS:hdd
_used:GAUGE:600:0:U DS:hdd_total:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVER
AGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:60
0 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
12/09/2005 04:55:25 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate C:\apache2\htdocs\cacti\rra\localhost_hdd_total_21.rrd --template hdd_used:h
dd_total N:0:0
12/09/2005 04:55:25 PM - SYSTEM STATS: Time:1.2288 Method:cmd.php Processes:1 Th
reads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:2
12/09/2005 04:55:25 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php-win.exe, ARGS: -q c:/apache2/htdocs/cacti/poller_commands.php
]
12/09/2005 04:55:25 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php-win.exe, ARGS: -q c:/apache2/htdocs/cacti/poller_export.php]

C:\RRDTOOL>
pepj
Cacti User
Posts: 324
Joined: Thu Sep 29, 2005 5:03 am
Location: switzerland

Post by pepj »

Hello

Try to check the "include_path" and "extension_dir" paths in the php.ini
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) those MIB errors are because you didn't properly set up your MIBDIRS system variable.

2) The "change root is not supported by your OS" is because you're using the win32 build of rrdtoo instead of the Cygwin one. This was covered in my FAQ at the bottom of the guide.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests