Hi all

I'm sorry if you understand my English.I have the pleasure of writing to you
again.

I examine why this log "Mesg read: Connection reset by peer" is output.

To want to repeat it, I executed the following commands on the server.
 - amdump daily
 - iptables -A INPUT -p tcp -d "IPaddress of the client" -j REJECT
--reject-with tcp-reset
 - iptables -A OUTPUT -p tcp -d "IPaddress of the client" -j REJECT
--reject-with tcp-reset

I executed the command "iptables" while executing the command "amdump".

Unfortunately, I can't repeat it.

The following error messages are output.
 - data read: Connection reset by peer

I checked the URL as follow, but I don't solve the problem.
http://wiki.zmanda.com/index.php/Mesg_read:_Connection_reset_by_peer

If you have done, could you tell me how to repeat it?

I consider that I can repeat it if the local valiable "n" returns "-1".
----common-src/bsd-security.c
    do {
        n = read(bs->fd, bs->databuf, sizeof(bs->databuf));
    } while ((n < 0) && ((errno == EINTR) || (errno == EAGAIN)
----

system configuration as follow:
 - server/client
  - OS:RHEL5
  - amanda:2.5.0p2-4(bundle in RHEL5)

The result was the same though I had tried amanda2.5.2-p2.

Yours sincerely,

Takashi Kurakata

2007/11/15, Takashi Kurakata <[EMAIL PROTECTED]>:
>
> Hi,all
>
> I do the following with the server to let error message "Mesg read:
> Connection reset by peer" reappear.
>  - amdump DailySet1
>  - iptables -A INPUT -p tcp -d "IPaddress of the client" -j REJECT
> --reject-with tcp-reset(during amdump)
>  - iptables -A OUTPUT -p tcp -d "IPaddress of the client" -j REJECT
> --reject-with tcp-reset(during amdump)
>
> However, the error message is not reproduced.
>
> The following error message "data read: Connection reset by peer" is
> output.
>
> I checked the URL as follow, but I don't solve the problem.
> http://wiki.zmanda.com/index.php/Mesg_read:_Connection_reset_by_peer
>
> Have you reproduced this?  If there is some good method, Would you tell me
> how to reproduce the error message "Mesg read: Connection reset by peer"?
>
> The system constitution is as follow:
>  - I use amanda2.5.0p2-4(with RHEL5) and amanda2.5.2p1(Source).
>  - There isn't a firewall between the server and client.
>
> Your prompt reply would be greatly appreciated.
>
> Thanks in advance.

Reply via email to