Hi!

> Amanda can't find the IP for the hostname 'pc-cedric'.
> Check your name server configuration, /etc/hosts, ...
>
> Jean-Louis
>
> Cédric Lucantis wrote:
> > hi!
> >
> > I'm actually trying to upgrade amanda to the latest svn version (from the
> > cvs 2.51b2 version which was working fine) and by the same time
> > installing it in another directory. I could build and install it but i
> > now have this message after an amcheck which I don't understand:
> >
> > WARNING: pc-cedric: selfcheck request failed: getaddrinfo(pc-cedric): No
> > address associated with hostname
> >
> > I'm using amanda to backup a single PC under Debian Sid. Sorry if this is
> > a frequently asked one but i didn't find anything helpful in the list
> > archive or in the faq. Some entries seem to be related to this but i
> > don't understand them as my knowledge about networks is _very_ limited :)

Sorry to insist, but I'm still stuck with that stupid problem so I restarted 
it from zero: I restored my whole system from a previous dump, and amcheck 
worked fine so I assume my network config is OK :

Amanda Tape Server Host Check
-----------------------------
Holding disk /var/amanda-hold: 4170 MB disk space available, using 4270420 MB
slot 19: read label `daily19', date `20070125160256'
NOTE: skipping tape-writable test
Tape daily19 label ok
Server check took 1.333 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.979 seconds, 0 problems found

(brought to you by Amanda 2.5.1b2)


Then I checked out the latest svn, configured (with --with-bsd-security 
and --with-amandahosts), compiled and installed it, modified my 
xinetd file to the following:

service amanda
{
        only_from = localhost.localdomain
        socket_type = dgram
        protocol = udp
        wait = yes
        user = amanda
        group = amanda
        groups = yes
        server = /usr/local/libexec/amandad
        server_args = -auth=bsd amdump
        disable = no
}

and amandahosts like this:

localhost.localdomain   amanda  amdump
localhost.localdomain   root    amindexd amidxtaped

after what I restarted xinetd but still have the same 'selfcheck request 
failed' error message with amcheck. Below is the amcheck debug file:

----------------------------------------------------------------------------
amcheck: debug 1 pid 3624 ruid 500 euid 0: start at Sun Feb 18 16:42:39 2007
amcheck: debug 1 pid 3624 ruid 500 euid 500: rename at Sun Feb 18 16:42:39 
2007
amcheck-clients: time 0.031: security_getdriver(name=BSD) returns 0xb7ed0120
amcheck-clients: time 0.031: security_handleinit(handle=0x805ae08, 
driver=0xb7ed0120 (BSD))
changer_query: changer return was 20 1
changer_query: searchable = 0
changer_find: looking for daily19 changer is searchable = 0
getaddrinfo(pc-cedric): No address associated with hostname
amcheck-clients: time 0.199: security_seterror(handle=0x805ae08, 
driver=0xb7ed0120 (BSD) error=getaddrinfo(pc-cedric): No address associated 
with hostname
)
amcheck-clients: time 0.199: security_close(handle=0x805ae08, 
driver=0xb7ed0120 (BSD))
amcheck-clients: time 5.197: security_handleinit(handle=0x805b9f8, 
driver=0xb7ed0120 (BSD))
getaddrinfo(pc-cedric): No address associated with hostname
amcheck-clients: time 10.544: security_seterror(handle=0x805b9f8, 
driver=0xb7ed0120 (BSD) error=getaddrinfo(pc-cedric): No address associated 
with hostname
)
amcheck-clients: time 10.544: security_close(handle=0x805b9f8, 
driver=0xb7ed0120 (BSD))
amcheck-clients: time 15.543: security_handleinit(handle=0x805bb08, 
driver=0xb7ed0120 (BSD))
getaddrinfo(pc-cedric): No address associated with hostname
amcheck-clients: time 15.590: security_seterror(handle=0x805bb08, 
driver=0xb7ed0120 (BSD) error=getaddrinfo(pc-cedric): No address associated 
with hostname
)
amcheck-clients: time 15.590: security_close(handle=0x805bb08, 
driver=0xb7ed0120 (BSD))
amcheck: time 15.591: pid 3624 finish time Sun Feb 18 16:42:55 2007
----------------------------------------------------------------------------

I really don't see what I'm missing now... (btw, is the amanda forum a better 
place for this question?)

Thanks for your help,
-- 
Cédric Lucantis

Reply via email to