64bit

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mdojka
Posts: 7
Joined: Thu Oct 21, 2010 2:27 pm

64bit

Post by mdojka »

Hi,

We run rhel 4 and 5 64bit here. It is possible to get the nagios server running on a 64 bit host? If so, what would I need to do (assume rhel 5). Thanks.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: 64bit

Post by mguthrie »

Yes, we have updated our install scripts so they should be able to install correctly on 64bit systems. We haven't done as extensive testing on RHEL as we have Cent OS, but we do support it.

Manual Installation Instructions:
http://library.nagios.com/library/produ ... -nagios-xi
mdojka
Posts: 7
Joined: Thu Oct 21, 2010 2:27 pm

Re: 64bit

Post by mdojka »

Thanks for the reply. I'm running into issues with the following though.

[root@XXXXXXX nagiosxi]#rpm -i -p http://libslack.org/daemon/download/dae ... 1.i386.rpm --httpproxy XXXXXXX --httpport XXXXXXX
error: Failed dependencies:
ld-linux.so.2 is needed by daemon-0.6.3-1.i386
libc.so.6 is needed by daemon-0.6.3-1.i386
libpthread.so.0 is needed by daemon-0.6.3-1.i386
libutil.so.1 is needed by daemon-0.6.3-1.i386
libc.so.6(GLIBC_2.0) is needed by daemon-0.6.3-1.i386
libc.so.6(GLIBC_2.1) is needed by daemon-0.6.3-1.i386
libc.so.6(GLIBC_2.1.3) is needed by daemon-0.6.3-1.i386
libc.so.6(GLIBC_2.2) is needed by daemon-0.6.3-1.i386
libpthread.so.0(GLIBC_2.0) is needed by daemon-0.6.3-1.i386
libutil.so.1(GLIBC_2.0) is needed by daemon-0.6.3-1.i386

[root@XXXXXXX nagiosxi]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

[root@XXXXXXX ~]$ uname -a
Linux XXXXXXX 2.6.18-194.17.1.el5 #1 SMP Mon Sep 20 07:12:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: 64bit

Post by mguthrie »

Are you using a proxy on your server? If so take a look at the following:
http://support.nagios.com/wiki/index.ph ... n_Problems
mdojka
Posts: 7
Joined: Thu Oct 21, 2010 2:27 pm

Re: 64bit

Post by mdojka »

The proxy isn't the issue as I can download the rpm. The issue is the rpm errors out on install with the following:

error: Failed dependencies:
ld-linux.so.2 is needed by daemon-0.6.3-1.i386
libc.so.6 is needed by daemon-0.6.3-1.i386
libpthread.so.0 is needed by daemon-0.6.3-1.i386
libutil.so.1 is needed by daemon-0.6.3-1.i386
libc.so.6(GLIBC_2.0) is needed by daemon-0.6.3-1.i386
libc.so.6(GLIBC_2.1) is needed by daemon-0.6.3-1.i386
libc.so.6(GLIBC_2.1.3) is needed by daemon-0.6.3-1.i386
libc.so.6(GLIBC_2.2) is needed by daemon-0.6.3-1.i386
libpthread.so.0(GLIBC_2.0) is needed by daemon-0.6.3-1.i386
libutil.so.1(GLIBC_2.0) is needed by daemon-0.6.3-1.i386

These are all 32bit libraries and this is a 64bit system. Also, trying to build this version (or the current version) from srpm's fails due to errors in the scripts I beleive. Installing the currext 64bit rpm needs a newwer glibc version than what I currently have, so that won't work either. Please advise. Thanks.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: 64bit

Post by mguthrie »

We'll take a look at this and see what we can figure out. I'm assuming you're using the 1.3E installation?
mdojka
Posts: 7
Joined: Thu Oct 21, 2010 2:27 pm

Re: 64bit

Post by mdojka »

Thanks. Yep, it's 1.3e. The system does have a rhn entitlement, so I can get rpm's from there in addition to the public repos.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: 64bit

Post by tonyyarusso »

mdojka wrote: Thanks for the reply. I'm running into issues with the following though.

[root@XXXXXXX nagiosxi]#rpm -i -p http://libslack.org/daemon/download/dae ... 1.i386.rpm --httpproxy XXXXXXX --httpport XXXXXXX
Okay, my first question is, why are you trying to run that command? What is it for? Who/what told you to do so?

The reason it is failing is because the updates to our install scripts that mmestnik mentioned accomplish their task in part by explicitly forbidding the installation of i386 packages on an x86_64 system, so having that command fail is 100% expected behavior. Running it is not part of installing XI, so that brings me back to wondering what you are doing it for - hopefully if we know the real goal we can figure out the right way to accomplish it.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
mdojka
Posts: 7
Joined: Thu Oct 21, 2010 2:27 pm

Re: 64bit

Post by mdojka »

It's part of the 1-prereqs install script (lines 16-17):

# Daemontools
rpm -i -p http://libslack.org/daemon/download/dae ... 1.i386.rpm

There's not execution control, if block, around it so I'm running it by hand to add the proxy information.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: 64bit

Post by tonyyarusso »

Aaargh, you're right. That's a new addition - I'll ask the guys here what it's for and how to fix it.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked