Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Search this Thread
Old 06-15-2004, 04:53 PM   #1
LQ Newbie
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
Rsync Help!


i have install rsync to do a remote backup on a server but i can't get it work, i post my configuration:


uid = maddox
gid = maddox
use chroot = no
max connections = 2
syslog facility = rsync
pid file = /etc/

comment = Server backup files
auth users = maddox
secrets file = /etc/rsyncd.secrets


service rsync
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon

# allow to connect from your second server only
only_from =



on the other server i have make the .sh file:

rsync --password-file=/etc/ -r rsync://maddox@124.124.124/backup/* /path/to/downloaded/backup


when i run the .sh file i get the following error:

@ERROR: invalid uid maddox
rsync: connection unexpectedly closed (80 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)

any help?

thank you
Old 06-15-2004, 06:25 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Re: Rsync Help!

Originally posted by dlc2000
rsync --password-file=/etc/ -r rsync://maddox@124.124.124/backup/* /path/to/downloaded/backup
If it's a hostname it's an odd choice :)
It's definitely not a valid IP, though ;)

Old 06-16-2004, 01:15 AM   #3
LQ Newbie
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
i know, i have post it as example on the forum, i dont like to post my real ip onthe forum.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync sant25 Linux - General 2 09-02-2005 03:34 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Rsync help tricky1234 Solaris / OpenSolaris 3 09-07-2004 10:08 AM
rsync-2.4.6-2 santha Linux - Software 1 08-25-2004 04:35 AM
Rsync buttersoft Linux - Software 4 11-05-2003 11:37 AM

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration