LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-19-2008, 05:31 AM   #1
panini.kompella
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.

192.0.0.1 this is for server and given host name as station1.hp.com
192.0.0.5 this is for client and given host name as station2.hp.com

NIS Domain name hp.com

I have edited the requied files and NIS server is running in station1. When the machine starts ypbind binds to hp.com 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 hp.com

etc/hosts file in station2


127.0.0.1 localhost.localdomain localhost
192.0.0.1 station1.hp.com station1


etc/hosts file in station1
127.0.0.1 localhost.localdomain localhost
192.0.0.1 station1.hp.com 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
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18
Hi!

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)

Regards,
PK
smartrealtalks@yahoo.com
ping me on yahoo messenger to have an immediate look into ur issue.
 
Old 03-19-2008, 07:19 AM   #3
panini.kompella
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 hp.com server 192.0.0.1

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

domain hp.com server 192.0.0.1

/etc/sysconfig/network entry in server system

NETWORKING=yes
HOSTNAME=localhost.localdomain
NISDOMAIN=hp.com

/etc/sysconfig/network entry in client system

NETWORKING=yes
HOSTNAME=localhost.localdomain
NISDOMAIN=hp.com

3)Portmap service running on client

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

Checked the box enable NIS
NIS Domain = hp.com
NIS server =192.0.0.1

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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration