Unable to create RRA files

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

Moderators: Developers, Moderators

Post Reply
stevelogh2004
Posts: 10
Joined: Fri Jan 06, 2006 9:28 am

Unable to create RRA files

Post by stevelogh2004 »

HI All,

I am new to the Cacti, i am using a windows xp machine with PHP5, apache2 & MySQL 5 installed...

I kept getting this error when the run the cmd.php command

C:\>php.exe c:\apache2triad\htdocs\cacti-086h\cmd.php
->refused'cat' is not recognized as an internal or external command,
operable program or batch file.
01/06/2006 10:25:12 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CM
D not valid. Partial Result:
'cat' is not recognized as an internal or external command,
operable program or batch file.
01/06/2006 10:25:12 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CM
D not valid. Partial Result:
'uptime' is not recognized as an internal or external command,
operable program or batch file.
01/06/2006 10:25:12 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CM
D not valid. Partial Result: 1min: 5min: 10
'who' is not recognized as an internal or external command,
operable program or batch file.
01/06/2006 10:25:12 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CM
D not valid. Partial Result:
'ps' is not recognized as an internal or external command,
operable program or batch file.
01/06/2006 10:25:12 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CM
D not valid. Partial Result:
->refused01/06/2006 10:25:14 PM - CMDPHP: Poller[0] Time: 2.6040 s, Theads: N/A,
Hosts: 2

But is i try to run the poller.php command. I got this error

C:\>php.exe c:\apache2triad\htdocs\cacti-086h\poller.php
'c:/apache2triad/htdocs/cacti-086h/' is not recognized as an internal or external command,operable program or batch file.

Can anyone please help??

Thanks alot

Steve Loh
stevelogh2004
Posts: 10
Joined: Fri Jan 06, 2006 9:28 am

Debug Logs

Post by stevelogh2004 »

Hi All,

Sorry i forgot to attach the debug logs

C:\apache2triad\php>php.exe c:\apache2triad\htdocs\cacti-086h\poller.php
01/06/2006 11:09:47 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/apache2triad/php/php, ARGS: -q c:/apache2triad/htdocs/cacti-086h/cmd.
php 0 2]
Waiting on 1/1 pollers.
'c:/apache2triad/htdocs/cacti-086h/' is not recognized as an internal or externa
l command,
operable program or batch file.
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:\apache2triad\php>php.exe c:\apache2triad\htdocs\cacti-086h\cmd.php
->refused01/06/2006 11:09:59 PM - CMDPHP: Poller[0] Host[2] PING: Host is alive
01/06/2006 11:09:59 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
01/06/2006 11:09:59 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items i
n the auto reindex cache for '172.16.10.3'.
01/06/2006 11:10:00 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v1: 172.16.10.3,
dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 4213910927
01/06/2006 11:10:00 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v1: 172.16.10.3,
dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 83393450
01/06/2006 11:10:00 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 172.16.10.3,
dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 7
01/06/2006 11:10:00 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 172.16.10.3,
dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 4223852680
01/06/2006 11:10:01 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 172.16.10.3,
dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 83393450
01/06/2006 11:10:01 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v1: 172.16.10.3,
dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 4289449009
01/06/2006 11:10:01 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v1: 172.16.10.3,
dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 3591343487
01/06/2006 11:10:01 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v1: 172.16.10.3,
dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 88304367
01/06/2006 11:10:02 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v1: 172.16.10.3,
dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 4231001512
01/06/2006 11:10:02 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 172.16.10.3,
dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 3591878448
01/06/2006 11:10:02 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 172.16.10.3,
dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 4289668074
01/06/2006 11:10:02 PM - CMDPHP: Poller[0] Time: 3.6448 s, Theads: N/A, Hosts: 1

Thanks again
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) what versions of everything are you using?
2) read the guide in my signature
3) I suspect you're using the win32 version of rrdtool. you must use the cygwin one.
stevelogh2004
Posts: 10
Joined: Fri Jan 06, 2006 9:28 am

Post by stevelogh2004 »

Apache 2.0.54
MySQL 4.1.14
PHP 5.0.4
Cacti 0.8.6h
Cactid 0.8.6f
RRD 1.0.49-win32
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests