Code: Select all
[root@nagios01 cacti]# ./poller.php
./poller.php: line 1: ?php: No such file or directory
./poller.php: line 2: /bin: is a directory
./poller.php: line 3: +-------------------------------------------------------------------------+: command not found
./poller.php: line 4: syntax error near unexpected token `|'
./poller.php: line 4: ` | Copyright (C) 2004-2007 The Cacti Group |'
[root@nagios01 cacti]#
Code: Select all
php -q /path/to/poller.php
OS: Redhat 4.6 32-bit. Cacti and rrd complied from source. Used pre-installed rpms for httpd, php, php-mysql, php-snmp, mysql, mysql-server, and net-snmp.
I've searched the forums and see many similar posts, but so far can't seem to find a solution. Any ideas? Thanks everyone.
Justin