I'm trying to use the CentOS server for windows backups. I want to use rsync to get the data over there. I downloaded cwrsync, but I'm having issues getting it to work. I keep getting: "Disconnecting: Timeout, server not responding." Has anyone seen anything like this? Here is a transcript:
C:\Documents and Settings\Russ>rsync -vvvvvvv /cygdrive/c/temp/xr backup-db@192. 168.1.5:/home/backup-db/test cmd= machine=192.168.1.5 user=backup-db path=/home/backup-db/test cmd[0]=ssh cmd[1]=-l cmd[2]=backup-db cmd[3]=192.168.1.5 cmd[4]=rsync cmd[5]=--s erver cmd[6]=-vvvvvvv cmd[7]=. cmd[8]=/home/backup-db/test opening connection using ssh -l backup-db 192.168.1.5 rsync --server -vvvvvvv . /home/backup-db/test backup-db@192.168.1.5's password: Disconnecting: Timeout, server not responding. _exit_cleanup(code=20, file=rsync.c, line=242): entered rsync error: unexplained error (code 255) at rsync.c(242) [sender] _exit_cleanup(code=20, file=rsync.c, line=242): about to call exit(255)
And on the server, in secure.log I get: May 2 18:08:58 localhost sshd[4337]: Accepted password for backup-db from 192.168.1.36 port 3392 ssh2 May 2 18:08:58 localhost sshd[4337]: pam_unix(sshd:session): session opened for user backup-db by (uid=0) May 2 18:08:58 localhost sshd[4339]: fatal: Write failed: Connection reset by peer May 2 18:08:58 localhost sshd[4337]: pam_unix(sshd:session): session closed for user backup-db
I'm using "rsync version 2.6.7 protocol version 29" on the client. I used the lates (2.6.9 I believe), and downgraded from there, trying to get it to work.
Russ
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Ruslan Sivak Sent: Wednesday, May 02, 2007 5:10 PM To: CentOS mailing list Subject: [CentOS] rsync problems on windows
I'm trying to use the CentOS server for windows backups. I want to use rsync to get the data over there. I downloaded cwrsync, but I'm having issues getting it to work. I keep getting: "Disconnecting: Timeout, server not responding."
I've seen similar errors related to windows firewall. You may want to disable win firewall or anything else that may be interfering from that side.
I'm not running any firewalls AFAIK. I disabled mcafee, but the error persists. I even tried a different os (win 2003, no firewall, no antivirus) and I'm still getting the same problem. Any way to troubleshoot? I tried wireshark, but I all I are are encrypted packets and a rst at the end from the client.
Also the error pops up intantrneously, no timeout. It then hangs until I ctrl-c out of it.
Ssh works fine btw. I can use it and get a shell.
I looked at the rsync.c file, but couldn't locate that error text anywhere. Is that an error from rsync or ssh? Is there a way to tell it not to use ssh to eliminate it as a problem?
Russ Sent wirelessly via BlackBerry from T-Mobile.
-----Original Message----- From: "Dale Sykora" Dale.Sykora@7core.biz Date: Wed, 2 May 2007 17:16:33 To:"CentOS mailing list" centos@centos.org Subject: RE: [CentOS] rsync problems on windows
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Ruslan Sivak Sent: Wednesday, May 02, 2007 5:10 PM To: CentOS mailing list Subject: [CentOS] rsync problems on windows
I'm trying to use the CentOS server for windows backups. I want to use rsync to get the data over there. I downloaded cwrsync, but I'm having issues getting it to work. I keep getting: "Disconnecting: Timeout, server not responding."
I've seen similar errors related to windows firewall. You may want to disable win firewall or anything else that may be interfering from that side. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Russ wrote:
I'm not running any firewalls AFAIK. I disabled mcafee, but the error persists. I even tried a different os (win 2003, no firewall, no antivirus) and I'm still getting the same problem. Any way to troubleshoot? I tried wireshark, but I all I are are encrypted packets and a rst at the end from the client.
Also the error pops up intantrneously, no timeout. It then hangs until I ctrl-c out of it.
Ssh works fine btw. I can use it and get a shell.
I looked at the rsync.c file, but couldn't locate that error text anywhere. Is that an error from rsync or ssh? Is there a way to tell it not to use ssh to eliminate it as a problem?
I just downloaded a current cwrsync and was able to cd into its bin directory and 'rsync -av . root@centos_box:/tmp/test' without any problems. Maybe you have a problem with paths or another copy of the cygwin.dll somewhere.
Les Mikesell wrote:
Russ wrote:
I'm not running any firewalls AFAIK. I disabled mcafee, but the error persists. I even tried a different os (win 2003, no firewall, no antivirus) and I'm still getting the same problem. Any way to troubleshoot? I tried wireshark, but I all I are are encrypted packets and a rst at the end from the client.
Also the error pops up intantrneously, no timeout. It then hangs until I ctrl-c out of it. Ssh works fine btw. I can use it and get a shell.
I looked at the rsync.c file, but couldn't locate that error text anywhere. Is that an error from rsync or ssh? Is there a way to tell it not to use ssh to eliminate it as a problem?
I just downloaded a current cwrsync and was able to cd into its bin directory and 'rsync -av . root@centos_box:/tmp/test' without any problems. Maybe you have a problem with paths or another copy of the cygwin.dll somewhere.
I checked for any other versions of cygwin1.dll, and although there were a few, they weren't in the path. I finally got process monitor and process explorer and saw that for some reason it was using hlcap.dll. I guess HTTPLook caused yet another problem. Thanks to everyone that helped. Does anyone know of a program like httplook for windows that doesn't break everything?
Russ
Ruslan Sivak wrote:
Les Mikesell wrote:
Russ wrote:
I'm not running any firewalls AFAIK. I disabled mcafee, but the error persists. I even tried a different os (win 2003, no firewall, no antivirus) and I'm still getting the same problem. Any way to troubleshoot? I tried wireshark, but I all I are are encrypted packets and a rst at the end from the client.
Also the error pops up intantrneously, no timeout. It then hangs until I ctrl-c out of it. Ssh works fine btw. I can use it and get a shell.
I looked at the rsync.c file, but couldn't locate that error text anywhere. Is that an error from rsync or ssh? Is there a way to tell it not to use ssh to eliminate it as a problem?
I just downloaded a current cwrsync and was able to cd into its bin directory and 'rsync -av . root@centos_box:/tmp/test' without any problems. Maybe you have a problem with paths or another copy of the cygwin.dll somewhere.
I checked for any other versions of cygwin1.dll, and although there were a few, they weren't in the path. I finally got process monitor and process explorer and saw that for some reason it was using hlcap.dll. I guess HTTPLook caused yet another problem. Thanks to everyone that helped. Does anyone know of a program like httplook for windows that doesn't break everything?
I'm not quite sure what it does (its home page seems to redirect to something in Russian), but if you want generic network sniffer, try wireshark: http://www.wireshark.org/.
Les Mikesell wrote:
Ruslan Sivak wrote:
Les Mikesell wrote:
Russ wrote:
I'm not running any firewalls AFAIK. I disabled mcafee, but the error persists. I even tried a different os (win 2003, no firewall, no antivirus) and I'm still getting the same problem. Any way to troubleshoot? I tried wireshark, but I all I are are encrypted packets and a rst at the end from the client.
Also the error pops up intantrneously, no timeout. It then hangs until I ctrl-c out of it. Ssh works fine btw. I can use it and get a shell.
I looked at the rsync.c file, but couldn't locate that error text anywhere. Is that an error from rsync or ssh? Is there a way to tell it not to use ssh to eliminate it as a problem?
I just downloaded a current cwrsync and was able to cd into its bin directory and 'rsync -av . root@centos_box:/tmp/test' without any problems. Maybe you have a problem with paths or another copy of the cygwin.dll somewhere.
I checked for any other versions of cygwin1.dll, and although there were a few, they weren't in the path. I finally got process monitor and process explorer and saw that for some reason it was using hlcap.dll. I guess HTTPLook caused yet another problem. Thanks to everyone that helped. Does anyone know of a program like httplook for windows that doesn't break everything?
I'm not quite sure what it does (its home page seems to redirect to something in Russian), but if you want generic network sniffer, try wireshark: http://www.wireshark.org/.
I do have wireshark, but HTTPLook is better in that it captures only HTTP traffic, which is all I'm interested in. It organizes it in a nice timeline of requests and responses and I can see exactly what went on for each request.
RUss
Ruslan Sivak wrote:
I'm not running any firewalls AFAIK. I disabled mcafee, but the error persists. I even tried a different os (win 2003, no firewall, no antivirus) and I'm still getting the same problem. Any way to troubleshoot? I tried wireshark, but I all I are are encrypted packets and a rst at the end from the client.
Also the error pops up intantrneously, no timeout. It then hangs until I ctrl-c out of it. Ssh works fine btw. I can use it and get a shell.
I looked at the rsync.c file, but couldn't locate that error text anywhere. Is that an error from rsync or ssh? Is there a way to tell it not to use ssh to eliminate it as a problem?
I just downloaded a current cwrsync and was able to cd into its bin directory and 'rsync -av . root@centos_box:/tmp/test' without any problems. Maybe you have a problem with paths or another copy of the cygwin.dll somewhere.
I checked for any other versions of cygwin1.dll, and although there were a few, they weren't in the path. I finally got process monitor and process explorer and saw that for some reason it was using hlcap.dll. I guess HTTPLook caused yet another problem. Thanks to everyone that helped. Does anyone know of a program like httplook for windows that doesn't break everything?
I'm not quite sure what it does (its home page seems to redirect to something in Russian), but if you want generic network sniffer, try wireshark: http://www.wireshark.org/.
I do have wireshark, but HTTPLook is better in that it captures only HTTP traffic, which is all I'm interested in. It organizes it in a nice timeline of requests and responses and I can see exactly what went on for each request.
You can specify a 'port 80' filter on the capture with wireshark, then arrange/filter/view the data about any way you might want. If you don't care much about the network layer you can 'follow stream' which will show a color-coded content-only view.