unable to open configuration file "rsyncd.conf"
Michael B Allen
mba2000 at ioplex.com
Tue Nov 25 08:15:13 EST 2003
I'm getting an error trying to pull a file with ssh/rsync:
$ rsync -e 'ssh -i .ssh/id_rsa' test at server.com::www/index.html index.html
rsync: unable to open configuration file "rsyncd.conf": No such file or
rsync error: syntax or usage error (code 1) at clientserver.c(502)
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
The /etc/rsyncd.conf file on server.com is indeed there:
log file = /var/log/rsyncd
path = /home/www/public_html
If I use root it works:
$ rsync -e ssh root at server.com::www/index.html index.html
root at server.com's password: ********
What's the problem?
A program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the potential for it to be applied to tasks that are
conceptually similar and, more important, to tasks that have not
yet been conceived.
More information about the rsync