NRPE on 64bit Linux OS
Postby ecarrasq » Tue May 29, 2012 4:24 pm
System Info
Linux Distribution and version?
Linux 2.6.32-220.17.1.el6.x86_64 #1 SMP Thu Apr 26 13:37:13 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
32 or 64bit?
64 bit
VMware Image or Manual Install of XI?
Manual
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
No.
Issue
In order to get the NagiosXi to fully install on a Red Hat 6 64bit OS, we had to do the following (please see the attachment). According to Red Hat support, php-common 32bit is not supported and will not work on a 64bit Red Hat OS. Was there something I missed in the initial instructions, for installing NagiosXi manually on to a 64bit Linux OS? Are there any additional steps needed to get NagiosXi running smoothly on a 64bit Linux OS?
Thank you for your time,
Eddie
Installing NagiosXi on a Red Hat 6 64bit OS
Installing NagiosXi on a Red Hat 6 64bit OS
You do not have the required permissions to view the files attached to this post.
Last edited by ecarrasq on Mon Jun 11, 2012 5:14 pm, edited 1 time in total.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installing NagiosXi on a Red Hat 6 64bit OS
I'm not exactly sure how or why you would be getting 32 bit versions of anything on your machines, we have test builds that run several times a day on clean RHEL 64bit machines and haven't seen any problems like this...
Re: Installing NagiosXi on a Red Hat 6 64bit OS
Perfect! That's all I needed to hear, for now. I have to bring this up to our Linux Admin that brought up this question.
Thanks!
Thanks!
Re: Installing NagiosXi on a Red Hat 6 64bit OS
The install for NagiosXi works just fine; However, when we go do a "yum update" we get errors due to it downloading 32bit versions of files. I believe it's because on one of the install files "0-yum" it asks if you have a "el5", but not a "el6" 64bit. We are running Red Hat 6 64bit, not Red Hat 5 64bit.
Thanks for looking into this, as I believe others would experience the same on RH6_64bit.... maybe?
Following the above, there maybe some other scripts in the install process to update to include the0-yum
##########################################
# ENABLE 64-bit INSTALLS
##########################################
if [ "$dist $arch" = "el5 x86_64" ]; then
if [ "$INTERACTIVE" != False ]; then
cat <<-EOF
****************************************************************
WARNING: This script will remove existing RPMs installed on this
system, which may result in existing applications being
removed!
****************************************************************
EOF
read -p "Do you want to continue? [y/N]: " res
echo "RESP: $res"
if [ "$res" != "y" ]; then
echo "Exiting"
exit 0
fi
fi
echo "64-bit system detected, modifying yum"
cat >>/etc/yum.conf <<-EOF
# Modifications by Nagios XI installer
multilib_policy=best
exclude=*.i?86
EOF
# 32-bit librsvg2 must be removed before 32-bit gtk2 to avoid armageddon
if rpm -q librsvg2.i386 >/dev/null; then
yum -y remove librsvg2.i386
fi
yum -y remove \*.i?86
fi
Did we hit gold with this one?if [ "$dist $arch" = "el5 x86_64" ]; then
Thanks for looking into this, as I believe others would experience the same on RH6_64bit.... maybe?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installing NagiosXi on a Red Hat 6 64bit OS
What this is doing is removing 32 bit packages that are pre-installed in some el5 machines.
They aren't preinstalled on el6 machines so there is no need to check for them....
They aren't preinstalled on el6 machines so there is no need to check for them....