Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypsetup(8yp) [ultrix man page]

ypsetup(8yp)															      ypsetup(8yp)

Name
       ypsetup - set up the yellow pages (YP) environment

Syntax
       /usr/etc/ypsetup

Description
       A  local  area  network	must  be  set  up on your system before you can set up YP.  You must know your system's default YP domain name and
       whether your system will be a master server, slave server, or client.  If your system is to be the master server for  your  YP  domain,	be
       sure  no  other master has been established and be sure the files to be distributed are in the directory Note that the files to be distrib-
       uted should be modified from the original files by removing the root entry in the file.

       If your system is not to be the master server, be sure a master already exists for your YP domain.  Once you  know  this  information,  run
       with the system in multiuser mode and answer its questions.

       Once  YP  is installed on a machine, it cannot be used until the file is modified to contain YP entries on the desired database lines.  The
       command reminds a user to run or edit the file manually.

Files
       Files that Start the YP daemons

       Clock daemon database file

       Commands pertinent to a specific system

       Default YP Map Files

       Group database

       Host name database

       Sendmail alias database

       Network group aliases

       Network name database

       Password file

       Protocol name database

       Rpc name database

       Service name database

See Also
       domainname(1yp), ypwhich(1yp), svc.conf(5), svcsetup(8), yppasswdd(8yp), ypserv(8yp), ypxfr(8yp)
       Guide to the Yellow Pages Service

																      ypsetup(8yp)

Check Out this Related Man Page

ypwhich(1yp)															      ypwhich(1yp)

Name
       ypwhich - determine which host is the current YP server or map master.

Syntax
       ypwhich [-d domain] [-V1] [-V2] [hostname]
       ypwhich [-d domain] [-m mname][-t]]
       ypwhich -x

Description
       The  command  identifies the YP server that currently supplies yellow pages services to a YP client.  It also identifies which YP server is
       the master for a map.  If invoked without arguments, returns the host name of the YP server for the local machine.  If hostname	is  speci-
       fied, checks that machine to find out which YP master it is using.

       Refer to and for an overview of the yellow pages.

Options
       -V1
	  Identifies which server is serving v.1 YP protocol-speaking client processes.

       -V2
	  Identifies which server is serving v.2 YP protocol-speaking client processes.

	  If  neither  version is specified, attempts to locate the server that supplies the current v.2 services.  If there is no v.2 server cur-
	  rently bound, attempts to locate the server supplying the v.1 services.  Since YP servers and YP clients are both  backward  compatible,
	  the user need seldom be concerned about which version is currently in use.

       -d Uses domain instead of the current domain.

       -m mname
	  Finds  the  master YP server for a map.  No hostname can be specified with -m.  The mname argument can be a mapname, or a nickname for a
	  map.

       -t Inhibits nickname translation and is useful if there is a mapname identical to a nickname.

       -x Displays the map nickname table.  This option lists the nicknames (mnames) that the command knows of, and indicates the mapname  associ-
	  ated with each nickname.

See Also
       ypfiles(5yp), rpcinfo(8nfs), ypserv(8yp), ypsetup(8yp)

																      ypwhich(1yp)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

Zombie Files on a HP-UX

How can you find a zombie file on the system. I have been in the database side of the system to search for Orphan files removed the orphan files, but still got the zombie file. When you run a top command it says there is a zombie process that is running i would like to find it. How can i do... (5 Replies)
Discussion started by: JackieRyan26
5 Replies

2. UNIX for Advanced & Expert Users

Un-Compiling Files ??

I am using NCR Unix, with a progress database. There are files that suddenly appear that are compiled (*.r) and I can't figure out where they are comming from. Is there any way I can uncompile them? That way, I can possibly read them and find out where they are comming from? Any ideas... (2 Replies)
Discussion started by: tripp4337
2 Replies

3. UNIX for Dummies Questions & Answers

Setting Default Permissions for Files

Hi, I am setting up an area on a unix server where multiple people will be editing web pages. Can anyone tell me how to set it up the directory and subdirectories so that when a user creates a new file, it defaults to permissions of 664 or 775? I've tried using umask but from what I can... (1 Reply)
Discussion started by: robbieg
1 Replies

4. Shell Programming and Scripting

Help to set the oracle environment????

Hi, I am trying to set the environment for my oracle database. I have 5 database in an unix box. My idea is to create 5 files for each database with the following script on it. After logging into the unix box ...just by typing the database name....the enviornment for the database... (2 Replies)
Discussion started by: castlerock
2 Replies

5. Shell Programming and Scripting

Identifying New and Modified Files/Directories

Hi. Our shop is migrating to a new UNIX server and our hope is to do a full migration of all files to the new server weeks in advance of the final migration. As a result we want to identify files on our SOLARIS 8 UNIX server that have changed or that were created after a specific date & time... (2 Replies)
Discussion started by: buechler66
2 Replies

6. Shell Programming and Scripting

sed: removing any and all trailing digits?

We have a large number of oracle database related scripts that utilize the environment variables $ORACLE_SID and $DBNAME. In a single instance database the $ORACLE_SID is the same as the database name $DBNAME. So we have simply set DBNAME = $ORACLE_SID. However, now that we are clustering with RAC,... (5 Replies)
Discussion started by: Squeakygoose
5 Replies

7. Shell Programming and Scripting

Moving a database from one server to another

I hope I'm posting this in the correct section. I'm trying to move a database from one server to another. This is the code I'm using... tar czf - vbdatabase.sql | ssh username@full.domain.com 'cat > /home/cpanelusername/vbdatabase.tar.gz ... but all I'm getting is a ">" and then nothing... (4 Replies)
Discussion started by: Chimpie
4 Replies

8. IP Networking

Network Tweaking - Database Query Across Internet

Hi We run a script that queries a database via the internet and we need the fast possible connections to the database server. I have centos server which sends the requests to the database across the internet . it sends upto 800 queries per milliseconds however this using the default... (4 Replies)
Discussion started by: um08
4 Replies

9. Hardware

Raid 0 on database server

Hi guys. if we want to use SSD drives on a database server, can we use RAID 0 configuration because of their reliability? (3 Replies)
Discussion started by: majid.merkava
3 Replies

10. UNIX for Dummies Questions & Answers

Access to a database

Hello all, is it possible to write a script in order to connect to a database, load data in a specific domain and execute the corresponding command? (3 Replies)
Discussion started by: FelipeAd
3 Replies

11. AIX

NIM client boot problem

Hi all, I have created VIO Server which serves 3 lpars. All of them are on VLAN ID 50. From one lpar I installed and set up NIM master server called testAIX1. I have created client and allocated resources to it: testAIX1:/ > lsnim -l test_lpar test_lpar: class = machines ... (4 Replies)
Discussion started by: phobus
4 Replies

12. SCO

Sendmail delivers mail to local user if it exists instead of passing it to the smart relay

Environment: SCO Unix Openserver 6 Sendmail ver: 8.11.3 I just put this server online replacing it's old counterpart, same OS on new machine. There are many different servers on this domain, windowssrv.thisdomain.com, oldunix.thisdomain.com, and the new newunix.thisdomain.com just to name a... (2 Replies)
Discussion started by: checkpro
2 Replies

13. Shell Programming and Scripting

Grepping a list of words from one file in a master database of homophones

Hello, I am sorry if the title is confusing, but I need a script to grep a list of Names from a Source file in a Master database in which all the homophonic variants of the name are listed along with a single indexing key and store all of these in an output file. I need this because I am testing... (4 Replies)
Discussion started by: gimley
4 Replies

14. Emergency UNIX and Linux Support

Find Unread Files

Hi I have requirement to read only unread files from the directory and load into database. Scenario: I do receive bunch of files into my unix directory for every 15 mins. My ETL Process every once in a day and reads the files and loads into db table. I cannot move these file into different... (9 Replies)
Discussion started by: cnrj
9 Replies

15. UNIX for Beginners Questions & Answers

Replace Stub Values In One Group Of Files With Actual Values From Another Group Of Files

I have two directories of files (new-config-files and old-config-files): new-config-files/this-db/config.inc.php new-config-files/that-db/config.inc.php new-config-files/old-db/config.inc.php new-config-files/new-db/config.inc.php new-config-files/random-database/config.inc.php etc. ... (4 Replies)
Discussion started by: spacegoose
4 Replies