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
Unable to create RRA files
Moderators: Developers, Moderators
- zrichardson
- Posts: 24
- Joined: Wed Jan 04, 2006 3:15 pm
- Location: OR, USA
Don't you need to be using "php-win.exe" instead of "php.exe" when running PHP 5.x? I believe you do.
Have you followed BSOD's install instructions located at: http://bsod2600.home.comcast.net/install_windows.html?
Have you followed BSOD's install instructions located at: http://bsod2600.home.comcast.net/install_windows.html?
-
- Posts: 10
- Joined: Fri Jan 06, 2006 9:28 am
I have tried using the command
c:\php-win c:\<path to cacti>\poller.php
But it still doesnt seems to create any graphs. I also noticed the error "Waiting for 1/1 poller" when i turned on the debugging mode
My Versions of the tools are as follows:
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
Thanks
c:\php-win c:\<path to cacti>\poller.php
But it still doesnt seems to create any graphs. I also noticed the error "Waiting for 1/1 poller" when i turned on the debugging mode
My Versions of the tools are as follows:
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
Thanks
You must use the Cygwin version of rrdtool. Win32 does not work (as the sticky at the top of the forum states).
| 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: 10
- Joined: Fri Jan 06, 2006 9:28 am
Hi,
I have downloaded this version of the RRD tool from the website
(rrdtool-cygwin-1.2.12.zip). I have unzipped the files and put in the same path as the cacti. And have changed the neccessary path in the cacti settings to point to the RRD path.
But it still doesnt seems to work. I am still getting the errors. I am still getting the error "Waiting 1/1 pollers".
PS BSOD2600: Thanks alot for all your help
I have downloaded this version of the RRD tool from the website
(rrdtool-cygwin-1.2.12.zip). I have unzipped the files and put in the same path as the cacti. And have changed the neccessary path in the cacti settings to point to the RRD path.
But it still doesnt seems to work. I am still getting the errors. I am still getting the error "Waiting 1/1 pollers".
PS BSOD2600: Thanks alot for all your help
1) mysql -u root -p cacti
>truncate table poller_output;
>quit
2) Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the actual log file (./cacti/log/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
>truncate table poller_output;
>quit
2) Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the actual log file (./cacti/log/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
| 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: 10
- Joined: Fri Jan 06, 2006 9:28 am
Who is online
Users browsing this forum: No registered users and 0 guests