I have installed cacti from source, and I have Apache v2.2 & PHP v5.11
when I invoke "php poller.php" as cacti user OR as root I get the following:
Code: Select all
sh: -: command not found
this is also the case when invoking
Code: Select all
./poller.php
chown -R cactiuser:apache [DocRoot]/cacti
chmod -R 775 [DocRoot]/cacti
I think it is a PHP error , not an error in poller.php itself.
BTW: the first line in poller.php is
Code: Select all
#!/usr/bin/php -q
please if any one have an idea about this error in the CLI caused from php, let me know.
Regards