Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-19-2008, 05:31 AM   #1
LQ Newbie
Registered: Mar 2008
Location: india
Distribution: RedHat 4 ES
Posts: 5

Rep: Reputation: 0
Angry NIS not bing\ding in VMware

Hi All,

I am using VMware workstation 6.0.2
Installed RHEL 4 as a virtual machine and cloned it so that I have 2 RHEL virtual machines running. I have assigned static IP address to both systems. this is for server and given host name as this is for client and given host name as

NIS Domain name

I have edited the requied files and NIS server is running in station1. When the machine starts ypbind binds to and ypcat passwd in station1 gives me the information.

However station2 is not able to bind to NIS server running in station1. In both systems I have made sure that the NISDomainname is

etc/hosts file in station2 localhost.localdomain localhost station1

etc/hosts file in station1 localhost.localdomain localhost station1

I am not very experienced in linux networking and hence I request you to guide me in this regard. I will provide you any further information needed.

Thanks in advance.
Old 03-19-2008, 06:18 AM   #2
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18

I would suggest following checks:

a. Are both virtual machine reacheable to/from eachother ? Try using ping.
b. Make sure you have made correct changes in /etc/yp.conf (hostname or ipaddress of ypserver machine), /etc/sysconfig/network (entered domainname entry)files.
c. portmap service is running on the client.
d. configured client using authconfing utility to set client to look for yp server for authentication.
e. If still not successfull then do these steps and post the output:
service ypserver restart (on stattion1)
service portmap restart (on station2)
service ypbind restart (on station2)

ping me on yahoo messenger to have an immediate look into ur issue.
Old 03-19-2008, 07:19 AM   #3
LQ Newbie
Registered: Mar 2008
Location: india
Distribution: RedHat 4 ES
Posts: 5

Original Poster
Rep: Reputation: 0
Hi, Thanks for replying.

1)Both virtual machines ping each other.

2)/etc/yp.conf entry in server(station1) system

domain server

/etc/yp.conf entry in client(station2) system

domain server

/etc/sysconfig/network entry in server system


/etc/sysconfig/network entry in client system


3)Portmap service running on client

4)On client used the command system-config-authentication

Checked the box enable NIS
NIS Domain =
NIS server =

5)Restarted ypserver on station1 - successful (service ypserv restart)

Restarted portmap on station2 - successful (service portmap restart)

Service ypbind restart on station2 - Failed

Output : Shutting Down NIS services - Failed

Binding to NIS Domain - OK

Listening for an NIS Domain Server .............. Failed

Thanks a lot for helpiing me


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware pam.d how do i enable nis? whysyn Linux - Security 17 06-17-2008 09:04 AM
RHEL 4 client in VMware not binding to NIS server. panini.kompella Linux - Newbie 0 03-17-2008 04:10 AM
RHEL 4 client in VMware not binding to NIS server. Ping works fine and NIS server wo panini.kompella Linux - Server 1 03-16-2008 11:06 PM
NIS and VMware abedd Linux - Server 3 01-15-2007 01:54 AM
Samba Ding Dong french_frogger Linux - Newbie 2 03-18-2004 09:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 AM.

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