The RsyncServer service on Local Computer started and then stopped.

“The RsyncServer service on Local Computer started and then stopped.  Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.

If you are getting this error, you are not alone.  When I checked the event viewer i see something like this:

Description:
The description for Event ID ( 0 ) in Source ( RsyncServer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: RsyncServer: PID 4536: `RsyncServer’ service stopped, exit status: 10.

What the heck is this? How am i supposed to fix this issue with the above error message?  the only thing relevant from this error message could be “exit status : 10” but when I googled it, i could not find anything. After some more research some guy mentioned that to check the application’s log file (C:\Program Files\ICW\rsynd.log), which i did and i found this:

2011/05/21 14:29:34 [6012] rsyncd version 3.0.8 starting, listening on port 873
2011/05/21 14:29:34 [6012] bind() failed: Address already in use (address-family 2)
2011/05/21 14:29:34 [6012] unable to bind any inbound sockets on port 873
2011/05/21 14:29:34 [6012] rsync error: error in socket IO (code 10) at socket.c(544) [Receiver=3.0.8]

Now we talking. All that time , I had a program that it already using port 873 so I downloaded currports (http://www.nirsoft.net/utils/cports.html) and find that  line :
rsync.exe 1480 TCP 873 0.0.0.0 0.0.0.0 Listening C:\Program Files\Delta Copy\rsync.exe

Just per curiosity i tried to check the content of the folder C:\Program Files\Delta Copy\ then i found this:

The stupid directory is empty (B??? Sh??).  How the heck is the service is still running?

I eventually killed the process using currports (right click) mentioned above and i was able to start the rsyncserver successfully.

The moral of the story is

If you are getting this error when trying to start the rsyncserver, there is already a service using port 873.

You can change the port that rsyncserver is listening to using the following instructions :
http://www.itefix.no/i2/node/11315
or   you can identify the program that is using the port and take the appropriate action.

 

rsync: Failed to exec ssh: No such file or directory(2) on windows

After installing cwrsync, you are likely to get this error  when you try to run this sample command from the command line.

rsync  -avz  -e  ssh ycsoftware@google.com:/home/ycsoftware /cygdrive/z/ycsoftware/

“rsync: Failed to exec ssh: No such file or directory(2)” cwrsync

The reason you are getting this is because for some reason rsync is not able to find the path to the ssh.exe file. You should change it to something like this:

rsync  -avz  -e  "\"/cygdrive/c/program files/cwrsync/bin/ssh.exe\""  ycsoftware@google.com:/home/ycsoftware /cygdrive/z/ycsoftware/

 

Installing Rsync on Windows

Follow these simple instructions to install Rsync on Windows.

1. Download the cwrsync client  here:http://www.itefix.no/i2/node/10650

2. Install the cwrsync client

3. Add cwrsync to your windows environment variables. Create a user variable called PATH (if you do not have it already), and a the path to your cwrsync.exe file.

4.  The pull up your cmd then you should be able to run rsync from anywhere


Move Documents to Folder Sharepoint 2010

Moving files (Documents) to folders in sharepoint 2010 is not a drag and drop thing. Actually it is a process. I still can’t figure out why it has to be so complicated for simple, not mentionning this stupid ribbon. How do you support such software?  When things are all over the place.

Click on the library tab

Then click on open with explorer (good luck if you are using a MAC )

What i figured out after all is that if you use Sharepoint you are locked up to using only Microsoft technology. Editing a list requires Microsoft Excel to be installed.  Moving Files to folders requires explorer and so forth. Google Docs kinda make sense.