Patch Name: PHSS_7938 Patch Description: 300/400 9.x OpenSpool various fixes for B.01.30 Creation Date: 96/07/19 Post Date: 96/08/30 Hardware Platforms - OS Releases: s300_400: 9.00 9.03 Products: OpenSpool B.01.30 Filesets: OSPOOL300 Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHSS_7938 Symptoms: PHSS_7938: 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_7938: 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: /usr/lib/openspool/update/bmact /usr/lib/openspool/sw-master/vendor-sw/config-bin/npact /usr/lib/openspool/update/npservd /usr/lib/openspool/update/nprcom /usr/lib/openspool/sw-master/vendor-sw/bin/npcshow /usr/lib/openspool/sw-master/vendor-sw/bin/rtornp /usr/lib/openspool/sw-master/vendor-sw/bin/rtornpdel /usr/lib/openspool/sw-master/vendor-sw/bin/rtornpshow /usr/lib/openspool/sw-master/vendor-sw/interface/ interface.common /usr/lib/openspool/sw-master/vendor-sw/interface/PCL5 /usr/lib/openspool/sw-master/vendor-sw/interface/PCL5.nloo /usr/lib/openspool/sw-master/vendor-sw/interface/PJL /usr/lib/openspool/sw-master/vendor-sw/interface/PJL.PS /usr/lib/openspool/sw-master/vendor-sw/interface/PJL.nloo /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnp /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnpdel /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnpshow /usr/lib/openspool/sw-master/vendor-sw/networkif/nplpdout /usr/lib/openspool/update/member_act.sh /usr/lib/openspool/sw-master/vendor-sw/interface/PCL2 /usr/lib/openspool/sw-master/vendor-sw/server/devserver /usr/lib/openspool/sw-master/vendor-sw/server/devserver.hpgl /usr/lib/openspool/sw-master/vendor-sw/interface/PCL4 /usr/lib/openspool/sw-master/vendor-sw/interface/PCL4.nloo /usr/lib/openspool/sw-master/vendor-sw/contrib/msrunning.sh what(1) Output: /usr/lib/openspool/update/bmact: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/sw-master/vendor-sw/config-bin/npact: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/update/npservd: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/update/nprcom: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/sw-master/vendor-sw/bin/npcshow: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/sw-master/vendor-sw/bin/rtornp: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/sw-master/vendor-sw/bin/rtornpdel: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/sw-master/vendor-sw/bin/rtornpshow: OpenSpool B.01.31 7/04/96 $ /usr/lib/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 /usr/lib/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 /usr/lib/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 /usr/lib/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 /usr/lib/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 /usr/lib/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 /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnp: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnpdel: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnpshow: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/sw-master/vendor-sw/networkif/nplpdout: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/update/member_act.sh: HP OpenSpool B.01.31 7/04/96 member_act.sh 2.1.1.84 94/09/21 /usr/lib/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 /usr/lib/openspool/sw-master/vendor-sw/server/devserver: OpenSpool B.01.31 7/04/96 $ /usr/lib/openspool/sw-master/vendor-sw/server/ devserver.hpgl: OpenSpool B.01.31 7/04/96 $ /usr/lib/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 /usr/lib/openspool/sw-master/vendor-sw/interface/PCL4.nloo: HP OpenSpool B.01.31 7/04/96 /usr/lib/openspool/sw-master/vendor-sw/contrib/msrunning.sh: HP OpenSpool B.01.31 7/04/96 sum(1) Output: 12960 768 /usr/lib/openspool/update/bmact 55573 1176 /usr/lib/openspool/sw-master/vendor-sw/ config-bin/npact 59154 1016 /usr/lib/openspool/update/npservd 19056 656 /usr/lib/openspool/update/nprcom 31948 1152 /usr/lib/openspool/sw-master/vendor-sw/bin/ npcshow 43223 712 /usr/lib/openspool/sw-master/vendor-sw/bin/rtornp 29519 712 /usr/lib/openspool/sw-master/vendor-sw/bin/ rtornpdel 57185 712 /usr/lib/openspool/sw-master/vendor-sw/bin/ rtornpshow 41998 17 /usr/lib/openspool/sw-master/vendor-sw/interface/ interface.common 55956 65 /usr/lib/openspool/sw-master/vendor-sw/interface/ PCL5 61850 83 /usr/lib/openspool/sw-master/vendor-sw/interface/ PCL5.nloo 48848 81 /usr/lib/openspool/sw-master/vendor-sw/interface/ PJL 52466 79 /usr/lib/openspool/sw-master/vendor-sw/interface/ PJL.PS 12912 87 /usr/lib/openspool/sw-master/vendor-sw/interface/ PJL.nloo 62057 832 /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnp 49064 832 /usr/lib/openspool/sw-master/vendor-sw/bin/ bsdnpdel 5777 240 /usr/lib/openspool/sw-master/vendor-sw/bin/ bsdnpshow 32899 248 /usr/lib/openspool/sw-master/vendor-sw/networkif/ nplpdout 17764 257 /usr/lib/openspool/update/member_act.sh 12810 27 /usr/lib/openspool/sw-master/vendor-sw/interface/ PCL2 15730 1280 /usr/lib/openspool/sw-master/vendor-sw/server/ devserver 52071 1296 /usr/lib/openspool/sw-master/vendor-sw/server/ devserver.hpgl 51840 58 /usr/lib/openspool/sw-master/vendor-sw/interface/ PCL4 63831 69 /usr/lib/openspool/sw-master/vendor-sw/interface/ PCL4.nloo 227 4 /usr/lib/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_7939: s700: 10.00 10.01 10.10 10.20 s800: 10.00 10.01 10.10 10.20 Patch Package Size: 6300 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. Copy the patch to your /tmp directory and unshar it: cd /tmp cp patch_source/PHSS_7938 . sh PHSS_7938 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHSS_7938.updt PHSS_7938 Update moves the original software to /system/PHSS_7938/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHSS_7938 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHSS_7938.updt of=/dev/rmt/0m bs=2048 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 > /tmp/config c) save the current binding information npstat -E > /tmp/bindings chmod 700 /tmp/bindings d) Shutdown all queue and device servers 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 execute as user root the following command to recreate the cpio packages: /usr/lib/openspool/update/npinstall -t -v 4) On each binary master and on the realm master restart the npservd, as user spooladm /usr/lib/openspool/update/npservd 5) Activate the changes in the new release activation mode as user spooladm on the realm master: npact -n -v NOTE: This patch does not update binary master package file (s300_bm_pkg.tar.Z) which can be used for an alternative new binary master installation. If such an installation takes place the patch PHSS_7938 has to be installed again on the newly installed binary master.