I install rsync in computer and run it as a daemon successfully, but when I run rsync command on another end to connect it. There is a error. The output is : opening tcp connection to 192.168.0.43 port 873 rsync: failed to connect to 192.168.0.43: Connection refused _exit_cleanup(code=10, file=clientserver.c, line=93): entered rsync error: error in socket IO (code 10) at clientserver.c(93) _exit_cleanup(code=10, file=clientserver.c, line=93): about to call exit(10) I use "netstat -an|grep 873" and "ps -aux|grep rsync" and I am sure that the rsyncd has run successfully. The version is both 2.6.2. The rsync command is " rsync -aH -vvvvv root@192.168.0.43::system/usr/local/drc-1.0 /home/ " What's the reason for this error?? Thanks! _________________________________________________________________ ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn
On Fri, 2004-06-25 14:01:41 +0000, Guo jing <guojingxx@hotmail.com> wrote in message <BAY16-F32TwE6t3QrqH000092a6@hotmail.com>:> I install rsync in computer and run it as a daemon successfully, but when I > run rsync command on another end to connect it. There is a error. > > The output is : > opening tcp connection to 192.168.0.43 port 873 > rsync: failed to connect to 192.168.0.43: Connection refused > _exit_cleanup(code=10, file=clientserver.c, line=93): entered > rsync error: error in socket IO (code 10) at clientserver.c(93) > _exit_cleanup(code=10, file=clientserver.c, line=93): about to > call exit(10) > > I use "netstat -an|grep 873" and "ps -aux|grep rsync" and I am sure that > the rsyncd has run successfully. The version is both 2.6.2.Sure this isn't just a firewall that rejects an unknown access? Try "iptables-save" or "ipchains-save" to see if there are any rules installed (pay attention to default action, too!)... MfG, JBG -- Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier B?rger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA)); -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.samba.org/archive/rsync/attachments/20040625/c6e1b4c5/attachment.bin
On Fri, Jun 25, 2004 at 02:01:41PM +0000, Guo jing wrote:> rsync: failed to connect to 192.168.0.43: Connection refusedDid you start an rsync daemon on 192.168.0.43? If not, there is nothing there to receive the connection. Perhaps you meant to use a single colon instead of a double colon? Going that route uses a remote shell, such as ssh or rsh, to connect without using a remote daemon. ..wayne..
To check if rsync daemon is up on the remote side try: telnet 192.168.0.43 873 If it up and you are not block by firewall etc you should see some output like: @RSYNCD: 28 Regards, Milutin Voinivich http://www.NasBackup.com/ ----- Original Message ----- From: "Guo jing" <guojingxx@hotmail.com> To: <rsync@lists.samba.org> Sent: Friday, June 25, 2004 4:01 PM Subject: A question about connection refused> I install rsync in computer and run it as a daemon successfully, but whenI> run rsync command on another end to connect it. There is a error. > > The output is : > opening tcp connection to 192.168.0.43 port 873 > rsync: failed to connect to 192.168.0.43: Connection refused > _exit_cleanup(code=10, file=clientserver.c, line=93): entered > rsync error: error in socket IO (code 10) at clientserver.c(93) > _exit_cleanup(code=10, file=clientserver.c, line=93): about to > call exit(10) > > I use "netstat -an|grep 873" and "ps -aux|grep rsync" and I am sure that > the rsyncd has run successfully. The version is both 2.6.2. > > The rsync command is " rsync -aH -vvvvv > root@192.168.0.43::system/usr/local/drc-1.0 /home/ > " > > What's the reason for this error?? Thanks! > > _________________________________________________________________ > ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn > > >
On Fri, Jun 25, 2004 at 02:01:41PM +0000, Guo jing wrote:> I install rsync in computer and run it as a daemon successfully, but when I > run rsync command on another end to connect it. There is a error. > > The output is : > opening tcp connection to 192.168.0.43 port 873 > rsync: failed to connect to 192.168.0.43: Connection refused > _exit_cleanup(code=10, file=clientserver.c, line=93): entered > rsync error: error in socket IO (code 10) at clientserver.c(93) > _exit_cleanup(code=10, file=clientserver.c, line=93): about to > call exit(10) > > I use "netstat -an|grep 873" and "ps -aux|grep rsync" and I am sure that > the rsyncd has run successfully. The version is both 2.6.2. > > The rsync command is " rsync -aH -vvvvv > root@192.168.0.43::system/usr/local/drc-1.0 /home/ > " > > What's the reason for this error?? Thanks!What is the command line you are using to start the daemon? What does rsyncd.conf look like? -chris> > _________________________________________________________________ > ???????????????????????????? MSN Messenger: http://messenger.msn.com/cn > > -- > To unsubscribe or change options: > http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html