08-26-2010
Actually I wanted to learn NIS...
So first I am planning it on my vmware workstation....
So I just configured one instance as master and other as slave.
But I am getting an error while setting the client as NIS slave:
# ypwhich
:domainname not set on this machine.:
Then I put some name on both client and server.
Then it says:
can't communicate with ypbind...
The nis/client and nis/server are in maintenance mode...How to make it online....
Also as dhcp won't give any hostname, so when I try
#ypinit -s "master server ip address" ( as no hostname is there )
just hangs ....say trying to connect to ip address from domain...in /var/adm/messages
Please suggest...
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was wondering if anyone has used VMWare Workstation? I wanted to practice and learn Unix in a networking environment and have my own home lab. However room and money prevent me from buying several computers to do so. Any input would help thank you. (0 Replies)
Discussion started by: vedder191
0 Replies
2. UNIX for Dummies Questions & Answers
Which distributions are known to have great performance, but also excellent ease of use and compatibility on VMware Workstation 6? I have 2GB of real RAM in my system and Windows Vista Home Premium as a host operating system. I can almost always get away with alotting up to 1GB of RAM for my... (1 Reply)
Discussion started by: MrrrrrNiceGuy
1 Replies
3. Solaris
Is it possible to create metadevices and soft partitions using Solaris Volume Manager on Solaris 10 x86 that is running on VMware Workstation.
It would a low cost method to practice extending soft partitions and metadevices.
If anyone has an experience with this please share.
Regards (1 Reply)
Discussion started by: Tirmazi
1 Replies
4. Linux
i have following :-
fedora 16 x 64bit
kernel 3.2.7-1
vmware workstation 8.0.2.
Steps to install vmware workstation to access ESX machine
1- sh vmware name.bundle
2- setup started and completed with out any warning.
3- when i type "vmware " then "VMware Module Updater Started" and the... (2 Replies)
Discussion started by: engrtahir2007
2 Replies
5. UNIX for Advanced & Expert Users
got vmware workstation 10.1 going..
looking over some recommendation on how to create a share disk between two potential cluster nodes..
on the older version of vmware ws 8.0, there is a option of assigining a disk to a new scsi and turn parallel option on, from what I have read.
I... (0 Replies)
Discussion started by: ppchu99
0 Replies
LEARN ABOUT NETBSD
ypinit
YPINIT(8) BSD System Manager's Manual YPINIT(8)
NAME
ypinit -- initialize NIS subsystem
SYNOPSIS
ypinit -c [domainname] [-l server1,...,serverN]
ypinit -m [domainname] [-l server1,...,serverN]
ypinit -s master_server [domainname] [-l server1,...,serverN]
DESCRIPTION
ypinit initializes the files and directories that are required for a NIS client or server.
If domainname isn't specified, the default domain (as returned by domainname(1)) is used.
The following options are available:
-c Create a NIS client. Initializes /var/yp/binding/<domain>.ypservers to contain a list of ypservers for ypbind(8) to connect to.
-l server1,...,serverN
Set the list of client servers from the command line rather than prompting for them interactively. The format is a comma separated
list of server names with no spaces.
-m Create a master NIS server. Generates map data from local files (/etc/master.passwd, /etc/group, etc.).
-s master_server
Create a slave server. Downloads the maps from master_server, which should be the active master NIS server.
To rebuild or refresh the maps for the NIS domain <domain>, change to the /var/yp/<domain> directory and run make.
FILES
/var/yp master NIS directory; contains the template makefiles.
/var/yp/<domain> directory to store NIS maps for <domain>.
/var/yp/binding/<domain>.ypservers
list of NIS servers to bind to.
SEE ALSO
domainname(1), make(1), makedbm(8), mknetid(8), nis(8), stdethers(8), stdhosts(8), ypbind(8), yppush(8), ypserv(8)
AUTHORS
Originally written by Mats O Jansson <moj@stacken.kth.se>. Modified by Jason R. Thorpe <thorpej@NetBSD.org>.
BSD
February 26, 2005 BSD