[prev in list] [next in list] [prev in thread] [next in thread]
List: amanda-users
Subject: Re: Error running amrecover from client (ver. 2.4.2)
From: Oscar Ricardo Silva <oscars () mail ! utexas ! edu>
Date: 2000-07-31 20:24:55
[Download RAW message or body]
I'm running into the same problem on a Red Hat Linux 6.1 client, running on
Intel, kernel 2.2.14. This is with amanda 2.4.2, retrieved through cvs. I
received the error and just to make sure it wasn't what I installed, I
stripped the machine of amanda and then reinstalled. Same problem, I get
the error:
% ./amrecover
AMRECOVER Version 2.4.2. Contacting server on amanda.ots.utexas.edu ...
amrecover: Error connecting to server: Invalid argument
%
I have other amanda clients similarly configured and they work.
>> >amrecover: Error connecting to server: Invalid argument
>>
>>According to my Solaris documentation, EINVAL means the length passed
>>to the connect() call does not match the address family. You wouldn't
>>happen to have some IPv6 stuff floating around, would you?
>>
>>The attached patch will output some more data on the problem. When you
>>get it, take the number reported by h_addrtype and see if you can find
>>the matching address family symbol. For instance, AF_INET has a value
>>of 2 on my Solaris boxes, as defined in /usr/include/sys/socket.h:
>>
>> #define AF_INET 2 /* inter network: UDP,
>> TCP, etc. */
>>
>>John R. Jackson, Technical Software Specialist, jrj@purdue.edu
>><< jj.diff >>
>
>John,
>
>Thanks for the patch. I applied it, then recompiled amanda-2.4.2 but still
>ran into the error. Here is the output of amrecover.debug:
>
>amrecover: debug 1 pid 8794 ruid 0 euid 0 start time Thu Jul 27 21:28:28 2000
>h_length is 4
>h_addrtype is 2
>sizeof is 16
>Error connecting to server
>amrecover: pid 8794 finish time Thu Jul 27 21:28:28 2000
>
>The contents of /usr/include/linux/socket.h give:
>
>#define AF_INET 2 /* Internet IP Protocol */
>
>This is on a client running Red Hat Linux 6.1.
>
>
>Thanks for the patch.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic