First of the interface is sweet, looking to deploy it in our group.
problem at the mo:
When i run from the comand line:
php /usr/local/apache/htdocs/cacti/cmd.php
i get the error below a few times:
sh: /usr/bin/php: no such file or directory.
When i change the path to my php file /usr/local/bin/php i get the error below a few times:
ERROR: unknown variable 'b'
I cant find any other php binarys!
I also get the error:
sh: /usr/bin/smbstatus: No such fine or directory
But i cant find smbstatus on my system (where do i get one from)
Can't get cmd.php to run with out errors?
Moderators: Developers, Moderators
It looks like you have a few errors, nothing too critical it seems.
The error:
sh: /usr/bin/php: no such file or directory.
Is because cacti does not have the proper path to your php binary file. Go into 'cacti Settings' within cacti and change it to something valid.
I am going to ignore the 'ERROR: unknown variable 'b'' for now (it may go away if you fix this).
The:
sh: /usr/bin/smbstatus: No such fine or directory
Error is due to the samba data collection script. If you do not have samba, just delete the data source 'system_samba'.
Hope the remedies some of your errors.
-Ian
The error:
sh: /usr/bin/php: no such file or directory.
Is because cacti does not have the proper path to your php binary file. Go into 'cacti Settings' within cacti and change it to something valid.
I am going to ignore the 'ERROR: unknown variable 'b'' for now (it may go away if you fix this).
The:
sh: /usr/bin/smbstatus: No such fine or directory
Error is due to the samba data collection script. If you do not have samba, just delete the data source 'system_samba'.
Hope the remedies some of your errors.
-Ian
v.quick responce, u r good!
Removed samba (my silly)
recompiled php as a binary (my one was an apache module) with
./configure --with-mysql
make
make install
But with the php path put in correctly it stil gives the
ERROR: unknown variable 'b'
repeated 10 times.
p.s. cant find snmpwalk or smnpget on my box, where should they be?
Removed samba (my silly)
recompiled php as a binary (my one was an apache module) with
./configure --with-mysql
make
make install
But with the php path put in correctly it stil gives the
ERROR: unknown variable 'b'
repeated 10 times.
p.s. cant find snmpwalk or smnpget on my box, where should they be?
Who is online
Users browsing this forum: No registered users and 3 guests