02-08-2008
That file where you noticed the comment is /etc/hosts from node1, so node1 is defined up with localhost and commented out there. eh, ypinit -c I saw this else where but this is what I see when I try to run it :
[root@node1 yp]# ./ypinit -c
usage:
ypinit -m
ypinit -s master
where -m is used to build the data bases on a master NIS server,
and -s is used for a slave data base. master must be an existing
reachable NIS server.
[root@node1 yp]#
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, like a lot of people that post here, I am new at UNIX. The only UNIX I have ever messed with is my iBook running MacOSX (10.1). I have a grasp of the basic commands and understanding of the system but only to a point.
I searched the archive and FreeBSD.org and apache.org but I couldn't find... (4 Replies)
Discussion started by: Alpha_Harblo
4 Replies
2. UNIX for Dummies Questions & Answers
I know this may not be the right forum, but here goes.
Last night I was playing my favorite game Everquest and my monitor goes blank... I was able to save out of my game and shut it down...
My question is this: I thought my monitor had died but this morning I was able to get it to come back... (6 Replies)
Discussion started by: Kelam_Magnus
6 Replies
3. Solaris
check this out
ls -l nmo*
-rwsr-s--- 1 root dba 19312 Mar 31 14:44 nmo
-rw-r----- 1 oracle dba 0 May 19 2004 nmo0
-rwxr-x--- 1 oracle dba 16512 Mar 31 14:44 nmocat
# rm nmo0
nmo0: No such file or directory
# id
uid=0(root) gid=1(other)
what... (8 Replies)
Discussion started by: csaunders
8 Replies
4. Solaris
Today I attempted to use SMC for the first time on SUNSVR01 since 4 November. The SMC toolbox loads just fine but when I attempt to run any of the tools in SMC, I get red stop signs with labels like "com.sun.admin.hostmgr.client.vhostmgr" in the GUI. At the bottom of the screen, I get the... (0 Replies)
Discussion started by: wjseaman
0 Replies
5. Solaris
I have built this Solaris 10 server, uses NIS. When the server starts up, two instances of ypbind start. This prevents the server from binding to any domain. The SMF in turn prevents any other network services (sshd and the like) from starting up.
Has anyone seen this problem before? (0 Replies)
Discussion started by: blowtorch
0 Replies
6. HP-UX
I am new to HP-UX. I have a external SCSI drive with HP-UX on it. I was trying to clone it to another external scsi drive. I added the new drive to existing LVM. Then I used dd command. But it failed with I/O error. Now I cannot boot it from original drive. It's saying panic: LVM: Configuration... (11 Replies)
Discussion started by: forhad
11 Replies
7. HP-UX
Hi,
How to start or stop ypbind on HP-UX machine.
Searched a little but could not find.
thanks, (2 Replies)
Discussion started by: jredx
2 Replies
8. AIX
hello ,
How do i to check the status of ypbind on AIX(5.3) platform ?
Thanks
AVK Linux (1 Reply)
Discussion started by: avklinux
1 Replies
9. Shell Programming and Scripting
$ ls -l
total 44
drwx------ 2 ivanachu users 512 Dec 6 19:15 VILEARN
-rw------- 1 ivanachu users 74 Dec 5 18:42 cond
-rwx------ 1 ivanachu users 97 Dec 5 21:30 cond2
-rwxrwxrwx 1 ivanachu users 4979 Feb 10 22:42 createHAqmgr.ksh
-rw------- 1 ivanachu users 28 Dec 4... (10 Replies)
Discussion started by: ivanachukapawn
10 Replies
ypset(8) System Manager's Manual ypset(8)
NAME
ypset - bind ypbind to a particular NIS server
SYNOPSIS
ypset [ -d domain ] [ -h hostname ] server
DESCRIPTION
In order to run ypset, ypbind must be initiated with the -ypset or -ypsetme options. See ypbind(8). ypset tells ypbind to get NIS ser-
vices for the specified domain from the ypserv(8) process running on server.
In cases where several hosts on the local net are supplying NIS services, it is possible for ypbind to rebind to another host even while
you attempt to find out if the ypset operation succeeded. For example, you can type:
example% ypset host1
example% ypwhich
host2
which can be confusing. This is a function of the NIS subsystem's attempt to know always a running NIS server, and occurs when host1 does
not respond to ypbind because it is not running ypserv (or is overloaded), and host2, running ypserv, gets the binding.
Server indicates the NIS server to bind to, and must be specified as a name or an IP address. This will work only if the node has a cur-
rent valid binding for the domain in question, and ypbind has been set to allow use of ypset. In most cases, server should be specified
as an IP address.
OPTIONS
-d domain
Specify a domain other than the default domain as returned by domainname(8).
-h hostname
Set the NIS binding on host hostname
instead of the local machine.
SEE ALSO
domainname(8), ypbind(8), ypcat(8), ypmatch(1), ypserv(8), yppoll(8), ypwhich(1)
AUTHOR
ypset is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>.
YP Tools 2.12 April 2010 ypset(8)