Amanda-Users

Re: problem with client on 64bit machine

2007-03-14 14:49:59
Subject: Re: problem with client on 64bit machine
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda-users AT amanda DOT org
Date: Wed, 14 Mar 2007 14:40:56 -0400
On Wed, Mar 14, 2007 at 01:17:04PM -0500, Kenneth Kalan enlightened us:
> At 10:58 AM 3/14/2007, Jon LaBadie wrote:
> >On Wed, Mar 14, 2007 at 10:29:49AM -0400, Greg Troxel wrote:
> >> Kenneth Kalan <kgk AT northwestern DOT edu> writes:
> >>
> >> > I've poke around the list and didn't find this problem there.  I have
> >> > a RHEL 4 box with two dual core Xeon's and 16 Gig's of ram.  Naturally
> >> > it's running x86_64 of Red Hat.  It has the stock RH version of
> >> > amanda, amanda-2.4.4p3-1 and amanda-client-2.4.4p3-1.  This is a
> >> > client box.
> >> >
> >> > The server is a 32bit box running the same versions (along with
> >> > amanda-server-2.4.4p3-1).
> >> >
> >> > I cannot get the 64 bit box to backup.  When I run amcheck it' replies
> >> > with selfcheck request time out.  Tried turning off the firewall, but
> >> > no help. I install my boxes the same way, a script puts the server
> >> > info into /var/lib/amanda/.amandahosts as well as putting the amanda
> >> > file into xinetd.d.  This works fine on all the 32 bit boxes, even
> >> > ones configured after the 64 bit box.
> >>

The RedHat RPM already puts the entries in xinetd.d - are you sure you
haven't created a duplicate problem there?

> >> My experience is with NetBSD rather than RH, but I've used 64-bit
> >> machines with no problems.  One setup has a i386 server with multiple
> >> clients, including sparc64 and works with krb4 auth.  Another has a
> >> sparc64 server and i386 and sparc clients.  So it's pretty unlikely
> >> there are serious 64-bit bugs in the code.  Of course you could be
> >> having lib/lib64 confusion.
> >>
> >> I'd run ldd on the amandad binary and see if it links ok.
> >>
> >
> >Agreed.
> >Does RH supply a real 64 bit compiled version.  If not, i.e. it is
> >a 32 bit version, it could be you have all the correct libaries in
> >of the 64 bit variety but need to add some of the 32 bit ones.
> >
> 
> To answer an earlier question, nothing in /tmp/amanda, doesn't exist.

RedHat moved it to /var/log where it probably should be anyway...

> 
> The amanda files are compiled 64bit, they are in /usr/lib64/amanda 
> and referencing the 64bit libraries.
> 
> example:
> [root@malamute ~]# ldd /usr/lib64/amanda/amandad
>         libamclient-2.4.4p3.so => /usr/lib64/libamclient-2.4.4p3.so 
> (0x0000002a9566c000)
>         libamanda-2.4.4p3.so => /usr/lib64/libamanda-2.4.4p3.so 
> (0x0000002a95773000)
>         libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a958ad000)
>         libtermcap.so.2 => /lib64/libtermcap.so.2 (0x0000002a95a33000)
>         libnsl.so.1 => /lib64/libnsl.so.1 (0x0000002a95b36000)
>         libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95c4e000)
>         /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)
> 
> Just to double check once more, I've killed iptables on both boxes 
> (server & client), still not working.
> 

What does the output of 

chkconfig --list amanda
chkconfig --list amandaidx
chkconfig --list amidxtape

give?

Have you restarted xinetd once enabled?

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263