znapshot
07-20-2008, 07:30 PM
I have just ran into a problem while trying to install Centreon 2.0b5 on an OpenSuse.
It seems to me that the test in the step10.php that checks if the script is alowed to write the configuration file in /etc/centreon is not correct.
What happened was that the first test (I am now in Windows can cannot access the code again) which looks like
if ( (strcmp( ..., '755') == 0 && !strcmp( user...
if incorrect.
If failed and the message was something like:
Incorrect configuration nobody:nobody (755) Should be nobody:nobody (755)
Although the first test failed, the next two succeeded (writing of Centreon config file and writing of the ??Storage one).
I have commented out the test in step10.php and the rest of the installation went OK.
It seems to me that the test in the step10.php that checks if the script is alowed to write the configuration file in /etc/centreon is not correct.
What happened was that the first test (I am now in Windows can cannot access the code again) which looks like
if ( (strcmp( ..., '755') == 0 && !strcmp( user...
if incorrect.
If failed and the message was something like:
Incorrect configuration nobody:nobody (755) Should be nobody:nobody (755)
Although the first test failed, the next two succeeded (writing of Centreon config file and writing of the ??Storage one).
I have commented out the test in step10.php and the rest of the installation went OK.