rsync2.5.6 can't find system config file

Chris Hare chare_cissp at yahoo.com
Sun Mar 2 12:10:42 EST 2003


I had rsync2.5.5 running fine ona RedHat Linux 8 system.  I downloaded the rsync2.5.6 code and it compiled with no problems.  However, operations which worked before are now failing.  Here is my rsyncd.conf file

uid = nobody
gid = nobody
# use chroot = no
max connections = 4
syslog facility = local5
pid file = /var/run/rsyncd.pid
motd file = /etc/rsyncd.motd

[ftp]
        path = /var/ftp/pub
        comment = whole ftp area
        read only = yes
        list = yes
        ignore nonreadable = yes

[movies]
        path = /var/ftp/pub/movies
        comment = Movies and Video Clips

[slides]
        path = /var/ftp/pub/slides
        comment = Slides and Pictures (requires authentication)
        auth users = chare, hawkins
        secrets file = /etc/rsyncd.secrets
        uid = 500
        gid = 500
        read only = yes
        list = yes
        hosts allow = 192.168.0.3


Executing the command

[chare at gw chare]$ rsync -vvvv 192.168.0.3::slides//
opening tcp connection to 192.168.0.3 port 873

Password:
@ERROR: auth failed on module slides
rsync: connection unexpectedly closed (91 bytes read so far)
_exit_cleanup(code=12, file=io.c, line=165): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
_exit_cleanup(code=12, file=io.c, line=165): about to call exit(12)


fails, whereas it worked before.  Likewise

[chare at gw chare]$ rsync -avvvv --rsh="ssh -l chare" chare at 192.168.0.3::
cmd=ssh -l chare machine=192.168.0.3 user=chare path=
cmd=ssh -l chare 192.168.0.3 rsync --server --daemon .
opening connection using ssh -l chare 192.168.0.3 rsync --server --daemon .
chare at 192.168.0.3's password:
rsync: unable to open configuration file "rsyncd.conf": No such file or directory
rsync error: syntax or usage error (code 1) at clientserver.c(502)
rsync: connection unexpectedly closed (0 bytes read so far)
_exit_cleanup(code=12, file=io.c, line=165): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
_exit_cleanup(code=12, file=io.c, line=165): about to call exit(12)


Now, rsyncd can't seem to find the /etc/rsyncd.conf file, even though it is there and hasn't changed.  

Ideas??

Chris

 

 



---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more


More information about the rsync mailing list