Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I followed the guide installing cacti for windows, but when i'm trying for the first time to start the poller in the guide I get an error in my cacti.log. The error is:
11/21/2006 09:33:25 PM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must be started using the full path to the file and in lower case. This is a PHP Bug!!!
11/21/2006 09:33:43 PM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must be started using the full path to the file and in lower case. This is a PHP Bug!!!
11/21/2006 09:33:47 PM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must be started using the full path to the file and in lower case. This is a PHP Bug!!!
11/21/2006 09:33:55 PM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must be started using the full path to the file and in lower case. This is a PHP Bug!!!
In the guide it says it must show some data in your cmd line interface but I see nothing. I've started te poller using this command in my cmd:
php c:/www/cacti/poller.php
or
php c:\www\cacti\poller.php
It's says it's a PHP bug, but what can i do to correct it?
(I've got the latest versions of all software)(winxp)
You probably should specify the full path to php, e.g. c:\php\php.exe c:\www\cacti\poller.php
Anyway, what version of PHP are you using? A few people have seen this with the latest PHP 5.2.0 and I don't think it's been addressed yet. It works fine with PHP 5.1.6
It's not the PHP path that is the problem in Windows, it's the path to cmd.php and it was a problem in earlier versions. So during debugging, simply specify the launch as follows:
php c:/wwwroot/cacti/cmd.php
TheWitness
True understanding begins only when we realize how little we truly understand...
I'm first trying a fresh php.ini file. before changing php version. The installation guide uses the php.ini.dist file, why not the php.ini-recommended?
Did you happen to find a solution to this? I'm having the exact same problem using PHP 5.2.0 with cacti 0.8.6i on Windows Server 2003. PHP is running fine for other web applications on the same host. But the poller gives me this error.