Dear opensuse community.
I am currently facing a problem with rsync (or maybe ssh, I don’t know yet). I have daily backups that are done via cron using rsync from my computer (client) to a NAS. And systematically during these backups my computer completely freezes (no remote login possible, nothing), so I have to hard reboot. As you might imagine, I cannot do this every day.
In /var/log/messages there is just a line like that :
Feb 26 17:23:53 eggplant rsyslogd: – MARK –
right before the hang. The rsync worked well before and I don’t really know what changed in my system config.
In /var/log/rsyncd.log I sometimes (but not every time) I get :
2011/02/26 16:39:19  rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(543) [Receiver=3.0.7]
I aldready update the default rsync from opensuse 11.3 to 220.127.116.11, but it does not help.
How can I at least know what is going wrong? I am trying to track down the problem but don’t know how to start.
Last also a log of the rsync command (client) running ssh in verbose using the command “rsync -av --delete --timeout=180 -e “ssh -v -p xxxxxx -i /root/.ssh/rsync-key_eggplant” /mds root@xxxxxxxx:/volume1/autoBackup/eggplant”:
OpenSSH_5.4p1, OpenSSL 1.0.0 29 Mar 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to xxxxxxxxxxxxx.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/rsync-key_eggplant type 2
debug1: identity file /root/.ssh/rsync-key_eggplant-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.2
debug1: match: OpenSSH_4.2 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.4
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host ‘xxxxxxxxx’ is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:6
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /root/.ssh/rsync-key_eggplant
debug1: Server accepts key: pkalg ssh-dss blen 434
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending command: rsync --server -vlogDtpre.iLsf --timeout=180 --delete . /volume1/autoBackup/eggplant/
sending incremental file list
I saw a few other people had similar problems when there were long file lists or huge files to sync (which is my case), but I couldn’t find a solution. Another weird thing is, that I also rsync from my computer to another hard drive on my computer and then there is no problem.
Does anyone have an idea how to tackle this problem?
Thanks in advance.