Amanda-Users

Problems with changing from IP address to named host

2009-06-11 19:57:20
Subject: Problems with changing from IP address to named host
From: Matt Burkhardt <mlb AT imparisystems DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 11 Jun 2009 19:43:38 -0400
I finally got DNS running on my main server and now I'm getting errors from my backups that run across the network.  Here's part of the output in my planner.datestring.debug file

1244557453.125414: planner: make_socket opening socket with family 2
1244557453.125473: planner: connect_port: Try  port 516: available - Success
1244557453.131565: planner: connected to 192.168.1.105.10080
1244557453.131624: planner: our side is 0.0.0.0.516
1244557453.131646: planner: try_socksize: send buffer size is 65536
1244557453.131659: planner: try_socksize: receive buffer size is 65536
1244557458.155442: planner: security_stream_seterr(0x80719b0, recv error: Connection reset by peer)
1244557458.155511: planner: security_seterror(handle=0x80713d0, driver=0xb7e6be80 (BSDTCP) error=recv error: Connection reset by peer)
1244557458.155632: planner: security_close(handle=0x80713d0, driver=0xb7e6be80 (BSDTCP))
1244557458.155644: planner: security_stream_close(0x80719b0)
1244557458.155874: planner: pid 8332 finish time Tue Jun  9 10:24:18 2009

So, I go over to the client and check /var/lib/amanda/.amandahosts file and change the IP addresses to the new domain name

ubuntu.imparisystems.local amandabackup amdump

and check /etc/xinetd.d/amandaclient on the client machine to make sure I don't have an "only from" designation 

service amanda
{
        disable         = no
	flags		= IPv4
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amandabackup
        group           = disk
        groups          = yes
        server          = /usr/libexec/amanda/amandad
        server_args     = -auth=bsdtcp amdump
}

and everytime I run amcheck - I get

Amanda Backup Client Hosts Check
--------------------------------
WARNING: mlb-laptop.imparisystems.local: selfcheck request failed: recv error: Connection reset by peer
Client check: 1 host checked in 5.133 seconds.  1 problem found.

(brought to you by Amanda 2.6.1p1)

The amandad debug file from the client says 

amandad: check_name_give_sockaddr: resolve_hostname('ubuntu.imparisystems.local'): Name or service not known


What else do I need to change?

Thanks - as always!

-- 
Matt Burkhardt, M.Sci. Technology Management
mlb AT imparisystems DOT com
(301) 682-7901
502 Fairview Avenue
Frederick, MD  21701
http://www.imparisystems.com 

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