Hello,
I'm just trycing to install you (great looking) tool.
In section 4 of the insallation instructions if says:
------------------------------------------
4) Edit config.php in 'include/', make sure to give a valid SQL user name, password, and database, then fill out the path variables to show where cacti is in the directory tree. A description for the paths are below:
NOTE: Be sure the MySQL user you give cacti has at least:
-----------------------------------------------------
But I seem to stupid to find those path settings ...
When executing cmd.php he shown me errors like:
sh: -c: line 1: syntax error near unexpected token '<D
sh: -c: line 1: <DEFAULT> update <DEFAULT>/rra/system_loadavg_5.rrd
Those definitely look like some PATH challenge .
Thanks in advance for your answer!
PATH's?
Moderators: Developers, Moderators
I guess I should have updated my docs to reflect the changes to the path variables in version 0.6.3. All you have to do now in config.php, is put in a valid sql user/password/database.
After that, when you run cacti for the first time it will ask you to confirm the various path settings. Afterwards, you can change these values by going to 'cacti Settings' on the cacti menu.
From the look of your printout. It looks as if cacti is missing the 'cacti web root' and 'apache web root variables'. See if that helps.
-Ian
After that, when you run cacti for the first time it will ask you to confirm the various path settings. Afterwards, you can change these values by going to 'cacti Settings' on the cacti menu.
From the look of your printout. It looks as if cacti is missing the 'cacti web root' and 'apache web root variables'. See if that helps.
-Ian
Hi!
I have the same problem!
In addition, if I change the settings (cacti Environment), they are not saved, and the same page is returned again and again. It seems that Cacti is not able to save the settings.
All settings are correct (the directories shown are there), I can access the database with the supplied password from mysql, and if I change the password settings in config.php, cacti starts complaining...
Tamas
I have the same problem!
In addition, if I change the settings (cacti Environment), they are not saved, and the same page is returned again and again. It seems that Cacti is not able to save the settings.
All settings are correct (the directories shown are there), I can access the database with the supplied password from mysql, and if I change the password settings in config.php, cacti starts complaining...
Tamas
Hi!
I have solved my problem.
The root of the problem was PHP. PHP was compiled from the source distribution on the machine running cacti. The default install sets the register_globals configuration directive off, which must be set on in the file php.ini to allow cacti to work.
Most likely this option is turned on in the binary PHP distributions, which lets PHP to pass POST and GET parameters to scripts as variables (old PHP style), not as array of variables ($HTTP_POST_VARS).
Tamas
I have solved my problem.
The root of the problem was PHP. PHP was compiled from the source distribution on the machine running cacti. The default install sets the register_globals configuration directive off, which must be set on in the file php.ini to allow cacti to work.
Most likely this option is turned on in the binary PHP distributions, which lets PHP to pass POST and GET parameters to scripts as variables (old PHP style), not as array of variables ($HTTP_POST_VARS).
Tamas
Who is online
Users browsing this forum: No registered users and 3 guests