Amanda-Users

Re: Connection refused

2004-05-17 15:04:02
Subject: Re: Connection refused
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Mon, 17 May 2004 14:59:08 -0400
On Wednesday 12 May 2004 08:22, Tony van der Hoff wrote:
>Frank Smith <fsmith AT hoovers DOT com> wrote in message
><BBB9A9EC938EDE7DACB78637 AT hoovers-59.hoovers DOT com>
>
>> --On Tuesday, May 11, 2004 17:22:28 +0100 Tony van der Hoff
>
><tony AT mk-net.nildram.co DOT uk> wrote:
>> > Hi,
>> >
>> > I have successfully installed and configured Amanda, and amcheck
>> > runs successfully, as does amdump.
>> >
>> > However, amrecover (running as root) fails, with the message
>> > "cannot connect to tony-lx.magpieway.net: connection refused"
>> >
>> > .amandahosts contains tony-lx.magpieway.net, which is the
>> > localhost, as well as the tape server, which user amanda can
>> > happily access to do the backups.
>> >
>> > Evidently this is a permissions problem with root, but can
>> > anyone point me in the right direction to fix it? Runnig
>> > Mandrake 9.1.
>>
>> Do you have amindexd and amidxtaped configured in (x)inetd on the
>> tape server? They aren't needed for backups, but are for restores.
>> 'connection refused' usually indicates a service isn't running, or
>> possibly firewall problems, .amandahosts problems generally give
>> you an 'access as foo not allowed..' message.
>
>Thanks, Frank, for the suggestion. I didn't have them configured, so
> I have done so. Have you any reference to these services in the
> documentation? I have assumed they are datagram services.
>
>Unfortunately, it has not had the desired effect :-(
>
>Cheers,

Compare your /etc/xinetd.d/amanda file with this one and see where 
things differ:
-----------
# default = off
#
# description: Part of the Amanda server package
# This is the list of daemons & such it needs
service amanda
{
        disable = no
        socket_type     = dgram
        protocol        = udp
        wait            = yes
        user            = amanda
        group           = disk
        groups          = yes
        server          = /usr/local/libexec/amandad
}
service amandaidx
{
        disable = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amanda
        group           = disk
        groups          = yes
        server          = /usr/local/libexec/amindexd
}
service amidxtape
{
        disable = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amanda
        group           = disk
        groups          = yes
        server          = /usr/local/libexec/amidxtaped
}

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.

<Prev in Thread] Current Thread [Next in Thread>