Hi there,
I am new to Nagios xi. I was trying to install xi-2011r1.9 on a clean CentOS 6. However, after I run ./fullinstall. I got following errors:
What I can do to fix it? Thanks.
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/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.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!
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios xi technical support.
The script that failed was: './E-importnagiosql'
Failed to install xi-2011r1.9
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Failed to install xi-2011r1.9
It would appear that the nagios install believes that you are attempting an upgrade of an existing installation. Most likely this is due to running ./fullinstall mutliple times. Could you attach your install.log file please?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Failed to install xi-2011r1.9
In addition to sreinhardt's reply, since you are new to Nagios xi is there a reason you are planning to work with 2011 r1.9? The current version is 2012 r1.3 and between the two versions there are a whole host of additions and fixes.
-
- Posts: 4
- Joined: Tue Jan 08, 2013 10:42 am
Re: Failed to install xi-2011r1.9
Yes, I am testing an issue on 2011r1.9.slansing wrote:In addition to sreinhardt's reply, since you are new to Nagios xi is there a reason you are planning to work with 2011 r1.9? The current version is 2012 r1.3 and between the two versions there are a whole host of additions and fixes.
-
- Posts: 4
- Joined: Tue Jan 08, 2013 10:42 am
Re: Failed to install xi-2011r1.9
Here is the install.log file.sreinhardt wrote:It would appear that the nagios install believes that you are attempting an upgrade of an existing installation. Most likely this is due to running ./fullinstall mutliple times. Could you attach your install.log file please?
I never tried to run fullinstall before. The VM is a clean installed CentOS 6.
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Failed to install xi-2011r1.9
We cannot guarantee that the fullinstall will work on a release from a year ago as there may be dependencies that have been moved...
I can post a link to a 2011r1.9 vmware image if you like.
This will work about 30 minutes after I post this as I am uploading it now.
http://assets.nagios.com/downloads/nagi ... vmware.zip
I can post a link to a 2011r1.9 vmware image if you like.
This will work about 30 minutes after I post this as I am uploading it now.
http://assets.nagios.com/downloads/nagi ... vmware.zip
-
- Posts: 4
- Joined: Tue Jan 08, 2013 10:42 am
Re: Failed to install xi-2011r1.9
Thanks, Let me try on it.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Failed to install xi-2011r1.9
Sounds good, let us know how it works for you.