Page 1 of 2

64bit

Posted: Thu Oct 21, 2010 2:29 pm
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.

Re: 64bit

Posted: Thu Oct 21, 2010 3:23 pm
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

Re: 64bit

Posted: Thu Oct 21, 2010 5:50 pm
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

Re: 64bit

Posted: Fri Oct 22, 2010 11:00 am
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

Re: 64bit

Posted: Fri Oct 22, 2010 11:03 am
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.

Re: 64bit

Posted: Fri Oct 22, 2010 11:06 am
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?

Re: 64bit

Posted: Fri Oct 22, 2010 11:08 am
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.

Re: 64bit

Posted: Tue Oct 26, 2010 10:54 am
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.

Re: 64bit

Posted: Tue Oct 26, 2010 12:10 pm
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.

Re: 64bit

Posted: Tue Oct 26, 2010 12:24 pm
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.