[Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Unable to establish connection. rsync: failed to connecto locahost: Connection Refused (111)  XML
Forum Index » Installation
Author Message
brahm



Joined: 09/30/2008 20:50:20
Messages: 6
Offline

Hello All
I followed this, http://www.aboutmyip.com/AboutMyXApp/DisplayFAQ.do?fid=21, but I'm stuck at " If you get a connection error, it means that the rsync daemon is not listening. Find out why it is not running. ".. and well that is where I'm at. I disabled my firewalls, I also tried just opening up 873, I can't get it to telnet to 873, or the client to connect to localhost not matter what I try. I have the Delta Copy Server running as a service, and the app is open w/a green light. It's running as Administrator and launches with no apparent errors.

C:\Users\Administrator>telnet localhost 873
Connecting To localhost...Could not open connection to the host, on port 873: Connect failed

I'm running a clean install of windows server 2008 (32bit)

Thank you for your help
-Brahm
petarian



Joined: 05/23/2008 11:05:43
Messages: 18
Offline

Check the following.

1. See if rsync.exe is running through the Task Manager. DeltaCopy server spawns this process in the back-ground
2. If it is running and still you cannot connect using the telnet command, it could mean that the OS is not letting the server listen on a priviledged port (873). Ensure you are running the server under "Administrators" account.

3. Suggestion: By pass DeltaCopy server and try starting rsync daemon on its own. This is by by using the following command.

rsync.exe -v --daemon --config=deltacd.conf --no-detach

See if this runs on its own.

brahm



Joined: 09/30/2008 20:50:20
Messages: 6
Offline

Thank you for your reply. It appears as Rsync is not running via delta copy. The only time it works is when I manual run Rsyc via your 3rd suggestion. How can I fix that to make sure it will work as a service, and be running at all times.
Thank You
-Brahm


petarian wrote:Check the following.

1. See if rsync.exe is running through the Task Manager. DeltaCopy server spawns this process in the back-ground
2. If it is running and still you cannot connect using the telnet command, it could mean that the OS is not letting the server listen on a priviledged port (873). Ensure you are running the server under "Administrators" account.

3. Suggestion: By pass DeltaCopy server and try starting rsync daemon on its own. This is by by using the following command.

rsync.exe -v --daemon --config=deltacd.conf --no-detach

See if this runs on its own.

brahm



Joined: 09/30/2008 20:50:20
Messages: 6
Offline

brahm wrote:Thank you for your reply. It appears as Rsync is not running via delta copy. The only time it works is when I manual run Rsyc via your 3rd suggestion. How can I fix that to make sure it will work as a service, and be running at all times.
Thank You
-Brahm


petarian wrote:Check the following.

1. See if rsync.exe is running through the Task Manager. DeltaCopy server spawns this process in the back-ground
2. If it is running and still you cannot connect using the telnet command, it could mean that the OS is not letting the server listen on a priviledged port (873). Ensure you are running the server under "Administrators" account.

3. Suggestion: By pass DeltaCopy server and try starting rsync daemon on its own. This is by by using the following command.

rsync.exe -v --daemon --config=deltacd.conf --no-detach

See if this runs on its own.



Sorry I apologize. When I run the Delta Copy service (and server) Rsync does show up as a process but is in inaccessible. Only when I run Rsyn from commond line via your 3rd option am I able to connect to it.
petarian



Joined: 05/23/2008 11:05:43
Messages: 18
Offline

Do you see any errors in DeltaService.log? This file is located in the same folder where DeltaCopy is installed.

Which login are you running the DeltaCopy service under?

brahm



Joined: 09/30/2008 20:50:20
Messages: 6
Offline

petarian wrote:Do you see any errors in DeltaService.log? This file is located in the same folder where DeltaCopy is installed.

Which login are you running the DeltaCopy service under?



Here is the Log

9/30/2008 11:47:02 AM - --------------------------------------------------------
9/30/2008 11:47:02 AM - DeltaCopy Service Starting up...
9/30/2008 5:39:20 PM - No results were generated
9/30/2008 5:39:20 PM - DeltaCopy Service Terminating
9/30/2008 5:39:20 PM - rsync thread successfully terminated...
9/30/2008 5:39:42 PM - --------------------------------------------------------
9/30/2008 5:39:42 PM - DeltaCopy Service Starting up...
9/30/2008 5:39:50 PM - No results were generated
9/30/2008 5:39:50 PM - DeltaCopy Service Terminating
9/30/2008 5:39:50 PM - rsync thread successfully terminated...
9/30/2008 5:39:51 PM - --------------------------------------------------------
9/30/2008 5:39:51 PM - DeltaCopy Service Starting up...
10/1/2008 10:08:39 AM - No results were generated
10/1/2008 10:08:39 AM - DeltaCopy Service Terminating
- rsync thread successfully terminated...
10/1/2008 10:08:42 AM - --------------------------------------------------------
10/1/2008 10:08:42 AM - DeltaCopy Service Starting up...
10/1/2008 10:09:11 AM - No results were generated
10/1/2008 10:09:11 AM - DeltaCopy Service Terminating
10/1/2008 10:09:11 AM - rsync thread successfully terminated...
10/1/2008 10:09:13 AM - --------------------------------------------------------
10/1/2008 10:09:13 AM - DeltaCopy Service Starting up...
10/1/2008 10:09:17 AM - No results were generated
10/1/2008 10:09:17 AM - DeltaCopy Service Terminating
10/1/2008 10:09:17 AM - rsync thread successfully terminated...
10/1/2008 10:09:24 AM - --------------------------------------------------------
10/1/2008 10:09:24 AM - DeltaCopy Service Starting up...
10/1/2008 10:11:43 AM - No results were generated
10/1/2008 10:11:43 AM - DeltaCopy Service Terminating
10/1/2008 10:11:43 AM - rsync thread successfully terminated...
10/1/2008 10:12:33 AM - --------------------------------------------------------
10/1/2008 10:12:33 AM - DeltaCopy Service Starting up...
10/1/2008 10:16:42 AM - No results were generated
10/1/2008 10:16:42 AM - DeltaCopy Service Terminating
- rsync thread successfully terminated...
10/1/2008 10:17:26 AM - --------------------------------------------------------
10/1/2008 10:17:26 AM - DeltaCopy Service Starting up...
10/1/2008 10:17:37 AM - No results were generated
10/1/2008 10:17:37 AM - DeltaCopy Service Terminating
10/1/2008 10:17:37 - rsync thread successfully terminated...
10/1/2008 10:22:09 AM - --------------------------------------------------------
10/1/2008 10:22:09 AM - DeltaCopy Service Starting up...


I've tried running the service both as Local Admin, and Domain Admin. I am logging into the box as Local Admin.

Thanks again
-Brahm
brahm



Joined: 09/30/2008 20:50:20
Messages: 6
Offline

Ok... I figured out the problem. While the service will accept the local admin by just typing in the service "Administrator" and the local admin pass.. If you don't specify the Domain, or ./ it for some reason wasn't working. I switched back to "./administrator" w/the local admin pass and I can now connect..
mallaravi



Joined: 04/29/2010 09:06:07
Messages: 2
Offline

Hiii...
We are also facing the same issue in windows 2008 server

When rSync starts with Administrator it is working fine, we are able to start in the desired port and connet...
Where as when the rSync starts as Local system account, then we are not able to connect to rSync, and the CPU utilization is going to 90%+.... and unable to connect... (using telnet also.. on desired port or 873)...

If any body has soultion please provide me.. we need to close this issue.. ASAP...

Help Highly appreciated...

Thanks,
Ravi
mallaravi



Joined: 04/29/2010 09:06:07
Messages: 2
Offline

Hi All,
We got the solution .. we need to use latest rsync 3.0.7 (as of now this is the latest) to solve this problem. get it from here "http://sourceforge.net/projects/sereds/files/cwRsync" and install it in some machine and get the required dll's and rsync exe and use.

Thanks,
Ravi Kumar Malla
 
Forum Index » Installation
Go to:   

This website is owned and maintained by Synametics Technologies Inc. For questions contact support@synametrics.com

Support | Privacy Policy | Company Info