No Graph
Moderators: Developers, Moderators
Until you get your php issues resolved, don't expect Cacti to function.
Where is your PHPRC system variable pointing to? What about the MIBDIRS system variable?
Please re-read my install guide: http://bsod2600.home.comcast.net/install_windows.html
Where is your PHPRC system variable pointing to? What about the MIBDIRS system variable?
Please re-read my install guide: http://bsod2600.home.comcast.net/install_windows.html
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 35
- Joined: Sat Jan 27, 2007 9:14 pm
there is varible name and vaule. Now where do i putBSOD2600 wrote:Until you get your php issues resolved, don't expect Cacti to function.
Where is your PHPRC system variable pointing to? What about the MIBDIRS system variable?
Please re-read my install guide: http://bsod2600.home.comcast.net/install_windows.html
MIBDIRS=c:\php\extras\mibs and PHPRC=c:\php. into value or varible? like varible PHPRC and value is c:\php?
Looks like those two are properly set then.
So when you're at c:\php and type: php -m you get that access error? Try installing php 5.2.0. Also try running a chkdsk c: /f.
So when you're at c:\php and type: php -m you get that access error? Try installing php 5.2.0. Also try running a chkdsk c: /f.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 35
- Joined: Sat Jan 27, 2007 9:14 pm
chkdsk i got invalid paremeter. and php 5.2.0 and still no grahp!!! damn, this takes 5 days already to figure this thing out. geeezz!!! lol.BSOD2600 wrote:Looks like those two are properly set then.
So when you're at c:\php and type: php -m you get that access error? Try installing php 5.2.0. Also try running a chkdsk c: /f.
-
- Posts: 35
- Joined: Sat Jan 27, 2007 9:14 pm
I would stop using cactid until you get php sorted out.
From looking at your previous messages, did you make the env entries and assign .php?
From looking at your previous messages, did you make the env entries and assign .php?
[size=75][color=green]| Cacti [/color][color=red]0.8.6j[/color] [color=green]| Cactid 8.6i |
| MySQL 5.0 | PHP 5.2.0 | IIS 6 | RRDtool 1.2.15 | Cygwin 1.5.23 | Zend Optimizer 3.2.2 | Net-SNMP 5.3.1 |
| Windows 2003 Std SP1 | P4 2000Mhz | 2 gig RAM|[/color][/size]
| MySQL 5.0 | PHP 5.2.0 | IIS 6 | RRDtool 1.2.15 | Cygwin 1.5.23 | Zend Optimizer 3.2.2 | Net-SNMP 5.3.1 |
| Windows 2003 Std SP1 | P4 2000Mhz | 2 gig RAM|[/color][/size]
-
- Posts: 35
- Joined: Sat Jan 27, 2007 9:14 pm
i did put php to c:\ root folder and new installations also.mshember wrote:I would stop using cactid until you get php sorted out.
From looking at your previous messages, did you make the env entries and assign .php?
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cacti -" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
DEF:a="C\:/cacti/rra/cacti_snmp_oid_20.rrd":snmp_oid:AVERAGE \
AREA:a#F5F800:"" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: opening 'C:/cacti/rra/cacti_snmp_oid_20.rrd': No such file or directory
-
- Posts: 35
- Joined: Sat Jan 27, 2007 9:14 pm
is this the cause of the problem?;
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cacti - Logged in Users" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="users" \
--slope-mode \
DEF:a="C\:/cacti/rra/tim_users_8.rrd":users:AVERAGE \
AREA:a#4668E4:"Users" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
RRDTool Says:
ERROR: opening 'C:/cacti/rra/tim_users_8.rrd': No such file or directory
DEF:a="C\:/cacti/rra/tim_users_8.rrd":users:AVERAGE \
Is that the path or slash causing it?
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cacti - Logged in Users" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="users" \
--slope-mode \
DEF:a="C\:/cacti/rra/tim_users_8.rrd":users:AVERAGE \
AREA:a#4668E4:"Users" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
RRDTool Says:
ERROR: opening 'C:/cacti/rra/tim_users_8.rrd': No such file or directory
DEF:a="C\:/cacti/rra/tim_users_8.rrd":users:AVERAGE \
Is that the path or slash causing it?
-
- Posts: 35
- Joined: Sat Jan 27, 2007 9:14 pm
also i ran c:\php\php.exe c:\cacti\poller.php and here is the result. The poller keep waiting on 1/1. why is that?
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>cd c:\php
C:\php>c:\php\php.exe c:\cacti\poller.php
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'snmp' already loaded in Unknown on line 0
PHP Warning: Module 'sockets' already loaded in Unknown on line 0
01/30/2007 11:05:36 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php.exe, ARGS: -q c:/cacti/cmd.php 0 3]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
^C
C:\php>
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>cd c:\php
C:\php>c:\php\php.exe c:\cacti\poller.php
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'snmp' already loaded in Unknown on line 0
PHP Warning: Module 'sockets' already loaded in Unknown on line 0
01/30/2007 11:05:36 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php.exe, ARGS: -q c:/cacti/cmd.php 0 3]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
^C
C:\php>
-
- Posts: 35
- Joined: Sat Jan 27, 2007 9:14 pm
and here is the result of cmd.php;
C:\cacti>c:\php\php.exe c:\cacti\cmd.php
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'snmp' already loaded in Unknown on line 0
PHP Warning: Module 'sockets' already loaded in Unknown on line 0
01/30/2007 11:48:19 AM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must b
e started using the full path to the file and in lower case. This is a PHP Bug!
!!
C:\cacti>
C:\cacti>c:\php\php.exe c:\cacti\cmd.php
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'snmp' already loaded in Unknown on line 0
PHP Warning: Module 'sockets' already loaded in Unknown on line 0
01/30/2007 11:48:19 AM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must b
e started using the full path to the file and in lower case. This is a PHP Bug!
!!
C:\cacti>
-
- Posts: 35
- Joined: Sat Jan 27, 2007 9:14 pm
01/30/2007 12:26:04 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/30/2007 12:26:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/30/2007 12:26:04 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
01/30/2007 12:26:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
01/30/2007 12:26:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/30/2007 12:25:00 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="cacti - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="users" --slope-mode DEF:a="C\:/cacti/rra/tim_users_8.rrd":users:AVERAGE AREA:a#4668E4:"Users" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"Maximum\:%8.0lf"
01/30/2007 12:26:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/30/2007 12:26:04 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
01/30/2007 12:26:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
01/30/2007 12:26:04 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
01/30/2007 12:25:03 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
01/30/2007 12:25:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
01/30/2007 12:25:00 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="cacti - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="users" --slope-mode DEF:a="C\:/cacti/rra/tim_users_8.rrd":users:AVERAGE AREA:a#4668E4:"Users" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"Maximum\:%8.0lf"
Please stop using xammp and use php and mysql. Remove all instances of php.ini from your system (search!). Remove cacti and all instances of mysql (assuming you don't have any other DB's set up).
Then try this installer: http://forums.cacti.net/viewtopic.php?t=14946
Then try this installer: http://forums.cacti.net/viewtopic.php?t=14946
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
BSOD replied first but I was going to suggest starting over again as well.
Don't introduce things until your basic structure is in place.
Don't introduce things until your basic structure is in place.
[size=75][color=green]| Cacti [/color][color=red]0.8.6j[/color] [color=green]| Cactid 8.6i |
| MySQL 5.0 | PHP 5.2.0 | IIS 6 | RRDtool 1.2.15 | Cygwin 1.5.23 | Zend Optimizer 3.2.2 | Net-SNMP 5.3.1 |
| Windows 2003 Std SP1 | P4 2000Mhz | 2 gig RAM|[/color][/size]
| MySQL 5.0 | PHP 5.2.0 | IIS 6 | RRDtool 1.2.15 | Cygwin 1.5.23 | Zend Optimizer 3.2.2 | Net-SNMP 5.3.1 |
| Windows 2003 Std SP1 | P4 2000Mhz | 2 gig RAM|[/color][/size]
Who is online
Users browsing this forum: No registered users and 5 guests