rsync problem in systemimager

tim.conway at philips.com tim.conway at philips.com
Tue Aug 27 07:46:01 EST 2002


Cedric:  There are good reasons that there is now a version 2.5.5 
available at http://rsync.samba.org/ftp/rsync/rsync-2.5.5.tar.gz
2.4.6 is subject to lots of wierd little problems like that, and the contributors have done a lot of fixes and enhancements (check out 
NEWS and OLDNEWS in the distribution).  It's likely that if your problems 
actually are rsync problems, that they will be fixed by upgrading.

Tim Conway
tim.conway at philips.com
303.682.4917 office, 303.921.0301 cell
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, caesupport2 on AIM
"There are some who call me.... Tim?"




Cedric Lambert <Cedric.Lambert at bull.net>
Sent by: rsync-admin at lists.samba.org
08/27/2002 09:00 AM
Please respond to Cedric.Lambert

 
        To:     rsync at lists.samba.org
        cc:     CEDRIC LAMBERT <Cedric.Lambert at bull.net>
AIME LE-ROUZIC <Aime.Le-Rouzic at bull.net>
(bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        rsync problem in systemimager
        Classification: 



Hello,

I'm working on the oscar-1.3 release with my Linux Itanium's cluster to
test cloning process via systemimager. 
After having succeeded to boot my client node via the network, when
running the following script : /var/lib/systemimager/scripts/ced1.sh
rsync is able to get small files (e.g : mkdosfs). However, when the
script tries to rsync the whole oscar image in the following way :

rsync -av --numeric-ids $IMAGESERVER::$IMAGENAME/ /a/ || shellout

there is automatically an error which is different at each run.

It can be :

...
/usr/lib/locale/ar_LY.utf8/LC_MESSAGES/
rsync: connection unexpectedly closed (62950 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(151)

or :

receiving file list ... unexpected tag -7
rsync error: error in rsync protocol data stream (code 12) at io.c(299)

or :

receiving file list ... unexpected tag 114
rsync error: error in rsync protocol data stream (code 12) at io.c(299)

or :

mkdosfs 2.8 (28 Feb 2001)
receiving file list ... overflow : flags=0x73 l1=111 l2=197376
lastname=/usr/lib/locale/pt_PT.utf8 at euro/LC_CTYPE
ERROR: buffer overflow in receive_file_entry
rsync error: error allocating core memory buffers (code 22) at
util.c(238)


and then the following message appears :
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Your autoinstall has failed. Please send the above messages to
systemimager-discuss at lists.sf.net


After searching on the net and experimenting a lot of things, i have not
managed to find out the problem. Even if the rsync command (rsync -av
--numeric-ids $IMAGESERVER::$IMAGENAME/ /a/ ) looks to work between my
server and a client node booted on its hard drive (not booted via the
network). Between the nodes, a hub (Centre COM MR 820 TR) is present.


Remarks : 

Here are some information on the server system used :

- cat /etc/redhat-release : Red Hat Linux release 7.2 (Enigma)

- uname -a : Linux eolepriv 2.4.9-18smp #1 SMP Tue Dec 11 12:59:00 EST
2001 ia64 unknown

- release of rsync on the server and on the network booted client :
                 rsync --version
                 rsync version 2.4.6  protocol version 24
                 Written by Andrew Tridgell and Paul Mackerras

- rsync on the server is running like this : /usr/bin/rsync --daemon
--config=/etc/systemimager/rsyncd.conf

- here is my rsyncd.conf :
more /etc/systemimager/rsyncd.conf
#
# "SystemImager"
# 
#  Copyright (C) 1999-2002 Brian Elliott Finley
<brian.finley at baldguysoftware.com>
#
#  $Id: 10header,v 1.1.2.2 2002/03/22 00:25:40 brianfinley Exp $
 
########################################################################
#                                                                      #
# WARNING:                                                             # 
#   This file is automatically generated by SystemImager, do not edit! #
#   Everything you add directly to this file will be lost the next     #
#   time it is generated.  See the update_si_rsync manpage for details # 
#   on how to have local entries added each time this file is          # 
#   generated.                                                         #
#                                                                      #
########################################################################

list = yes
timeout = 600
dont compress = *.gz *.tgz *.zip *.Z *.ZIP *.bz2 *.deb *.rpm *.dbf
uid = root
gid = root
use chroot = yes
log file = /var/log/systemimager/rsyncd

hosts allow = 102.1.1.104/255.255.255.0

[scripts]
path = /var/lib/systemimager/scripts

[i386-boot]
        path=/usr/share/systemimager/i386-boot

[ia64-boot]
        path=/usr/share/systemimager/ia64-boot

# only image entries below this line

[oscarimage]
        path=/var/lib/systemimager/images/oscarimage



Thanks for any help
Best regards,

Cédric Lambert

BULL S.A ECHIROLLES FRANCE
tel: +33 (0)4 76 29 73 87
-- 
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html






More information about the rsync mailing list