Problem Description
Between the the release of Nagios XI 2011R1.7 and 1.8, several changes were made to the CentOS 6 repo that created package conflicts, preventing the Nagios XI installation scripts from completing successfully. This usually becomes apparent by the "fullinstall" script failing with one of the following two messages:
ERROR: Prerequisite program 'mysql' not found!
which: no mysqladmin in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin: /usr/sbin:/sbin:/home/admin/bin)
ERROR: Prerequisite program 'mysqladmin' not found!
7 prerequisite(s) missing - exiting.
OR
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)
Resolving The Problem
This issue can be resolved with the following solution if you're attempting to install with the 1.7 tarball. This problem will be resolved in the 2011R1.8 release of Nagios XI.
Before attempting any more installations, run:
yum install centos-release-cr
Then remove any previous /tmp/nagiosxi directory that is in place, and unpack a fresh tarball:
cd /tmp
rm -rf nagiosxi
tar zxf xi-2011r1.7.tar.gz
cd nagiosxi
./fullinstall
If the installer still fails, contact XI support and attach the install.log file that's generated by the fullinstall script.
Final Thoughts
For any support related questions please visit the Nagios Support Forums at: