LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
Search this Thread
Old 04-11-2008, 01:10 AM   #1
soumalya
Member
 
Registered: Nov 2006
Posts: 254

Rep: Reputation: 31
rhel nis client


Sir

i have configured fresh solaris (machine name suns) as nis server

# useradd -d /export/home/soumalya -m -s /usr/bin/ksh soumalya
# cp /etc/nsswitch.nis /etc/nsswitch.conf
# domainname suns.com
# domainname > /etc/defaultdomain
# cd /etc
# touch ethers bootparams locale timezone netgroup netmasks
# ypinit -m
next host to add: suns
next host to add:
<ctrl-d>
The current list of yp servers looks like this: suns
Is this correct? [y/n: y] y -- Output skipped -- Do you want this procedure to quit on non-fatal errors? [y/n: n] n
# svcs nis/server
# cd /var/yp # /usr/ccs/bin/make


linux (machine name red)nis client

# nisdomainname suns
# ypserv 192.168.101.100
# vi /etc/yp.conf
domain test server 192.168.101.100

# authconfig
select NIS
next
NIS Domain:suns
NIS Server:192.168.101.100


after this Listening NIS Domain failed.

can u pls tell me why??????????


help me pls
 
Old 04-11-2008, 05:11 PM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 305

Rep: Reputation: 42
NIS client is ypbind, not ypserv.

Are you wanting to become a slave of the NIS domain or just a client?
 
Old 04-11-2008, 11:24 PM   #3
soumalya
Member
 
Registered: Nov 2006
Posts: 254

Original Poster
Rep: Reputation: 31
thanks for ur reply

i want to configure rhel as nis client

hlep me plssssssssssssssssssss
 
Old 04-11-2008, 11:54 PM   #4
soumalya
Member
 
Registered: Nov 2006
Posts: 254

Original Poster
Rep: Reputation: 31
when i use


[root@red /]# service ypbind restart
Shutting down NIS services: [FAILED]
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.................... [FAILED]
[root@red /]# authconfig
Stopping portmap: [ OK ]
Starting portmap: [ OK ]
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.................... [FAILED]


help me pls
 
Old 08-05-2008, 12:58 PM   #5
engineerscience
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
try the ypcat and ypwhich command. These commands will tell you whether your client can communicate with the 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
installing nis+ client on RHEL 4 koranid79 Linux - Enterprise 1 02-01-2008 05:15 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Solaris / OpenSolaris 1 03-31-2004 06:10 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM


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