Operating System - HP-UX
1833767 Members
2398 Online
110063 Solutions
New Discussion

Re: rcmd:connect : server.xxx.com:connection timed out

 
BKUMAR
Frequent Advisor

rcmd:connect : server.xxx.com:connection timed out

Hi

I am getting the above error in a batch scheduled job and executes fine after few minutes when re-executed

it is a rcp copy from n-class to n-class with ver 11 on it.....it happened for second time ...any way to debug and fix it....

expert solutions ....Thx in advance
Unix Administration Most Dedicated and Challenging Career in the World
5 REPLIES 5
Devbinder Singh Marway
Valued Contributor

Re: rcmd:connect : server.xxx.com:connection timed out

Have you tried it manually and does it work , without the error ?
what is the network response like between the two servers?
Are you using DNS to lookup the server name or the hosts file ?

check messages file for any errors during the time you do rcp copy ?

Do you run anything else at that time which uses your network i.e other copies etc..

also check the utilisation of the network card to see how much throughput there is on the interface ?

check the speed settings of your network cards
. Are they connected to a hub or a switch ?
if a switch check the port speed settings on that as well , should be the same as the card on both servers ?

Seek and you shall find
Anil C. Sedha
Trusted Contributor

Re: rcmd:connect : server.xxx.com:connection timed out

Hi,

Looks like your system is losing connectivity intermittenly.

You may run a ping to the other system and verify the connect interval. It should be small enough and without disruption.

You may do this for a 5 mins interval and check the results to see if the network connectivity is breaking. Take the output to a file and verify this.

Also, is your batch job using a large volume of data to flow through through on the network. In that case your network limit may be reached and the response time may be the culprit then.

Regards,
Anil
If you need to learn, now is the best opportunity
Ariel Bourda
Occasional Advisor

Re: rcmd:connect : server.xxx.com:connection timed out

Your problem is derived by conflict in the DNS service to resolve names. Test your command with this service down and resolve the name via /etc/hosts
Regards.
BKUMAR
Frequent Advisor

Re: rcmd:connect : server.xxx.com:connection timed out

Thanks for the response to All !

-->checked the nic cards all are 100 mbps full duplex on both servers and switch

-->observed ping server1 1024 -n 2
for every 5 mins it is normal (from both ends)

-->locally there is no entry of other server in /etc/hosts (planning to add an entry to resolve locally also)

-->DNS resolution is fine centralized.....
from both servers....

will update further
Unix Administration Most Dedicated and Challenging Career in the World
BKUMAR
Frequent Advisor

Re: rcmd:connect : server.xxx.com:connection timed out

some things i left

--> the data size is very small of < 10 files for 600 kb....

devbinder singh --> is there any message file for rcp....pls mention ....no messages recorded in /var/adm/syslog/syslog.log file during that time and i also want the command to check the throuhput of nic card....

i tried
netfmt -v -f /var/adm/nettl.LOG00

--> the cards connected a hub

Thanks
Unix Administration Most Dedicated and Challenging Career in the World