Dear all:
In fact, even I add the user in the command, the rsync`s error is
still appearing:>./bin/rsync -avz tong@192.168.1.30:/BGI/UCSC-mirror/bin/rsync-2.5.4/man
./backup-3000/
rshd: 0826-813 Permission is denied.
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(151)
another try:>./bin/rsync -avz tong@192.168.1.30::web ./backup-3000/
rsync: failed to connect to 192.168.1.30: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(89)
How can I deal with such errors? thank you.=20
tongw
> -----Original Message-----
> From: tongw [mailto:tongw@genomics.org.cn]=20
> Sent: 2003=C4=EA8=D4=C27=C8=D5 10:09
> To: 'rsync@lists.samba.org'
> Subject: questions about "connection refused"
>=20
> Dear all:
> I installed the rsync 2.5.4 in my two machine (192.168.1.30
> and 192.168.1.120, both are AIX OS) to backup data each other. The
> software`s installation is ok, and I can copy local files. But when I
> try to backup data between two machines, there reports some errors:=20
>=20
> >./bin/rsync -avz 192.168.1.30::web ./backup-3000/
> rsync: failed to connect to 192.168.1.30: Connection refused
> rsync error: error in socket IO (code 10) at clientserver.c(89)
>=20
> another try:=20
> >./bin/rsync -avz 192.168.1.30:/BGI/UCSC-mirror/bin/rsync-2.5.4/man
> ./backup-3000/
> rshd: 0826-813 Permission is denied.
> rsync: connection unexpectedly closed (0 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at
> io.c(151)
>=20
> In fact, I have set up the rsyncd.conf file in the 192.168.1.30 as
> the following, I don`t know how to deal with the errors.=20
>=20
> uid =3D nobody
> gid =3D nobody=20
> use chroot =3D no
> max connections =3D 4=20
> pid file =3D /var/run/rsyncd.pid=20
> lock file =3D /var/run/rsync.lock=20
> log file =3D /var/log/rsyncd.log=20
>=20
> [web] # just a test
> path =3D /BGI/UCSC-mirror/bin/apache_1.3.27
> comment =3D tmp backup directory
> ignore errors
> read only =3D yes=20
> list =3D no=20
> auth users =3D tongw=20
> secrets file =3D /etc/backserver.pas
> hosts allow =3D 192.168.1.120
>=20
> Another question, when I initiate the rsync server in 192.168.1.30
> by "rsync --daemon" command, the script is soon completed, no
errors
> or runing information. How can I know whether the "daemon" mode
of
> rsync has been initiated?
>=20
> Really thanks.
> Kind Regards.=20
> tongw
>=20
>=20
>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> Wei Tong
> =20
> Bioinformatics Department =20
> Beijing Genomics Institute/
> Genomics & Bioinformatics Center Chinese Academy of Science
>=20
> Beijing Airport Industrial Zone B6
> Beijing 101300, P.R. China
> =20
> Tel: 0086-10-80481433 (Office) =20
> Email : tongw@genomics.org.cn
> http://www.genomics.org.cn=20
>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
>=20