sh: -c: line 1: syntax error near unexpected token `|'
sh: -c: line 1: `|path_php_binary| -q /srv/www/htdocs/cacti/scripts/query_host_cpu.php 157.21.49.100 public get usage 0'
command: |path_php_binary| -q /srv/www/htdocs/cacti/scripts/query_host_cpu.php 157.21.49.100 public get usage 0, output:
sh: -c: line 1: syntax error near unexpected token `|'
sh: -c: line 1: `|path_php_binary| -q /srv/www/htdocs/cacti/scripts/query_host_cpu.php 157.21.49.101 public get usage 0'
command: |path_php_binary| -q /srv/www/htdocs/cacti/scripts/query_host_cpu.php 157.21.49.101 public get usage 0, output:
when running cmd.php i get the following error
Moderators: Developers, Moderators
path_php_binary
Likewise. After searching around, I finally altered records in on of the data_cache tables, replacing the |path_php_binary| in the command field with /usr/bin/php. After looking through scripts for a while, I think I could have changed it to <path_php_binary> instead.
John Ruble
John Ruble
Who is online
Users browsing this forum: No registered users and 2 guests