Rsync issue

Hi Everyone,
I am getting error while running Rsync from my machine. I have run this successfully few days before but today I am getting this some error.

/opt/csw/bin/rsync -avH /uv1016/u105/home/srd/ --rsync-path=/opt/csw/bin/rsync srd@usa7061uz943.na.xerox.net:/uv1016/u105/home/srd/ >file_transfer.txt

this is the code I used for running rsync and following is the error message:

Your password will expire within 24 hours.
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(174) [sender=3.0.9]

Hi,

Is your password still valid on the destination machine? Has rsync been changed or updated on any of the machines?

Regards

Dave

yes my password is still the same. and nothing has been changed since i ran it successfully last time.

Hi,

Can you run

ssh usa7061uz943.na.xerox.net /bin/true > check_file.txt

Check the contents of the file and let us see the output.

Regards

Dave

i am able to connect through ssh srd@usa7061uz943.na.xerox.net...since the issue is on Production server so i have restriction using other commands.

Hi,

That is fine, run the command as follows;

ssh srd@usa7061uz943.na.xerox.net /bin/true > check_file.txt

Then have a look at the file and post it's contents if there are any.

Regards

Dave

this is the message inside of text file

The Oracle base remains unchanged with value /apps/oracle

Hi,

This is what is causing rsync to throw the error, you have probably added something to your startup files on the remote server - you will have to regress the changes that you have made.

Perhaps you have a test in your profile or an rc file that is generating the message - this will corrupt the rsync data flows causing the failure. As a test the file that you generate should be zero length.

Regards

Dave