Sponsored Content
Operating Systems AIX RCP slow down and blocks login, telnet, rsh, etc on target server Post 302927149 by rbatte1 on Monday 1st of December 2014 08:14:56 AM
Old 12-01-2014
This might be a long shot, but it could be a network conflict. Is the file you are moving quite large? It is possible that there is a mismatch somewhere from the Network Interface Card (NIC) on one server and the NIC on the other. The usual place if between a server and the first switch it connects to. I've experienced this where one server thought it was running the NIC and 10Mb/Half Duplex and the switch had it forced to 100Mb/Full duplex. Normal on-line access was fine until we did an FTP, then not only did the FTP take ages, but users got broken responses sometimes getting partial screen updates/output.

Have a look at the output from both lsattr and entstat to see if you can spot anything immediate. For me, the output is:-
Code:
$ lsattr -El ent0|grep media_speed
media_speed     100_Full_Duplex Media Speed                                   True

$ entstat -d ent0|grep "Media Speed"
Media Speed Selected: 100 Mbps Full Duplex
Media Speed Running: 100 Mbps Full Duplex

You can also look at the full output from entstat and check for send/receive errors:-
Code:
$ entstat ent0
:
:
:
Transmit Statistics:                          Receive Statistics:
--------------------                          -------------------
Packets: 635901961                            Packets: 688206198
Bytes: 561574692124                           Bytes: 593068022749
Interrupts: 2                                 Interrupts: 602162336
Transmit Errors: 0                            Receive Errors: 14799
Packets Dropped: 0                            Packets Dropped: 0
                                              Bad Packets: 14799
:
:
:

There are some errors, but relative to the number of packets, it's insignificant. Check with the network team about the switch port settings and confirm that they all think that they're doing the same. We force our speeds to match as we have had some problems with auto-negotiate. Other people swear by auto-negotiate, so work out what is best for you.



I hope that this helps,
Robin
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Telnet/Rsh

I am having a strange problem... I am trying to telnet into my Solaris m/c But it gives "Connection Closed " Same with rlogin and rsh But I can Login into ftp or do a finger to that m/c. I have no hosts.allow or hosts.deny entries . And also have one hostname in my local m/c . Can anybody... (7 Replies)
Discussion started by: DPAI
7 Replies

2. UNIX for Advanced & Expert Users

rcp & rsh

Hi everybody, I have a problem with rcp & rsh command from Winnt 4 to an AIX machine. I would like to use rsh from Winnt on Unix but it works only with some machines of the domain. With the others, an error message appears and say : "myadress.com: rshd: 0826-826 The host name for your address... (2 Replies)
Discussion started by: dfrangidis
2 Replies

3. Shell Programming and Scripting

rcp error trapping in rsh

I am writing a program which is something like below: rsh host1 "rcp file dest:directory" I am running this script from a machine host2. host1 has rlogin configuration for host2. but, dest machine has no rlogin configuration for host1 and fails on remote calls. Could anyone tell me how... (2 Replies)
Discussion started by: vvejendla
2 Replies

4. Solaris

rsh connection is very slow.....what to look for...???

Hi All, My rsh connecion is very slow, what should I look for...??? Note : I get the rsh connection, but it takes time. Thanks & Regards, jumadhiya. (3 Replies)
Discussion started by: jumadhiya
3 Replies

5. UNIX for Advanced & Expert Users

Cannot login via telnet or ssh to AIX 5.2 server

I somehow modified the system so that no one can telnet or ssh into this box as any user including root. I might have blown away important files, I don't know. Please let me know what I have to check to make it so that I can login. This is what I get when I try to telnet or ssh: telnet bk02... (5 Replies)
Discussion started by: pdtak
5 Replies

6. UNIX for Advanced & Expert Users

how to check rsh/rcp between 2 servers

Hi, I need to check if rsh and rcp are enabled between to servers. What is the command to check both ? Servers : SunOS 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V445 SA says that it is configured , so what setting I need to do ? These must be enable for ORACLE id on... (1 Reply)
Discussion started by: reply2soumya
1 Replies

7. Shell Programming and Scripting

ftp, rlogin , rcp, rsh are not wroking

Hi Friends I am facing one problem, I am not able to use ftp, rlogin , rcp, rsh in a particular server. when I am trying to ftp certain file from that server it is giving Connection closed by remote host. Now from other unix box I am not able to rlogin that particular server. as .rhosts... (3 Replies)
Discussion started by: itsjoy2u
3 Replies

8. Red Hat

How to enable and test the rsh and rcp in RHEL 5.3?

Hello, Can you help me on how to activate the rsh and rcp services. And also how do i test it after i have enable it Thanks. (7 Replies)
Discussion started by: shtobias
7 Replies

9. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies
RCP(1)							    BSD General Commands Manual 						    RCP(1)

NAME
rcp -- copy file to and from remote machines SYNOPSIS
rcp [-45FKpxz] [-P port] file1 file2 rcp [-45FKprxz] [-P port] file... directory DESCRIPTION
rcp copies files between machines. Each file argument is either a remote file name of the form ``rname@rhost:path'' or a local file (contain- ing no colon or with a slash before the first colon). Supported options: -4, -5, -K, -F, -x, -z These options are passed on to rsh(1). -P port This will pass the option -p port to rsh(1). -p Preserve file permissions. -r Copy source directories recursively. DIAGNOSTICS
rcp is implemented as a protocol on top of rsh(1), and thus requires a working rsh. If you intend to use Kerberos authentication, rsh needs to be Kerberos aware, else you may see more or less strange errors, such as "login incorrect", or "lost connection". HISTORY
The rcp utility first appeared in 4.2BSD. This version is derived from 4.3BSD-Reno. HEIMDAL
April 16, 2003 HEIMDAL
All times are GMT -4. The time now is 01:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy