Installation problem with 1-prereqs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
youngsunsong
Posts: 11
Joined: Mon Oct 29, 2012 11:56 am

Installation problem with 1-prereqs

Post 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
Last edited by youngsunsong on Wed Oct 31, 2012 12:08 pm, edited 2 times in total.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installation problem with 1-prereqs

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
youngsunsong
Posts: 11
Joined: Mon Oct 29, 2012 11:56 am

Re: Installation problem with 1-prereqs

Post 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
youngsunsong
Posts: 11
Joined: Mon Oct 29, 2012 11:56 am

Re: Installation problem with 1-prereqs

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installation problem with 1-prereqs

Post by lmiltchev »

You have to run the "./fullinstall" instead of running each script individually. Please, try:

Code: Select all

cd /tmp/nagiosxi
./fullinstall
If it fails again, post the install.log, that was generated by the script.

http://support.nagios.com/wiki/index.ph ... tributions
Be sure to check out our Knowledgebase for helpful articles and solutions!
youngsunsong
Posts: 11
Joined: Mon Oct 29, 2012 11:56 am

Re: Installation problem with 1-prereqs

Post by youngsunsong »

I've just uploaded the install.log file from ./fullinstall.

Thanks.


- Young
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installation problem with 1-prereqs

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
youngsunsong
Posts: 11
Joined: Mon Oct 29, 2012 11:56 am

Re: Installation problem with 1-prereqs

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installation problem with 1-prereqs

Post by scottwilkerson »

Sounds good. Just make sure you run ./fullinstall not one by one.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
youngsunsong
Posts: 11
Joined: Mon Oct 29, 2012 11:56 am

Re: Installation problem with 1-prereqs

Post 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
Locked