LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-05-2007, 06:05 PM   #1
vincegreen
LQ Newbie
 
Registered: Jul 2007
Distribution: Fedora 7, Ubuntu 7.0.7, RHEL 4
Posts: 1

Rep: Reputation: 0
ssh login...do_ypcall: clnt_call: RPC: Timed out


Getting the above message logging into compute node. It eventually lets me in, just pretty slow on some compute nodes. Here is a summary of my setup:

1 head node, 20 computes (all running rhel 4 u4)

head node is access point, which runs nat for outside traffic

All computers (head and computes) are NIS clients to ypserver on public network.

yp.conf has entry for domain and ypserver, can ping both

There are entries in auto.master for ypserver to load autofs local ypserver drive.

I believe this is a NIS or SSH problem. I can ssh into the computes but ypbind is going 'loco' on me intermittantly. NO entries in /var/log/messages show any errors.

Thanks for your help in advance.

Vince
 
Old 07-07-2007, 01:33 PM   #2
whistl
Member
 
Registered: May 2005
Location: USA
Distribution: Ubuntu, CentOS
Posts: 37

Rep: Reputation: 15
slow login usually means dns reverse lookup issue

when an attempt to ssh or telnet into server "pauses" for 30 seconds, then lets you in, that usually indicates the server is misconfigured trying to do reverse IP address lookups. The server wants to log the hostname that the ssh/telnet session is coming from. The standard DNS server timeout is 30 seconds, so if when hosts have a DNS issue, this is how the problem is often reported.

Some things you might try:

1) Check the "hosts" line in /etc/nsswitch.conf, see if it refers to DNS. If you are using NIS, then you probably don't want that in there. If you ARE using DNS, check your /etc/resolv.conf file, and run the "host IP.AD.DR.ESS" command to verify your compute node is able to do DNS lookups successfully.

2) login into one of your compute nodes and run the "who" command. If it lists your hostname properly, it's working okay, but if it lists your IP address instead, this means it cannot resolve your IP to a hostname.

3) make sure your NIS client and server aren't blocking ypbind access in the "/etc/hosts.allow" file. If you use hosts.allow to control access to network services, you probably need to allow the client access to the "ypbind" service and visa versa. It's an often overlooked security feature.

4) you can try running tcpdump or wireshark on the head node or compute node to sniff on the network while attempting to login from another window, to see what is happening on the wire. It's not too hard to figure out if it's doing YP lookups or something else during the pause.

5) it's been many years since I worked on a NIS network, but I believe there is a command "ypcat" which you should be able to use on the compute node to verify that it can access the hosts database on your NIS server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: RPC: timed out leupi Linux - Networking 2 10-24-2006 10:35 AM
Error message "do_ypcall: clnt_call: RPC: Timed out" mks_jangra Linux - Networking 4 10-24-2006 06:29 AM
mountd time out: "mount_nfs: bad MNT RPC: RPC: Timed out" on client brush Debian 1 10-15-2006 02:01 PM
RPC: Timed Out adelaideyip Linux - Networking 0 08-24-2004 04:07 PM
mount: RPC: Timed out tommyclee Linux - Networking 11 11-21-2003 12:34 AM


All times are GMT -5. The time now is 12:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration