PDA

View Full Version : Centreon2 revision 5118 install


derekj
05-13-2008, 03:34 PM
Hi,

I just installed Centreon2 revision 5118 on a Debian Etch system using makePackage.sh and then ./install.sh -f tmpl/vardistrib/debian-etch

The installation went well except for a small bug in www/install/steps/step4.php where the Installer checks for a writeable nagios config.
The error message said "Should be root:www-data (666)" while in the code it checks for 775.

I installed over an existing Centreon 1.4 installation and wanted to use the existing database with my old configuration.
When I accessed the web interface after the setup I got the following error:
Fatal error: Call to undefined method DB_Error::fetchRow() in /srv/centreon/www/htmlHeader.php on line 44

Problem seems to be that the setup didn't alter the tables so that there is no column ndo_activate in the table general_opt.

That's why I wanted to ask whether the installation over an existing 1.4 installation ist supported or if there exists a way to migrate the configuration from 1.4.

Thank you.
Johannes Derek

tfc
05-28-2008, 10:20 AM
I gave similar error in centreon 2.0 SVN revision 5226
After installation and web setup, browser tries to go in the first login page and I get error shown below:
Fatal error: Call to undefined method DB_Error::fetchRow() in /usr/local/centreon/www/index.php on line 42