Solved

ypbind fails on only one client

Posted on 2010-11-17
7
772 Views
Last Modified: 2013-12-15
I have a small cluster of 6 nodes all running FC11, on network 192.168.1/24.  Node1 is DHCP, DNS and NIS server for rest.  Nodes 3-6 work correctly as cients for these 3 services.  Node 2 works as DHCP, DNS client to node1, but won't bind - "service ypbind start" times out.  Running wireshark or ypserv -d on node1 shows no NIS related packets being sent from node2 to NIS server.   SSH works fine between all nodes.   Nodes 2-6 have same /etc/yp.conf, from DHCP:

#generated by /sbin/dhclient-script
domain mynisdomain server 192.168.1.41

Selinux is disabled, iptables stoped on all nodes.



0
Comment
Question by:neilmalloy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 7

Expert Comment

by:jackiechen858
ID: 34160668
run "nisdomainname", what's the result? If it's not mynisdomain, then run "nisdomainname mynisdomain "; then restart ypbind.


check /etc/sysconfig/network, make sure it has line "NISDOMAIN=mynisdomain"
0
 

Author Comment

by:neilmalloy
ID: 34161122
Thanks, but all nodes have nisdomainname set correctly.  They get it from DHCP server when booting, from same host that is running the NIS server.
0
 
LVL 7

Expert Comment

by:jackiechen858
ID: 34161411
can you run tcpdump or netstat on node2 to check what's the network activity when trying to start ypbind?

0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

Author Comment

by:neilmalloy
ID: 34163891
Good suggestion, I did, but result is consistent with results of running tcpdump at server: no packets are being sent.  

The /etc/init.d/ypbind script starts ypbind daemon, tests that it is running using rpcinfo, then tries ypwhich in loop, eventually timing out.  Running ypbind then ypwich from command line shows that after ypbind has supposedly started, ypwhich returns:
"can't yp_bind: Reason: Domain not bound"
But no packets get sent to NIS server at any point.
0
 
LVL 7

Accepted Solution

by:
jackiechen858 earned 500 total points
ID: 34168519
I couldn't think of any other reason why it won't work then. Maybe the ypbind package on this machine is corrupted, maybe you can reinstall ypbind.
0
 

Author Comment

by:neilmalloy
ID: 34173210
I had already tried yum remove ypbind, yum install ypbind, with same result.  Other nodes got their ypbind rpm from same local repo and work fine.  

I downloaded source package for same ypbind version, built and installed it.  It works correctly, connects to server normally. I was hoping it would reproduce the problem so I could track it down.  O well.  Thanks for your suggestions.  
0
 

Author Closing Comment

by:neilmalloy
ID: 34173254
Good debugging suggestions, led to a work-around, but did not help to find the cause of problem.
0

Featured Post

Cloud Training Guides

FREE GUIDES: In-depth and hand-crafted Linux, AWS, OpenStack, DevOps, Azure, and Cloud training guides created by Linux Academy instructors and the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question