Installation error
Installation error
Hi,
I got the following error during installation:
Saving to: ânagiosql.export.additionalâ
100%[===================================================================================================================>] 5,259 --.-K/s in 0s
2012-01-18 10:45:52 (186 MB/s) - ânagiosql.export.additionalâ
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --no-check-certificate --post-data 'writeAdditional=Go' -O nagiosql.export.additional
OUTPUT:
Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
RET: 254
/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors /tmp/nagiosxi/nagiosxi/basedir/scripts
tar: Removing leading `/' from member names
/tmp/nagiosxi/nagiosxi/basedir/scripts
ls: cannot access /usr/local/nagiosxi/nom/checkpoints/nagioscore/*.gz: No such file or directory
NO NOM SNAPSHOT FOUND!
/tmp/nagiosxi
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Nagios Core configuration is invalid)
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
The script that failed was: './E-importnagiosql'
You have new mail in /var/spool/mail/root
[root@monitor nagiosxi]#
I got the following error during installation:
Saving to: ânagiosql.export.additionalâ
100%[===================================================================================================================>] 5,259 --.-K/s in 0s
2012-01-18 10:45:52 (186 MB/s) - ânagiosql.export.additionalâ
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --no-check-certificate --post-data 'writeAdditional=Go' -O nagiosql.export.additional
OUTPUT:
Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
RET: 254
/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors /tmp/nagiosxi/nagiosxi/basedir/scripts
tar: Removing leading `/' from member names
/tmp/nagiosxi/nagiosxi/basedir/scripts
ls: cannot access /usr/local/nagiosxi/nom/checkpoints/nagioscore/*.gz: No such file or directory
NO NOM SNAPSHOT FOUND!
/tmp/nagiosxi
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Nagios Core configuration is invalid)
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
The script that failed was: './E-importnagiosql'
You have new mail in /var/spool/mail/root
[root@monitor nagiosxi]#
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation error
Can I have you run ./fullinstall one more time, if it errors again, could you post the install.log.
Thanks
Thanks
Re: Installation error
Thank you for the response.
Here is the install.log:
Nagios XI Installation Log
==========================
DATE: Wed Jan 18 12:23:15 PST 2012
DISTRO INFO:
i686
oraclelinux
6Server.2
THIS IS AN UPGRADE!
OLD VERSION:
full=2009R1.4B
major=2009
minor=R1.4B
releasedate=2011-01-26
release=126
INSTALLING:
full=2009R1.4B
major=2009
minor=R1.4B
releasedate=2011-01-26
release=126
Yum already configured - exiting.
Pre-reqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run 'yum update'
Prerequisite program 'sed' found at /bin/sed
Prerequisite program 'ping' found at /bin/ping
Prerequisite program 'wget' found at /usr/bin/wget
Prerequisite program 'php' found at /usr/bin/php
Prerequisite program 'mrtg' found at /usr/bin/mrtg
Prerequisite program 'pear' found at /usr/bin/pear
Prerequisite program 'httpd' found at /usr/sbin/httpd
Prerequisite program 'psql' found at /usr/bin/psql
Prerequisite program 'mysql' found at /usr/bin/mysql
Prerequisite program 'mysqladmin' found at /usr/bin/mysqladmin
Pre-requisites installed OK
Adding users and groups...
Users and groups added OK
Database servers already initialized - skipping.
/etc/services already updated - skipping.
sudoers already configured - skipping.
Firewall rules alread configured - skipping.
Step completed OK
SELinux already configured - skipping.
Database backups already configured - skipping.
PHP limits already configured - skipping.
Sourceguardian already configured - skipping.
MRTG already configured - skipping.
Step completed OK
Subcomponents already configured - skipping.
Nagios XI base files already installed - skipping.
Crontabs already configured - skipping.
Daemons already configured - skipping.
NOTE: If prompted, enter the MySQL root password
NagiosQL database appears OK - continuing...
NDOUtils database appears OK - continuing...
ERROR: No files to import - exiting. Were Nagios Core and NagiosQL installed?
Here is the install.log:
Nagios XI Installation Log
==========================
DATE: Wed Jan 18 12:23:15 PST 2012
DISTRO INFO:
i686
oraclelinux
6Server.2
THIS IS AN UPGRADE!
OLD VERSION:
full=2009R1.4B
major=2009
minor=R1.4B
releasedate=2011-01-26
release=126
INSTALLING:
full=2009R1.4B
major=2009
minor=R1.4B
releasedate=2011-01-26
release=126
Yum already configured - exiting.
Pre-reqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run 'yum update'
Prerequisite program 'sed' found at /bin/sed
Prerequisite program 'ping' found at /bin/ping
Prerequisite program 'wget' found at /usr/bin/wget
Prerequisite program 'php' found at /usr/bin/php
Prerequisite program 'mrtg' found at /usr/bin/mrtg
Prerequisite program 'pear' found at /usr/bin/pear
Prerequisite program 'httpd' found at /usr/sbin/httpd
Prerequisite program 'psql' found at /usr/bin/psql
Prerequisite program 'mysql' found at /usr/bin/mysql
Prerequisite program 'mysqladmin' found at /usr/bin/mysqladmin
Pre-requisites installed OK
Adding users and groups...
Users and groups added OK
Database servers already initialized - skipping.
/etc/services already updated - skipping.
sudoers already configured - skipping.
Firewall rules alread configured - skipping.
Step completed OK
SELinux already configured - skipping.
Database backups already configured - skipping.
PHP limits already configured - skipping.
Sourceguardian already configured - skipping.
MRTG already configured - skipping.
Step completed OK
Subcomponents already configured - skipping.
Nagios XI base files already installed - skipping.
Crontabs already configured - skipping.
Daemons already configured - skipping.
NOTE: If prompted, enter the MySQL root password
NagiosQL database appears OK - continuing...
NDOUtils database appears OK - continuing...
ERROR: No files to import - exiting. Were Nagios Core and NagiosQL installed?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation error
Was this an install or an upgrade?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation error
I noticed your Distro is listed as "oraclelinux"
Is this a clean/fresh machine?
Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, "clean" system. Attempting to install Nagios XI on a pre-existing system with other applications already installed can cause the Nagios XI installation process to fail, critical system components and settings (e.g. database servers) to be modified in a way that negatively affects other applications, and previously installed applications to be automatically upgraded or removed. While installing XI on a system with other applications is possible, it is not recommended due to the possible interactions and complexity of multiple components that are required for Nagios XI to function. If you choose to ignore these warnings, you do so at your own risk.
You may want to look at the following page from the Administrators manual to help your install go a little smoother.
System Requirements
Also, take a look at this:
http://support.nagios.com/wiki/index.ph ... tributions
Is this a clean/fresh machine?
Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, "clean" system. Attempting to install Nagios XI on a pre-existing system with other applications already installed can cause the Nagios XI installation process to fail, critical system components and settings (e.g. database servers) to be modified in a way that negatively affects other applications, and previously installed applications to be automatically upgraded or removed. While installing XI on a system with other applications is possible, it is not recommended due to the possible interactions and complexity of multiple components that are required for Nagios XI to function. If you choose to ignore these warnings, you do so at your own risk.
You may want to look at the following page from the Administrators manual to help your install go a little smoother.
System Requirements
Also, take a look at this:
http://support.nagios.com/wiki/index.ph ... tributions
Re: Installation error
Yes it is oracle linux 6.2 32 bit. This is same as RH linux.
This is a clean install. no other apps. just installed linux and then nagios xi
This is a clean install. no other apps. just installed linux and then nagios xi
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation error
Hmmm. If this is fresh 6.2, it is possible that curl isn't installed. Lets try
If it isn't installed
then you can try the install again.
Code: Select all
# yum list curlCode: Select all
yum install curl -yRe: Installation error
curl is already installed:
[root@monitor nagiosxi]# yum list curl
Loaded plugins: refresh-packagekit, security
Installed Packages
curl.i686 7.19.7-26.el6_1.2 @anaconda-OracleLinuxServer-201112121328.i386/6.2
[root@monitor nagiosxi]# yum list curl
Loaded plugins: refresh-packagekit, security
Installed Packages
curl.i686 7.19.7-26.el6_1.2 @anaconda-OracleLinuxServer-201112121328.i386/6.2
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation error
I just noticed this release is several years old. Let's follow the instruction here which will get you the current releasewcdba wrote:Thank you for the response.
Here is the install.log:
Nagios XI Installation Log
==========================
DATE: Wed Jan 18 12:23:15 PST 2012
DISTRO INFO:
i686
oraclelinux
6Server.2
THIS IS AN UPGRADE!
OLD VERSION:
full=2009R1.4B
major=2009
minor=R1.4B
releasedate=2011-01-26
release=126
INSTALLING:
full=2009R1.4B
major=2009
minor=R1.4B
releasedate=2011-01-26
release=126
http://assets.nagios.com/downloads/nagi ... ctions.pdf