06-16-2008
Also check that configuration variable NIS_CLIENT=1 in /etc/rc.config.d/namesvrs.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm a newbie to the Unix world Help!
I have to maintain a host of Sybase database servers sitting on Unix Sun Solaris 8...I've been tasked with finding/creating a way to auto start/stop Unix via unix commands, specifically when the Unix servers need to be restarted we want Sybase to start... (2 Replies)
Discussion started by: jjv1
2 Replies
2. UNIX for Dummies Questions & Answers
Hi everyone, I was wondering how to configure ftp access for one user when I found this board.
After some searches I found my infos around proftpd (and the great config file proftpd.conf who answered to all my dreams...)
but now I only need to stop proftpd and restart it (I guess it is needed... (1 Reply)
Discussion started by: Lomic
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
how do I start or stop the network interfaces in Solaris 9
I have tried "/etc/init.d/network stop" but it doesn't work
thanks (1 Reply)
Discussion started by: eldiego
1 Replies
4. AIX
I am in the process of reorging my Lawson db. I need to turn off the RMI server...not a problem. However my instructions also state that I must also
shutdown my Servlet Container....I believe it is Apache.
I have looked in /usr/apache/bin/apachectl
What is the command for stopping and... (2 Replies)
Discussion started by: MILLERJ62
2 Replies
5. Shell Programming and Scripting
I'm wondering how I should make a script that can start, stop, and restart another script.
What I need to be able to do, is start and stop a perl script from the command line. The easiest way of doing this seems to be to have another script, starting and stopping the other script. I have BASH,... (7 Replies)
Discussion started by: Bakes
7 Replies
6. Shell Programming and Scripting
Hi,
Every time i want to stop and start servers using PuTTY,i have to execute 6 to 10 commands every time ,i need shell script(program) for execute those commands in single command.Is it possible plz suggest me. (3 Replies)
Discussion started by: RG18173
3 Replies
7. Shell Programming and Scripting
HI
I am using below code to start and stop servers but it is not working ,how to run the script please suggest me ,if any errors in the script please let me know.
#!/bin/bash
IMS_START="/Webserver/AppServer/bin/startServer.sh"
IMS_STOP="/Webserver/AppServer/bin/stopServer.sh"
case "$1" in
... (1 Reply)
Discussion started by: RG18173
1 Replies
8. Solaris
Please anyone tell me
In my last interview the HR asks me how to monitor, start,stop & kill the various processes and subprocesses.
Please anyone explain me clearly. It's my personal request (3 Replies)
Discussion started by: suneelieg
3 Replies
9. UNIX for Dummies Questions & Answers
Is there any functional difference between:
issuing separate stop/start commands like this;
super (handler) (instance) stop
super (handler) (instance) start
versus issuing a single recycle command like this;
super (handler) (instance) restart (3 Replies)
Discussion started by: Newbix
3 Replies
10. UNIX for Dummies Questions & Answers
Another question for you guys! This is so fun.
So I am playing around with the factor operation. I read in "man factor" that you can actually print a list of primes in between a range, using the syntax
factor ]
However, every time I enter two values, it just returns the factored value.... (1 Reply)
Discussion started by: statichazard
1 Replies
LEARN ABOUT OPENSOLARIS
ypset
ypset(1M) System Administration Commands ypset(1M)
NAME
ypset - point ypbind at a particular server
SYNOPSIS
/usr/sbin/ypset [-d ypdomain] [-h host] server
DESCRIPTION
In order to run ypset, ypbind must be initiated with the -ypset or -ypsetme options. See ypbind(1M). ypset tells ypbind to get NIS services
for the specified ypdomain from the ypserv process running on server. If server is down, or is not running ypserv, this might not be dis-
covered until an NIS client process tries to obtain a binding for the domain. At this point, the binding set by ypset is tested by ypbind.
If the binding is invalid, ypbind attempts to rebind for the same domain.
ypset is useful for binding a client node that is not on a broadcast net, or is on a broadcast net that is not running an NIS server host.
It is also useful for debugging NIS client applications, for instance, where an NIS map exists only at a single NIS server host.
Where several hosts on the local net are supplying NIS services, ypbind can rebind to another host, even while you attempt to find out if
the ypset operation succeeded. For example, if you enter the ypset command below, you might get the subsequent response from ypwhich:
example% ypset host1
example% ypwhich
host2
The sequence shown above is a function of the NIS subsystem's attempt to load-balance among the available NIS servers, and occurs when
host1 does not respond to ypbind because it is not running ypserv (or is overloaded), and host2, running ypserv, obtains the binding.
server indicates which NIS server to bind to, and must be specified as a name or an IP address. This works only if the node has a current
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.
ypset tries to bind over a connectionless transport. The NIS library call, yp_all(), uses connection-oriented transport and derives the NIS
server's address based on the connectionless address supplied by ypset.
Refer to ypfiles(4) for an overview of the NIS name service.
OPTIONS
-d ypdomain Use ypdomain, instead of the default domain.
-h host Set ypbind's binding on host, instead of locally. Specify host as a name.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
ypwhich(1), ypfiles(4), attributes(5)
SunOS 5.11 14 Sep 1992 ypset(1M)