Patch Name: PHSS_7939 Patch Description: s700_800 10.X OpenSpool B.01.30 patch Creation Date: 96/07/20 Post Date: 96/08/29 Hardware Platforms - OS Releases: s700: 10.00 10.01 10.10 10.20 s800: 10.00 10.01 10.10 10.20 Products: OPENSPOOL B.01.30 Filesets: OPENSPOOL.OSPOOL800_10 Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_7939 Symptoms: PHSS_7939: 1. Applying npadmin to another system, on systems with multiple network cards, fails with an error message. 2. Some requests submitted to a BSD remote realm stay in the ForeignQ in the state defer. 3. When printing with options out1, out2, topbin or rearbin to a PCL5 device interface script the title page and the file are printed out on different paper trays. 4. If all copies are reported to be printed (by OpenSpool) restart printing does not work. 5. If the queue server is registered at llbd but not responding, npact exits. 6. Printers from HP 256X series set wrong logical page length. 7. Errors occur during the activation update phase when optional clients (e.g. nplpdin) are handled. 8. When moving a device from a diskless client, activation does not shutdown moved devserver, which results in the server's inconsistency. 9. The activation with the compression switched on does not work correctly if some systems failed in the previous activation. 10. If print request goes to suspend state for any reason, with restart you will get an extra page (PCL) or two extra pages (PS) of printout. 11. Optional output bin for LaserJet5Si is not supported. 12. msrunning.sh can be used to check which systems are currently active in activation process. Defect Description: PHSS_7939: 1. When applying npadmin to another system, from a system with multiple network card, you may receive from nprcom the following error message: nprcom: error 10 You cannot run the command /usr/lib/openspool/runtime-sw/script/start_opsp.sh on system $SYSTEM because you have insufficient privilege. 2. When submitting requests intensively to a BSD remote realm and when the OPSP_FQSERVER_CONC is set to <10, some of the requests stay in state defer. In the debug output the following statement occurs: Attempting to bind socket to port 731 bind() failed: Address already in use No spare reserved socket 3. If you print a title page with one of the following "-o" printer options: - out1 - out2 - topbin - rearbin and, if the default output tray on the device is set to an option different to the one listed above, the title page is printed to the default output tray while the file is printed to the selected paper tray. 4. Restart does not work when copy-count is increased over the number of requested copies. 5. During the bindings checking phase npact exits, if the queue's configuration has changed and the queue server is registered but not responding in the llbd database. 6. Printers from HP 256X series set a wrong logical page length if by default the printer is set to 6lpi and you specified 8lpi or vice versa. The problem happens when a printer is using an active lpi setting in the time of specifying lpp; PCL2 interface sends lpi settings after lpp. 7. During the activation of optional clients (e.g. nplpdin), error messages appear in the activation log, like member_act.sh would try to run activate.sh from the wrong directory. 8. During the activation's update phase directories on the cluster server are switched before cluster client(s) finish(es) servers shutdown phase. This causes the npadmin -s on cluster client(s) to use the new configuration with the changed device location instead of using the old configuration. 9. The activation with the compression switched on does not work correctly if the previous activation had some systems failed. In this case the old configuration will be distributed to the whole realm except the Realm Master. 10. When printing PCL or PostScript file with PJL interface as well as with PCL5 interface, using range print to non-last page, you will get an extra page of printout if printer goes to suspend state for any reason and if it is restarted. 11. Using LaserJet5Si, you can address output trays with options -oout[tray number], if HCO - High Optional Output bin is installed. 12. In the environments where network problems are expected during activation a simple utility script can be used to scan the RM activation log file and list all systems which are still running the OpenSpool activation process. The script works on Realm Master system only and with activation in LANG=C. SR: B700025791 Patch Files: /opt/openspool/update/bmact /opt/openspool/sw-master/vendor-sw/config-bin/npact /opt/openspool/update/npservd /opt/openspool/update/nprcom /opt/openspool/sw-master/vendor-sw/bin/npcshow /opt/openspool/sw-master/vendor-sw/bin/rtornp /opt/openspool/sw-master/vendor-sw/bin/rtornpdel /opt/openspool/sw-master/vendor-sw/bin/rtornpshow /opt/openspool/sw-master/vendor-sw/interface/ interface.common /opt/openspool/sw-master/vendor-sw/interface/PCL5 /opt/openspool/sw-master/vendor-sw/interface/PCL5.nloo /opt/openspool/sw-master/vendor-sw/interface/PJL /opt/openspool/sw-master/vendor-sw/interface/PJL.PS /opt/openspool/sw-master/vendor-sw/interface/PJL.nloo /opt/openspool/sw-master/vendor-sw/bin/bsdnp /opt/openspool/sw-master/vendor-sw/bin/bsdnpdel /opt/openspool/sw-master/vendor-sw/bin/bsdnpshow /opt/openspool/sw-master/vendor-sw/networkif/nplpdout /opt/openspool/update/member_act.sh /opt/openspool/sw-master/vendor-sw/interface/PCL2 /opt/openspool/sw-master/vendor-sw/server/devserver /opt/openspool/sw-master/vendor-sw/server/devserver.hpgl /opt/openspool/sw-master/vendor-sw/interface/PCL4 /opt/openspool/sw-master/vendor-sw/interface/PCL4.nloo /opt/openspool/sw-master/vendor-sw/contrib/msrunning.sh what(1) Output: /opt/openspool/update/bmact: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/config-bin/npact: OpenSpool B.01.31 7/04/96 $ /opt/openspool/update/npservd: OpenSpool B.01.31 7/04/96 $ /opt/openspool/update/nprcom: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/bin/npcshow: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/bin/rtornp: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/bin/rtornpdel: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/bin/rtornpshow: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/interface/ interface.common: $Header: interface.common,v 12.50 96/07/17 10:27:10 tory Exp $ HP OpenSpool B.01.31 7/04/96 /opt/openspool/sw-master/vendor-sw/interface/PCL5: $Header: PCL5,v 12.70 96/08/06 11:19:03 tory Exp $ HP OpenSpool B.01.31 7/04/96 PCL5 4.1.1.4 93/08/23 /opt/openspool/sw-master/vendor-sw/interface/PCL5.nloo: $Header: PCL5.nloo,v 12.69 96/08/06 11:17:13 tory Ex p $ HP OpenSpool B.01.31 7/04/96 /opt/openspool/sw-master/vendor-sw/interface/PJL: $Header: PJL,v 12.89 96/08/08 13:05:26 tory Exp $ HP OpenSpool B.01.31 7/04/96 /opt/openspool/sw-master/vendor-sw/interface/PJL.PS: $Header: PJL.PS,v 12.17 96/08/08 11:41:27 tory Exp $ HP OpenSpool B.01.31 7/04/96 /opt/openspool/sw-master/vendor-sw/interface/PJL.nloo: $Header: PJL.nloo,v 12.16 96/08/08 13:03:21 tory Exp $ HP OpenSpool B.01.31 7/04/96 /opt/openspool/sw-master/vendor-sw/bin/bsdnp: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/bin/bsdnpdel: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/bin/bsdnpshow: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/networkif/nplpdout: OpenSpool B.01.31 7/04/96 $ /opt/openspool/update/member_act.sh: HP OpenSpool B.01.31 7/04/96 member_act.sh 2.1.1.84 94/09/21 /opt/openspool/sw-master/vendor-sw/interface/PCL2: $Header: PCL2,v 12.47 96/07/22 10:44:19 tory Exp $ HP OpenSpool B.01.31 7/04/96 PCL2 4.1.1.5 93/09/30 /opt/openspool/sw-master/vendor-sw/server/devserver: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/server/devserver.hpgl: OpenSpool B.01.31 7/04/96 $ /opt/openspool/sw-master/vendor-sw/interface/PCL4: $Header: PCL4,v 12.62 96/08/06 11:19:52 tory Exp $ HP OpenSpool B.01.31 7/04/96 PCL4 4.1.1.4 93/08/23 /opt/openspool/sw-master/vendor-sw/interface/PCL4.nloo: HP OpenSpool B.01.31 7/04/96 /opt/openspool/sw-master/vendor-sw/contrib/msrunning.sh: HP OpenSpool B.01.31 7/04/96 cksum(1) Output: 3798567023 513991 /opt/openspool/update/bmact 5544916 838360 /opt/openspool/sw-master/vendor-sw/ config-bin/npact 3445975079 690455 /opt/openspool/update/npservd 542532463 501635 /opt/openspool/update/nprcom 3996585721 636789 /opt/openspool/sw-master/vendor-sw/bin/ npcshow 3692013399 485239 /opt/openspool/sw-master/vendor-sw/bin/ rtornp 2915947209 485242 /opt/openspool/sw-master/vendor-sw/bin/ rtornpdel 1540176035 485243 /opt/openspool/sw-master/vendor-sw/bin/ rtornpshow 4224841317 8611 /opt/openspool/sw-master/vendor-sw/ interface/interface.common 4105033833 33073 /opt/openspool/sw-master/vendor-sw/ interface/PCL5 2151157400 42036 /opt/openspool/sw-master/vendor-sw/ interface/PCL5.nloo 2376928321 41341 /opt/openspool/sw-master/vendor-sw/ interface/PJL 2554008716 40336 /opt/openspool/sw-master/vendor-sw/ interface/PJL.PS 2639493358 44540 /opt/openspool/sw-master/vendor-sw/ interface/PJL.nloo 15795874 509381 /opt/openspool/sw-master/vendor-sw/bin/bsdnp 4086575471 505255 /opt/openspool/sw-master/vendor-sw/bin/ bsdnpdel 2327549999 205602 /opt/openspool/sw-master/vendor-sw/bin/ bsdnpshow 2848545183 205619 /opt/openspool/sw-master/vendor-sw/ networkif/nplpdout 4229675740 131308 /opt/openspool/update/member_act.sh 22348193 13604 /opt/openspool/sw-master/vendor-sw/interface/ PCL2 2896266682 772649 /opt/openspool/sw-master/vendor-sw/server/ devserver 579557310 784976 /opt/openspool/sw-master/vendor-sw/server/ devserver.hpgl 3989667945 29254 /opt/openspool/sw-master/vendor-sw/ interface/PCL4 4224456834 35147 /opt/openspool/sw-master/vendor-sw/ interface/PCL4.nloo 1311981228 1895 /opt/openspool/sw-master/vendor-sw/contrib/ msrunning.sh Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHSS_7937: s700: 9.01 9.03 9.05 9.07 s800: 9.00 9.04 PHSS_7938: s300_400: 9.00 9.03 Patch Package Size: 7940 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_7939 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_7939.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_7939.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_7939. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHSS_7939.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_7939.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: 1. Before the installation of the patch perform the following steps as user spooladm: a) test whether all systems are up and running npact -t -v b) save the current configuration npcshow -E > /var/tmp/config c) save the current binding information npstat -E > /var/tmp/bindings chmod 700 /var/tmp/bindings d) Shutdown all queue and device server in the realm npadmin -A -s Make sure that really all processes are stopped. If needed use the npadmin -A -i command to stop all of them. e) Also make sure that no npui/npuix processes are running in the realm f) Manualy kill all npservd daemon processes on all binary masters (including realm master) g) Also make sure llbd database does not include any invalid entries (use lb_admin tool) 2) Install the patch on all binary masters and on the realm master by follwing the "Installation Instructions" above. 3) On each binary master and on the realm master as user root execute the following command to recreate the cpio packages: /opt/openspool/update/npinstall -t -v 4) On each binary master and on the realm master restart the npservd, as user spooladm /opt/openspool/update/npservd 5) Activate the changes in new release activation mode as user spooladm on the realm master: npact -n -v NOTE: This patch does not update binary master package file (s800_10_bm_pkg.tar.Z) which can be used for an alternative new binary master installation. If such an installation takes place the patch PHSS_7939 has to be installed again on the newly installed binary master.