exoid
05-23-2008, 07:07 PM
Hello;
I have tried multiple times to install Centreon-2 (latest revisions, this time around being 5240) but it keeps failing at Step 10 of install & errors in the initial ./install.sh script as outlined below:
Here is where ./install.sh is giving errors (all following the online DOC for Debian install):
------------------------------------------------------------------------
Centreon Post Install
------------------------------------------------------------------------
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 941: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 990: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 990: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 990: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 997: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 1000: /usr/local/centreon/www/install/install.conf.php: No such file or directory
Create /usr/local/centreon/www/install/install.conf.php OK
Create /etc/centreon/instCentWeb.conf OK
------------------------------------------------------------------------
Start CentPlugins Installation
------------------------------------------------------------------------
Where is your CentPlugins lib directory
default to [/var/lib/centreon/centplugins]
>
Do you want me to create this directory ? [/var/lib/centreon/centplugins]
[y/n], default to [n]:
> y
Path /var/lib/centreon/centplugins OK
Finding Nagios user : nagios
Finding Nagios group : nagios
Preparing Centreon temporary files)
/tmp/centreon-setup exists, it will be moved...
ls: cannot access /tmp/centreon-setup/src/plugins/src/check*centreon*: No such file or directory
ls: cannot access /tmp/centreon-setup/src/plugins/src/check_snmp*: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/centreon.pm: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/centreon.conf: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/check_meta_service: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/process-service-perfdata: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/submit_host_check_result: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/submit_service_check_result: No such file or directory
CentPlugins is installed
root@tst-nagios3:/usr/local/src/trunk/centreon-2.0-SVN# /etc/init.d/apache2 restart
* Restarting web server apache2 [ OK ]
I think this has something to do as to why Step-10 of Centreon-WWW installation is failing:
http://img368.imageshack.us/img368/2410/step10kv2.jpg
I've also noticed the following:
- In Ubuntu (7.xx & 8.xx) the Apache2-Server user/group is www-data NOT apache
- After installation is complete with ./install.sh the "www" folder is never moved into Centreon directory.
My install log is also attached.
I have tried multiple times to install Centreon-2 (latest revisions, this time around being 5240) but it keeps failing at Step 10 of install & errors in the initial ./install.sh script as outlined below:
Here is where ./install.sh is giving errors (all following the online DOC for Debian install):
------------------------------------------------------------------------
Centreon Post Install
------------------------------------------------------------------------
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 941: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 983: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 990: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 990: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 990: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 997: /usr/local/centreon/www/install/install.conf.php: No such file or directory
/usr/local/src/trunk/centreon-2.0-SVN/libinstall/functions: line 1000: /usr/local/centreon/www/install/install.conf.php: No such file or directory
Create /usr/local/centreon/www/install/install.conf.php OK
Create /etc/centreon/instCentWeb.conf OK
------------------------------------------------------------------------
Start CentPlugins Installation
------------------------------------------------------------------------
Where is your CentPlugins lib directory
default to [/var/lib/centreon/centplugins]
>
Do you want me to create this directory ? [/var/lib/centreon/centplugins]
[y/n], default to [n]:
> y
Path /var/lib/centreon/centplugins OK
Finding Nagios user : nagios
Finding Nagios group : nagios
Preparing Centreon temporary files)
/tmp/centreon-setup exists, it will be moved...
ls: cannot access /tmp/centreon-setup/src/plugins/src/check*centreon*: No such file or directory
ls: cannot access /tmp/centreon-setup/src/plugins/src/check_snmp*: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/centreon.pm: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/centreon.conf: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/check_meta_service: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/process-service-perfdata: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/submit_host_check_result: No such file or directory
sed: can't read /tmp/centreon-setup/src/plugins/src/submit_service_check_result: No such file or directory
CentPlugins is installed
root@tst-nagios3:/usr/local/src/trunk/centreon-2.0-SVN# /etc/init.d/apache2 restart
* Restarting web server apache2 [ OK ]
I think this has something to do as to why Step-10 of Centreon-WWW installation is failing:
http://img368.imageshack.us/img368/2410/step10kv2.jpg
I've also noticed the following:
- In Ubuntu (7.xx & 8.xx) the Apache2-Server user/group is www-data NOT apache
- After installation is complete with ./install.sh the "www" folder is never moved into Centreon directory.
My install log is also attached.