LinuxQuestions.org
Visit Jeremy's Blog.
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, 06: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, 07: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, 08: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


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 10:04 AM
RHEL 4 client in VMware not binding to NIS server. panini.kompella Linux - Newbie 0 03-17-2008 05: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-17-2008 12:06 AM
NIS and VMware abedd Linux - Server 3 01-15-2007 02:54 AM
Samba Ding Dong french_frogger Linux - Newbie 2 03-18-2004 10:59 PM


All times are GMT -5. The time now is 10:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration