HPlogo STREAMS/UX for the HP 9000 Reference Manual > Chapter 1 Installation and Verification of STREAMS/UX

Verification of Correct Installation

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

Follow these steps to verify that the installation is correct:

  1. Run the /usr/bin/pdfck command to verify that the STREAMS/UX software was correctly installed on your system. Verification is done by checking a master product description file (pdf), which is delivered with the fileset, against the files just installed on the system. Run pdfck on each of the filesets that swinstall installed:

    /usr/bin/pdfck  /system/STREAMS-KRN/pdf
    /usr/bin/pdfck /system/STREAMS-MAN/pdf (if fileset is installed)
    /usr/bin/pdfck /system/STREAMS-RUN/pdf
    /usr/bin/pdfck /system/STREAMS-PRG/pdf (if fileset is installed)

    If the installation is correct, you should only receive a prompt after running the pdfck command. If pdfck finds a problem, it will report errors in the form of:

    pathname: diff_field[(details)  ][  ,...]

    where diff_field is one of the field names specified in pdf(4). The fields are pathname, owner, group, mode, size, links, version, checksum, and linked_to. Each field is separated by a colon (:). For more information, refer to the pdf(4), pdfdiff(1M) and pdfck(1M) man pages.

    Any differences found by pdfck usually indicate installation problems. Verify that the STREAMS software was installed properly by reviewing steps 1 through 13 in the "Loading STREAMS/UX Software" section, and redo these steps if necessary.

  2. To verify that STREAMS/UX software was properly configured into your HP-UX kernel, run the STREAMS verification tool, strvf, by typing:

    /usr/sbin/strvf

    If the STREAMS software has been properly installed and configured into the kernel, you should see the following messages:

    -> Logging results to /var/adm/streams/strvf.log
    ---------------------------------------------------------
    -> Verify HP Streams installation. Verify open, putmsg, <-
    -> getmsg, ioctl, and close can be performed on a stream.<-
    ---------------------------------------------------------
    ---------------------------------------------
    -> HP Streams is installed and operational <-
    ---------------------------------------------

    If you wish, you can use the verbose (-v) option to receive information on what strvf is doing. strvf checks the following items:

    • STREAMS kernel daemons are running.

    • The echo driver (a core STREAMS driver) can be opened.

    • a putmsg() can be performed on the echo driver.

    • a getmsg() receives the same message sent by putmsg().

    • A STREAMS ioctl can be passed to the echo driver and acknowledged.

    • The echo driver can be closed.

© 1995 Hewlett-Packard Development Company, L.P.