NagiosXI installation from RPM packages incomplete
Posted: Thu Dec 08, 2016 11:42 am
Hi,
We successfully installed NagiosXI on our testing server using this same method but when trying on the production one the installation is incomplete.
Steps performed:
1. Got the tarball from here:
2. Added packages to our local mrepo server and regenerated repo (we used the same method for our testing server).
3. yum install nagiosxi on the production server (as you can see installation together with all the dependencies is complete): <--- this file contains the messages from xi-install.log
4. Only errors noticed during the installation:
but we do not use openldap and do not have it installed so we ignored this.
Outcome:
Files missing after all RPMS are installed (NO other errors found in installation log):
When trying to start the nagios service we get:
We followed the exact same steps earlier and everything worked out fine.
We have SELinux disabled on the box. Operating system is RHEL6.
Tried erasing and re-installing all RPM packages several times.
Please let me know if I can provide any other information.
Thanks in advance.
We successfully installed NagiosXI on our testing server using this same method but when trying on the production one the installation is incomplete.
Steps performed:
1. Got the tarball from here:
Code: Select all
https://repo.nagios.com/nagiosxi-offline/nagiosxi-5-2.9.el6.i386.tar.gz3. yum install nagiosxi on the production server (as you can see installation together with all the dependencies is complete): <--- this file contains the messages from xi-install.log
4. Only errors noticed during the installation:
Code: Select all
chown: cannot access `/etc/openldap/cacerts': No such file or directory
/bin/chmod: cannot access `/etc/openldap/cacerts': No such file or directoryOutcome:
Files missing after all RPMS are installed (NO other errors found in installation log):
Code: Select all
/etc/init.d/nagiosxi
/usr/local/nagiosxi/html/
/usr/local/nagios/etc/(a lot of .cfg files)Code: Select all
# /etc/init.d/nagios start
Starting nagios:
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
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.We followed the exact same steps earlier and everything worked out fine.
We have SELinux disabled on the box. Operating system is RHEL6.
Tried erasing and re-installing all RPM packages several times.
Please let me know if I can provide any other information.
Thanks in advance.