rsh taking 7 min to respond???? please help

Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default rsh taking 7 min to respond???? please help

    Hi all,

    I have an RS6000 running AIX v 5.1.... I have installed gnu cvs
    1.11.7 and I would like to use the RS6000 as my cvs repository. The
    repository will serve 4 other unix machines, mainly linux
    workstations running red hat 7.3

    My problem is the following: to verify rsh connectivity between my
    linux machines and the aix, according to the cvs manual, I should try

    rsh -l username my.machine.com 'echo $PATH'

    The problem is that any rsh command to my aix takes an awfully long
    time... regardless of where the machines are.... they are in the same
    local network and ping response is ok.... see below

    I timed the rsh command as below:

    [dp@Mars dp]$ time rsh -l dp 10.2.3.61 'echo $PATH'
    /usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java130/jre/bin:/usr/java130/bin

    real 7m30.154s
    user 0m0.000s
    sys 0m0.010s

    SEVEN MINUTES!!!!!!

    These are the results of the ping command

    [dp@Mars dp]$ ping 10.2.3.61
    PING 10.2.3.61 (10.2.3.61) from 10.2.3.68 : 56(84) bytes of data.
    Warning: time of day goes back, taking countermeasures.
    64 bytes from 10.2.3.61: icmp_seq=0 ttl=255 time=508 usec
    64 bytes from 10.2.3.61: icmp_seq=1 ttl=255 time=257 usec
    64 bytes from 10.2.3.61: icmp_seq=2 ttl=255 time=271 usec

    --- 10.2.3.61 ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max/mdev = 0.257/0.345/0.508/0.116 ms

    any ideas... please help

    dp
    Davor Pavisic Guest

  2. Similar Questions and Discussions

    1. FCS does not respond to new connections
      We are having issues with FCS 1.5 Release 2 running on server 2003 P4 2.6 GHZ 512 MB Ram. We have created a simple webconference page with 4...
    2. AI 10 for Mac slow to respond?
      Why does Illustrator 10.0.3 just sit there and think for long seconds when I come back to it after checking my email? Got a truckload of memory, btw,...
    3. Auto Respond
      I have a subscribe/unsubscribe script that I am using on my site. It includes an autorespond to the person making the request. However, I would...
    4. Respond soon
      Dear Partner, Following the sudden death of my husband General Sani Abacha the late former head of state of Nigeria in June 1998, I have been...
    5. Difference in module_eval taking block vs. taking string (1.8 bug?)
      The following code: class Klass end p Klass.instance_methods(false) Klass.module_eval do def hello puts 'hello' end end
  3. #2

    Default Re: rsh taking 7 min to respond???? please help

    Davor Pavisic wrote:
    >
    > I timed the rsh command as below:
    >
    > [dp@Mars dp]$ time rsh -l dp 10.2.3.61 'echo $PATH'
    > /usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java130/jre/bin:/usr/java130/bin
    >
    > real 7m30.154s
    > user 0m0.000s
    > sys 0m0.010s
    >
    > SEVEN MINUTES!!!!!!
    Nearly all delay issues with RSH are DNS related. It does a reverse
    lookup from the source IP address then checks ~/.rhosts and /etc/hosts.equiv
    If your DNS is poorly configured like worng IP numbers in /etc/resolv.conf
    it will take 30 seconds each. Also 30 second delays can happen at the DNS
    server level doing timeouts across firewalls.
    > These are the results of the ping command
    >
    > [dp@Mars dp]$ ping 10.2.3.61
    > PING 10.2.3.61 (10.2.3.61) from 10.2.3.68 : 56(84) bytes of data.
    > Warning: time of day goes back, taking countermeasures.
    > 64 bytes from 10.2.3.61: icmp_seq=0 ttl=255 time=508 usec
    Bad time of day is not promising. Looks like you need to go over your
    target machine carefully.
    Doug Freyburger Guest

  4. #3

    Default Re: rsh taking 7 min to respond???? please help

    Thanx for the advice..... you were right.... we made some changes in
    our network and I forgot to reconfigure my DNS on that machine (opss).
    I am still having problems but my response time is down to 15
    secs.!!!

    thanx

    [email]dfreybur@yahoo.com[/email] (Doug Freyburger) wrote in message
    > Nearly all delay issues with RSH are DNS related. It does a reverse
    > lookup from the source IP address then checks ~/.rhosts and /etc/hosts.equiv
    > If your DNS is poorly configured like worng IP numbers in /etc/resolv.conf
    > it will take 30 seconds each. Also 30 second delays can happen at the DNS
    > server level doing timeouts across firewalls.
    >
    > Bad time of day is not promising. Looks like you need to go over your
    > target machine carefully.
    Davor Pavisic Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139