pantz.org banner
Fixing rsync error "Disconnecting: Corrupted MAC on input"
Posted on 08-01-2007 02:35:00 UTC | Updated on 05-04-2008 05:58:29 UTC
Section: /software/rsync/ | Permanent Link

Had this weird problem with an rsync transfer on a machine. The machine had been transferring files with no problems and then all the sudden it transfers some data and then dies with this cryptic error:

Disconnecting: Corrupted MAC on input.
rsync: connection unexpectedly closed (xxxx bytes received so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(463)
rsync: writefd_unbuffered failed to write 4092 bytes [generator]: Broken pipe
rsync error: unexplained error (code 255) at io.c(1119) [generator=2.6.8]

The first line is the one to really pay attention to. It makes no sense but it's the only line that makes the error orginal from other rsync errors I've seen. What I have found from searching on this error and my experience with it is that it's a hardware error of some sort. Could be loose ram or bad/flaky ram. Could be flakey network cable or flakey switch port. Could be something is overheating. Whatever it is just start poking and wiggling everything on the box. Change network cables and switch ports. Reseat ram and network cards. Make sure things are tight. Then retry. I did all these things and the error went away. Whatever it was it was a physical problem with the machine not rsync.

Reddit!

Related stories


RSS Feed RSS feed logo

About


3com

3ware

alsa

alsactl

alsamixer

amd

android

apache

areca

arm

ati

auditd

awk

badblocks

bash

bind

bios

bonnie

cable

carp

cat5

cdrom

cellphone

centos

chart

chrome

chromebook

cifs

cisco

cloudera

comcast

commands

comodo

compiz-fusion

corsair

cpufreq

cpufrequtils

cpuspeed

cron

crontab

crossover

cu

cups

cvs

database

dbus

dd

dd_rescue

ddclient

debian

decimal

dhclient

dhcp

diagnostic

diskexplorer

disks

dkim

dns

dos

dovecot

drac

dsniff

dvdauthor

e-mail

echo

editor

emerald

ethernet

expect

ext3

ext4

fat32

fedora

fetchmail

fiber

filesystems

firefox

firewall

flac

flexlm

floppy

flowtools

fonts

format

freebsd

ftp

gdm

gmail

gnome

google

greasemonkey

greylisting

growisofs

grub

hacking

hadoop

harddrive

hba

hex

hfsc

html

html5

http

https

hulu

idl

ie

ilo

intel

ios

iperf

ipmi

iptables

ipv6

irix

javascript

kde

kernel

kickstart

kmail

kprinter

krecord

kubuntu

kvm

lame

ldap

linux

logfile

lp

lpq

lpr

maradns

matlab

memory

mencoder

mhdd

mkinitrd

mkisofs

moinmoin

motherboard

mouse

movemail

mplayer

multitail

mutt

myodbc

mysql

mythtv

nagios

nameserver

netflix

netflow

nginx

nic

ntfs

ntp

nvidia

odbc

openbsd

openntpd

openoffice

openssh

openssl

openvpn

opteron

parted

partimage

patch

perl

pf

pfflowd

pfsync

photorec

php

pop3

pop3s

ports

postfix

power

procmail

proftpd

proxy

pulseaudio

putty

pxe

python

qemu

r-studio

raid

recovery

redhat

router

rpc

rsync

ruby

saltstack

samba

schedule

screen

scsi

seagate

seatools

sed

sendmail

sgi

shell

siw

smtp

snort

solaris

soundcard

sox

spam

spamd

spf

sql

sqlite

squid

srs

ssh

ssh.com

ssl

su

subnet

subversion

sudo

sun

supermicro

switches

symbols

syslinux

syslog

systemrescuecd

t1

tcpip

tcpwrappers

telnet

terminal

testdisk

tftp

thttpd

thunderbird

timezone

ting

tls

tools

tr

trac

tuning

tunnel

ubuntu

unbound

vi

vpn

wget

wiki

windows

windowsxp

wireless

wpa_supplicant

x

xauth

xfree86

xfs

xinearama

xmms

youtube

zdump

zeromq

zic

zlib