Page 1 of 1
Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 11:59 am
by youngsunsong
I'm getting the following error on a fresh installed standalone server running CentOS 6.3 ("Minimal" default option was chosen) and cannot go to the next step.
# ./1-prereqs
Installing prerequisites...
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
/tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Nothing to do
ERROR: Prerequisites failed to install.
# ./2-usersgroups
Prereqs were not installed - run previous script
Anyone experienced with the same problem and resolved it?
Thanks in advance!
- Young
Re: Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 12:06 pm
by lmiltchev
What is the version of Nagios XI that you are trying to install? Did you run "./fullinstall" or you tried to run each script individually?
Are you using a proxy?
Re: Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 12:11 pm
by youngsunsong
Hi,
I've tried running the scripts one by one rather than "fullinstall".
# uname -a
Linux alpha 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
CentOS release 6.3 (Final)
And the following is the Nagios version that I just downloaded and try to install:
xi-2012r1.1.tar.gz
No, I'm not using any Proxy and I have no problem downloading from outside Yum sites.
Thanks.
- Young
Re: Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 12:49 pm
by youngsunsong
If any particular distribution of Linux is known to work best, it's not a problem for me to switch to another like Ubuntu or Fedora.
If you know of such, could you please let me know the distro name along with a version that is known to work with the latest Nagios XI (xi-2012r1.1.tar.gz) for a smooth installation?
Thanks.
- Young
Re: Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 12:50 pm
by lmiltchev
You have to run the "./fullinstall" instead of running each script individually. Please, try:
If it fails again, post the install.log, that was generated by the script.
http://support.nagios.com/wiki/index.ph ... tributions
Re: Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 12:55 pm
by youngsunsong
I've just uploaded the install.log file from ./fullinstall.
Thanks.
- Young
Re: Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 1:22 pm
by lmiltchev
Our install script checks first for the type a architecture, in order to install the proper packages. You must have installed some 32-bit packages, while running these scripts individually, and now the installer fails, because of package conflicts. What you have to do is:
First, make sure you are installing Nagios XI on a clean system:
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.
Then, you need to follow our manual installation instructions:
http://assets.nagios.com/downloads/nagi ... ctions.pdf
Re: Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 2:52 pm
by youngsunsong
In fact, I re-installed OS (CentOS 6.3 Minimal) this morning to make sure that I'm starting from all the recommended bases.
My CPU might be one of the early 64-bit processors that came out and not fully support the x64 binaries.
Let me try re-installing the OS again with the 32-bit CentOS image just to see and I'll give you an update.
Thanks.
- Young
Re: Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 3:01 pm
by scottwilkerson
Sounds good. Just make sure you run ./fullinstall not one by one.
Re: Installation problem with 1-prereqs
Posted: Wed Oct 31, 2012 4:54 pm
by youngsunsong
Having just installed the fresh i386 version of CentOS 6.3 (Minimal) on this box, the Nagios XI installation now seems to be going much better and cleaner using "fullinstall".
# grep "model name" /proc/cpuinfo |uniq
model name : Intel(R) Xeon(TM) CPU 3.00GHz
# uname -a
Linux alpha 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux
Thanks for your help!
- Young