home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!hubcap!opusc!usceast!tim
- From: tim@hssc.scarolina.edu (Tim White)
- Subject: Re: SunOS Upgrade
- Message-ID: <tim.721679597@andy.hssc.scarolina.edu>
- Sender: usenet@usceast.cs.scarolina.edu (USENET News System)
- Organization: USC Department of Computer Science
- References: <1992Oct30.095136.701@ualr.edu>
- Date: 13 Nov 92 18:33:17 GMT
- Lines: 83
-
- lindstrom@acs.harding.edu writes:
-
- > Grettings-
- > I dread the thought of upgrading the OS again. Being rather new
- >at the system administrator game, the process usually takes days to
- >get things going again, so I would like some advice from you folks
- >who _seem_ to know what's goning on...
-
- > 1. I have the SunOS 4.1.3 upgrade, which I received after the
- > Solaris 2.0 migration kit came. I have not installed
- > either. Which should I concern myself with first (am
- > currently running SunOS 4.1.2)?
-
- 4.1.3 is basically 4.1.2 with support for the uniprocessor SS10 and
- additional patches rolled in. Solaris 2.0 will be much different from
- a administration perspective.
-
-
- > 2. Every time I have upgraded, I have problems with the
- > "libc" files. Don't know what they do or how to fix
- > them (have to spend time with our network guru).
- > What information can you spare (I can read, so references
- > would be welcome).
-
- Bill Wisner's resolv+ version 2.1 works fine with 4.1.3. From the
- README file...
-
- ->
- ->This is resolv+ 2.1, a modified version of the resolver library
- ->from BIND 4.8.3.
- ->
- ->resolv+ allows you to specify whether hostname and address lookups
- ->should be performed with BIND, the /etc/hosts file, NIS, or any
- ->combination of the above. This is an idea that I stole shamelessly
- ->from Ultrix.
- ->
- ->Other than the changes outlines above, this resolver functions exactly
- ->like that in BIND 4.8.3 (because it *is* the resolver from BIND 4.8.3).
- ->
- ->To build the resolver library, edit the Makefile and run "make".
- ->
- ->This resolver library is suitable for use in the SunOS shared C library.
- ->To build a new shared C library which includes the resolver, run
- ->"make libc.so". If you did not select the "shlib.etc" option when
- ->installing your operating system, this will not work.
- ->
- ->To configure host lookups, create /etc/host.conf. It should contain some
- ->combination of the keywords "bind", "hosts" and "nis", one per line.
- ->
- ->After compiling the library, it should be installed in /usr/lib/libresolv.a.
- ->If you feel particularly ambitious, incorporate it into your systemwide C
- ->library. If your system uses shared libraries, this can be a (fairly)
- ->easy way to make all of your networking programs use this resolver.
- ->
- ->To install a new shared C library on a SunOS system, the copy the libc.so
- ->file generated by make (it'll be in the shlib/ subdirectory) into /usr/lib,
- ->and type ldconfig. If things go awry, remove the file from /usr/lib and
- ->type ldconfig again. If you want to test the shared library before
- ->installing it system-wide, you can do so by setting the LD_LIBRARY_PATH
- ->environment variable to the pathname of the directory containing the new
- ->libc.so file. After doing this you should still install the regular
- ->resolver library in /usr/lib/libresolv.a, so statically linked programs
- ->also use the resolver routines.
- ->
- ->Unless you do incorporate the resolver into a shared C library, you will have
- ->to recompile all your networking programs before you see much benefit from
- ->this package. If you don't have a source code license, don't feel bad:
- ->you're exactly like most of the rest of us. Fortunately, the source code
- ->for the Berkeley networking software is publically available from several
- ->major anonymous FTP sites, including ftp.uu.net and gatekeeper.dec.com.
- ->
- ->If your system runs a particularly crummy version of UNIX, you may have
- ->to copy some of the headers in the include subdirectory into /usr/include,
- ->particularly netdb.h. (Actually, you should probably copy them all into
- ->/usr/include anyway, since they're more recent than what most vendors ship.)
- ->
- ->Bill Wisner <wisner@ims.alaska.edu>
- ->5 April 1992
- --
- ==============================================================================
- Tim White University of South Carolina
- tim@otis.hssc.scarolina.edu Humanities and Social Sciences Laboratory
- (803)-777-7840 Columbia, S.C. 29208
-