Sonu: I'm giving the whole history to the rsync list. If the tests i subscribed passed, yet you get that error, it's more in depth than i can go into. You've got 1 hour, let's hope somebody immediately recognizes the problem. I've got some ideas, but no time to explore any more for you.
Gentlemen: does anybody see a quick resolution for Sonu? Looks like he's under the gun, but he hasn't actually told me anything about what he's trying to do with it. I've hit the high spots, got him a working rsyncd.conf (it looks like), but i'm out of time myself (given nearly 30 scarce minutes over the past 2 days). Tim Conway [EMAIL PROTECTED] 303.682.4917 Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, n9hmg on AIM perl -e 'print pack(nnnnnnnnnnnn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' "There are some who call me.... Tim?" ----- Forwarded by Tim Conway/LMT/SC/PHILIPS on 04/17/2002 04:23 PM ----- "Sonu Singh" <[EMAIL PROTECTED]> 04/15/2002 10:31 AM To: [EMAIL PROTECTED] Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject: rsync HELP!!! Classification: hi guys i got ur email addresses from the mailing list archive... i m a new to setting up rsync...i have to finish it in 2 days...i have no idea of which files to make, how does it works etc... can u pls explain me from scratch... or step by step installation thanx in advance... have a nice day... bye. Sonu _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com ----- Forwarded by Tim Conway/LMT/SC/PHILIPS on 04/17/2002 04:23 PM ----- "Sonu Singh" <[EMAIL PROTECTED]> 04/16/2002 07:57 AM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject: Re: rsync HELP!!! Classification: i m using linux slackware 8.0.... can u be pls be more specific like which files i need to make... do i need to make them for server as well as client... i just have 2 machines...one is server n other is client...\ thanx _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx ----- Forwarded by Tim Conway/LMT/SC/PHILIPS on 04/17/2002 04:23 PM ----- "Sonu Singh" <[EMAIL PROTECTED]> 04/16/2002 08:33 AM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject: Re: rsync HELP!!! Classification: what is the [big] n [big1] u used? thanx >From: [EMAIL PROTECTED] >To: "Sonu Singh" <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: rsync HELP!!! >Date: Mon, 15 Apr 2002 13:58:01 -0600 > >Getting rsync to work is simple. What kind of system will you run it on? >There are ready-compiled binaries available at >http://samba.org/ftp/rsync/binaries for aix, bsd(intel), hpux, irix, sco, >sysvr4(intel), solaris, sunos, two intel linuxes, and linux on powerpc. > >I'd recommend, though, if you have a working compiler, that you use the >source, currently available at >http://samba.org/ftp/rsync/rsync-2.5.5.tar.gz >Follow the instructions in the INSTALL file, and you've got the binary and >man pages all nicely installed. >If you're transferring between systems, you'll have to make the binaries >available on both, for the proper platform. >Then, you use the program. Its syntax is a lot like rcp, except that you >can't specify remote servers for both source and destination. You've got >to either get or put, you can't pass it on (in one step). >rsync /file server:/path >rsync server:/path/file /path >rsync /path/file /path >special case, wherein a rsync process acts as a daemon (rsyncd server, as >it's called), you contact it as server::module/path/file >To do that, you'll have to set up your rsyncd.conf. It's well documented, >but simply, you set global options at the top of the file, and below, you >define one or more modules. >Here's a minimal rsyncd.conf: >+++++++++++++++++++++++++++++++++ >[root] >path = / >+++++++++++++++++++++++++++++++++ >That will be a read-only, universal access module, comprising your whole >filesystem. Probably not what you want, but it's a starting point. Add >options one at a time until you have a working config that does what you >want. >Some start rsyncd as a standalone process. I prefer letting inetd manage >it. A side-benefit of that is that you can do development quickly. make >the change, test, make change, test. It's rerun every time it's called, >so you don't have to kill and restart it for every change, and it takes 0 >memory when it's not being used. >tconway@atlas:/users/tconway > >grep rsync /etc/services /etc/inetd.conf >/etc/services:rsync 873/tcp rsyncd # rsync >daemon >/etc/inetd.conf:#rsync stream tcp nowait root /usr/bin/rsync >rsyncd --daemon >tconway@atlas:/users/tconway > >rsh willy head -20 /etc/rsyncd.conf >#syslog facility = local3 >logfile = /var/tmp/rsyncd.log > >[big] >lock file = /var/tmp/rsync.big.lock >use chroot = no >timeout = 86400 >ignore errors = yes >ignore nonreadable = yes >#max connections = 4 >uid = Tools >gid = Tools >#path = /wan/sjt-tools-master1/big >path = /mastertoolservers/sjt-tools-master1/big >read only = yes > >[big1] >lock file = /var/tmp/rsync.big1.lock >use chroot = no >timeout = 86400 >tconway@atlas:/users/tconway > > > >Those are the high spots. You'll have to Read The Fine Manual to really >do it right. >Good luck. > >Tim Conway >[EMAIL PROTECTED] >303.682.4917 >Philips Semiconductor - Longmont TC >1880 Industrial Circle, Suite D >Longmont, CO 80501 >Available via SameTime Connect within Philips, n9hmg on AIM >perl -e 'print pack(nnnnnnnnnnnn, >19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), >".\n" ' >"There are some who call me.... Tim?" > > > > >"Sonu Singh" <[EMAIL PROTECTED]> >04/15/2002 10:31 AM > > > To: [EMAIL PROTECTED] >Tim Conway/LMT/SC/PHILIPS@AMEC > cc: > Subject: rsync HELP!!! > Classification: > > > >hi guys >i got ur email addresses from the mailing list archive... > >i m a new to setting up rsync...i have to finish it in 2 days...i have no >idea of which files to make, how does it works etc... > >can u pls explain me from scratch... or step by step installation > >thanx in advance... have a nice day... > >bye. >Sonu > >_________________________________________________________________ >Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. ----- Forwarded by Tim Conway/LMT/SC/PHILIPS on 04/17/2002 04:23 PM ----- "Sonu Singh" <[EMAIL PROTECTED]> 04/17/2002 10:16 AM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject: Re: rsync HELP!!! Classification: hi again, when i run rsync --daemon , it works but with other rsync commands i get an error likr that: error in rsync protocol data stream (code 12) at io.c(150) any idea? i have specified port 873 in my services file... i have installed rsync-2.... on both server n client too if any suggestions, mail me soon pls thanx. Sonu. _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com ----- Forwarded by Tim Conway/LMT/SC/PHILIPS on 04/17/2002 04:23 PM ----- "Sonu Singh" <[EMAIL PROTECTED]> 04/17/2002 01:32 PM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject: Re: rsync HELP!!! Classification: ok this is my /etc/rsyncd.conf file: secrets file = /etc/rsyncd.secrets motd file: /etc/syncd.motd read only = yes list = yes uid = rsync gid = rsync use chroot = no max connections = 4 syslog facility = local5 pid file = /var/run/rsyncd.pid [www] comment = all websites path = /usr/local/websites [out] comment = Great Stuff path= /home/rsync/out [confidential] path=/home/rsync/secret-out auth users = ... , ..., etc hosts allow = (IP address of the client) hosts deny = * list = false ------------------- Thats it Sir. I have sameeeeeeee file on client n server/// is it ok? do i need to add somethen else? n plus when i did rsync host:: i got following errors: rsync: getaddrinfo: host 873: Name or service not known rsync error: error in socket IO (code 10) at clentserver.c(97) can u pls tell me why is it liek that? any suggestion are welcomed thanx a lot for ur attention n cooperation Sonu >From: [EMAIL PROTECTED] >To: "Sonu Singh" <[EMAIL PROTECTED]> >Subject: Re: rsync HELP!!! >Date: Wed, 17 Apr 2002 11:27:14 -0600 > >ok, what does your /etc/rsyncd.conf look like? >What commandline are you using? >You should be able to read the list of modules as defined in your >rsyncd.conf (if you've restarted rsync --daemon after they were added) >with >rsync host:: >tconway@alta:/users/tconway/encap/build/SunOS/5.7/gnupg-1.0.6 > >rsync willy:: >big >big1 >ToolSyncModules >sjt-tools-master1 >sjt-tools1 >sjt-tools2 >Tools >tconway@alta:/users/tconway/encap/build/SunOS/5.7/gnupg-1.0.6 > >rsync willy::big1 >drwxr-xr-x 512 2002/04/09 10:33:58 . >drwxr-xr-x 512 2002/04/09 10:34:24 cadappl1 >drwxr-xr-x 512 2001/09/14 08:03:06 tools1 >tconway@alta:/users/tconway/encap/build/SunOS/5.7/gnupg-1.0.6 > > > > >Tim Conway >[EMAIL PROTECTED] >303.682.4917 >Philips Semiconductor - Longmont TC >1880 Industrial Circle, Suite D >Longmont, CO 80501 >Available via SameTime Connect within Philips, n9hmg on AIM >perl -e 'print pack(nnnnnnnnnnnn, >19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), >".\n" ' >"There are some who call me.... Tim?" > > > > >"Sonu Singh" <[EMAIL PROTECTED]> >04/17/2002 10:16 AM > > > To: Tim Conway/LMT/SC/PHILIPS@AMEC > cc: > Subject: Re: rsync HELP!!! > Classification: > > > >hi again, > >when i run rsync --daemon , it works > >but with other rsync commands i get an error likr that: >error in rsync protocol data stream (code 12) at io.c(150) > >any idea? >i have specified port 873 in my services file... > >i have installed rsync-2.... on both server n client too > >if any suggestions, mail me soon pls > >thanx. >Sonu. > > >_________________________________________________________________ >Join the world's largest e-mail service with MSN Hotmail. >http://www.hotmail.com > > > > _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com ----- Forwarded by Tim Conway/LMT/SC/PHILIPS on 04/17/2002 04:23 PM ----- "Sonu Singh" <[EMAIL PROTECTED]> 04/17/2002 03:15 PM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject: Re: rsync HELP!!! Classification: any other command thru which i can check .. i mean if i can make backup thru rsync? as u said , i read manpages for rsync + rsyncd.conf.. they r very useful:) n i got lotta info... but the thing i si have to finish that in liek 1 more hour.. its due this evening :S Sonu _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com ----- Forwarded by Tim Conway/LMT/SC/PHILIPS on 04/17/2002 04:23 PM ----- "Sonu Singh" <[EMAIL PROTECTED]> 04/17/2002 03:13 PM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject: Re: rsync HELP!!! Classification: ok Sir, i did whatever u said... n all what u explained to test rsync, works fine :) but when i issue the following command to transfer my files from server to the client, i get following error(message): command i use: rsync -avz host::www /home/sonu/test Welcome....! (its my motd file message) @ERROR: invalid uid rsync rsync: connection unexpectedly closd (55 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) Any suggestions or ideas? n yeah, i m really so thankful to u... i m a student and currently on stage, i m new to linux... mostly i have exp. in windows... again, thanx a lot for ur cooperation:) Sonu _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html