[28183] in Kerberos
Re: kprop: Software caused connection abort while reading response
daemon@ATHENA.MIT.EDU (Ken Raeburn)
Fri Aug 3 05:13:31 2007
In-Reply-To: <cb25fa940708022111h54b7f3fcpb21fd810b41efb@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v752.3)
Message-Id: <C9D342B8-64E7-4C2E-805B-DE6299DE3D6D@mit.edu>
From: Ken Raeburn <raeburn@mit.edu>
Date: Fri, 3 Aug 2007 05:11:51 -0400
To: "Le Trung Kien" <aloneattack@gmail.com>
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
On Aug 3, 2007, at 00:11, Le Trung Kien wrote:
> Help please :(
Sorry about the delay...
> 2007/7/30, Le Trung Kien <aloneattack@gmail.com>:
>>
>> Hi, everyone
>> Please help me resolve this problem.
>>
>> I issued :
>>
>> # kprop -d -f /opt/krb5-1.6.2/var/krb5kdc/slave_datatrans
>> may129.chpc.vnu.edu.vn
>>
>> and I got the result :
>>
>> 3473 bytes sent.
>> kprop: Software caused connection abort while reading response
>> from server
This means kpropd exited without acknowledging the receipt of the
data sent, while kprop was waiting for that acknowledgment.
Wonderful way to report an error in processing that data, eh?
Actually, kprop can handle an error message being sent back, and
kpropd does send back error messages for certain cases, but kdb5_util
returning an error isn't one of them.
>>
>> check log in slave KDC :
>>
>> # cat /var/log/messages
>> ...
>> Jul 30 15:54:34 may129 kpropd[3866]: Connection from 10.8.75.132 (my
>> master KDC)
>> Jul 30 15:54:34 may129 kpropd[3866]: kpropd: /opt/krb5-1.6.2/sbin/
>> kdb5_util
>> returned a bad exit status (1)
Unfortunately, it looks like kpropd invokes kdb5_util with the output
file descriptors pointed to /dev/null. However, since it did try to
run kdb5_util, that means the data file got transferred
successfully. Try running "kdb5_util load" on the file (and, if you
give such options to kpropd, also give kdb5_util the -r option to
indicate the realm, and/or the -d option to indicate the pathname of
the db2 file -- that would be "kdb5_util -r REALM load -d /path/to/
dbfile dump_file"), and see what it tells you.
Ken
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos