Setting Up PCNFSD

Upgrading the PCNFSD Daemon

To Determine if Version 2 Is Running
To Determine if Version 1 Is Running
To Upgrade rpc.pcnfsd on a SunOS 4.x Server

There are two versions of the PCNFSD protocol:

The current release of the rpc.pcnfsd daemon supports both version 1 and version 2 of the PCNFSD protocol. Source code and binary programs of this daemon are included on the CD-ROM for installation on a SunOS 4.x or 5.x system. Daemons are in compressed UNIX tar files for installation on SunOS 4.x systems.

In addition, the SUNWpcnfd package on the Solstice Network Client CD-ROM incorporates patches that were added to the PCNFSD software to fix security problems.

Since version 2 of the daemon can support existing PC-NFS software users (with one compatibility issue, see Note following), you should replace existing version 1 rpc.pcnfsd server daemons with version 2. If you do not, users may find that certain features of Solstice Network Client will not work. To upgrade rpc.pcnfsd on SunOS 4.x servers, follow the procedure "To Upgrade rpc.pcnfsd on a SunOS 4.x Server" on page 124.

Note The rpc.pcnfsd version 2 daemon recognizes only those printer names listed by the UNIX lpstat -t command. Run this command on the print server to determine the printer names that the rpc.pcnfsd daemon will recognize. This is different from the rpc.pcnfsd version 1, which allows you to use any names associated with a particular printer.

To Determine if Version 2 Is Running

To Determine if Version 1 Is Running

If neither version is running, try starting the daemon by entering /usr/etc/rpc.pcnfsd and then check the version.

If that fails, you need to install rpc.pcnfsd.

Source code and binary versions of rpc.pcnfsd are distributed on your Solstice Network Client CD-ROM in compressed UNIX tar files. Before installing the daemon, check your server to see if rpc.pcnfsd is already present. If not, install it using the appropriate installation procedure.

With pcnfsd version 1, you were able to install rpc.pcnfsd so that it was started by the inetd superdaemon. The new rpc.pcnfsd daemon must execute a possibly lengthy configuration sequence each time its starts. To avoid delays--and possible time-outs--you should arrange for the daemon to be invoked from /etc/rc.local (SunOS 4.x) or by means of a script in the init.d directory (SunOS 5.x). Do not use inetd.

To Upgrade rpc.pcnfsd on a SunOS 4.x Server

  1. If the rpc.pcnfsd daemon is running, stop (kill) it.

    1. Become root.

    2. Determine the rpc.pcnfsd process ID number.

      For example:
      # ps -ax | grep rpc.pcnfsd

    3. Enter kill -9 processid number.

  2. Rename the rpc.pcnfsd version 1 daemon.

    For example, you might rename /usr/etc/rpc.pcnfsd to /usr/etc/rpc.pcnfsd.v1.

  3. Install rpc.pcnfsd version 2 according to the instructions in "To Install rpc.pcnfd on a SunOS 4.x Server" on page 121.

  4. When you are satisfied that the new rpc.pcnfsd version is working correctly, delete the old version.


Solstice NFS Client User's Guide - 3 JUN 1997

Copyright 1997 Sun Microsystems, Inc. 2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.A.