Sponsored Content
Full Discussion: ypbind wont bind?
Top Forums UNIX for Dummies Questions & Answers ypbind wont bind? Post 302165710 by Colton on Friday 8th of February 2008 01:46:06 PM
Old 02-08-2008
All the machines are FC8, the host and all the nodes. I'm just setting this up for the first time and no, none of the machines are working with ypbind - well with the exception of the head node.

There is no /etc/defaultdomain because the startup script assigns the domains to each machine. I can try creating this file anyway but I don't believe it would affect anything.

yp.conf =

domain node1 server 192.168.0.2

The domain name changes respectively for each node.

Yup the head node is there, heres /etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 node1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.2 head.node
#192.168.0.253 node1
192.168.0.252 node2
192.168.0.251 node3

On the nodes ypwhich returns:

[root@node1 ~]# ypwhich
ypwhich: Can't communicate with ypbind
[root@node1 ~]#

which is to be expected because ypbind wont start

On the master ypbind is running fine so it returns:

[root@head home]# ypwhich
head.node
[root@head home]#

The nodes respectively show something similar to this:

[root@node1 ~]# domainname
node1
[root@node1 ~]#

And the master shows:

[root@head home]# domainname
head.node
[root@head home]#
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache wont start

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

Monitor wont come on...

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

file wont remove

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

SMC wont start

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

ypbind - multiple instances starting

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

Wont boot

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

ypbind start/stop

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

check the status of ypbind

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

script wont run

$ 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)
All times are GMT -4. The time now is 08:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy