1748184 Members
4023 Online
108759 Solutions
New Discussion юеВ

Re: rsync error

 
bharath_hanuma
Regular Advisor

rsync error

Hi Champs,

I am new to HP-UX administration, I am facing rsync error from yesterday which is as below,

rcmd: connect: : Connection timed out
rcmd: connect: : Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(420)
rcmd: connect: : Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(420)
rcmd: connect: : Connection timed out

Kindly need your help in resolving the same.

Thanks and Regards
Bharath
15 REPLIES 15
Michal Kapalka (mikap)
Honored Contributor

Re: rsync error

hi,

you could send more information, about the connection....

did you made some changes on the servers or lan ???

rcmd: connect: : Connection timed out

mikap

bharath_hanuma
Regular Advisor

Re: rsync error

Hi Michal,

We haven't done any changes on servers or lan. rsync was working fine till yesterday afternoon. But after that as of a sudden it is giving error. Kindly let me know if your require more information regarding the same.

Thanks and Regards
Bharath
Michal Kapalka (mikap)
Honored Contributor

Re: rsync error

hi,

o how you are using the rsync ???
over ssh ??? if yes, are using password less configuration ??

mikap
bharath_hanuma
Regular Advisor

Re: rsync error

Hi Mikap,

This is how the rsync is being called in the shell script.

/usr/local/bin/rsync -acrp -e "remsh" :/

I think it is remsh, hope I am correct as I don't know much about ssh is being used or not.

Thanks and Regards
Bharath
Michal Kapalka (mikap)
Honored Contributor

Re: rsync error

hi,

/usr/local/bin/rsync -acrp -e "remsh" :/

hi you are using remsh, check rhost configuration file.

mikap
bharath_hanuma
Regular Advisor

Re: rsync error

Hi Mikap,

Under .rhosts configuration I have entries of other servers from where we are copying the files. But still we are having problems. Let me know for more information.

Regards
Bharath
Michal Kapalka (mikap)
Honored Contributor

Re: rsync error

hi,

check inetd.conf if somebody, made some change and disabled r*services.

check this link :

http://docs.hp.com/en/B2355-90827/ch05s02.html

mikap
bharath_hanuma
Regular Advisor

Re: rsync error

Hi Mikap,

Kindly find the attached inetd.conf where remsh is existing in the file. I hope this is the correct entry. Please let me know whether this is correct or not.

Thanks and Regards
Bharath
Michal Kapalka (mikap)
Honored Contributor

Re: rsync error

hi,

yes the entries should be correct.

did you try to use rlogin to check if you are able to connect ??

or executing other command
remsh date for example.

mikap