Patch Name: PHSS_6197 Patch Description: s700_800 10.0X cumulative OpenSpool B.01.10 patch Creation Date: 95/01/20 Post Date: 96/01/16 Hardware Platforms - OS Releases: s700: 10.00 10.01 s800: 10.00 10.01 Products: OPENSPOOL B.01.10 Filesets: OPENSPOOL.OSPOOL800_10 Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_6197 Symptoms: PHSS_6197: 1. Files in the customer-sw directory on binary masters are not copied to member systems. 2. When submitting a request using the link option, the npmv command fails. 3. The logging status in (on/off) is not restored after the restart of the qserver. 4. During the process of activation strange messages appeared on the screen, even when the process was progressing as expected. 5. During the process of activation some systems failed without reporting error messages. 6. On an HP-UX 10.0X system, as a realm master, the activation core-dumps, if you are running it with an non C LANG. 7. Multiple files submitted with one OpenSpool print request were not printed on a BSD printer. 8. The check_delivery parameter, in some cases, could cause several problems. 9. The npashow command with the use of the option -l and -s, has some limitations. 10.On a system more than one npservd daemon can be started. 11.Linesetting scripts do not work with OpenSpool version B.01.10. 12.On HP-UX 10.0X systems for an X25 the linesetting scripts and the network interface do not work. 13.On HP-UX 10.0X systems the server's initialization is not done correctly after the command npadmin -I, or npadmin -i. 14.The npautocontrol command accepts wrong arguments without sending error messages. 15.With the npautocontrol command correct entries in the configuration file are not accepted. 16.With the npreport command wrong option and argument usage are accepted. 17.The npact core dumps if the ./customer-sw/networkif/etc directory is missing. 18.On HP-UX 10.0X systems the integration of OpenSpool into HP VUE does not work without the compatibility mode. 19.With HP-UX 10.0X systems the RETRY=on option and the optional logging do not work. 20.When printing ASCII files with Form Feed characters(^L) inserted, the field value Bytes/pages_printed is not updated. 21.Member systems cannot be added to an HP-UX 10.0X realm master. 22.In a realm of 10.0 machines, the npact does not work on member systems with the use of a non C language. 23.Npadmin used the wrong path to locate nprcom binary on HP-UX 10.x systems 24.When deinstalling OpenSpool on HP-UX 10.x, files /etc/PATH or /etc/MANPATH could be truncated. 25.The output of npshow's field 'Size' has changed when submitting a request with the option count pages. PHSS_6006: 1. Files in the customer-sw directory on the binary master are not copied to the member system(s). Defect Description: PHSS_6197: 1. When a customer creates his own files in the customer-sw directory they will not be available on the member system(s) after the activation. 2. When submitting a request using the link option (np -l yes /etc/passwd), the npmv command fails and reports an error message: PALLADIUM ERROR:spoolfile PdModifyAttributes transfer error. 3. If we have configured a logging in a qserver and switched it on, (with the command npadmin -l on), the restarting of the qserver does not restore also the logging informations, so we have to switch it on again after restarting the qserver. 4. If the last activation fails because of the use of the CTRL+c command, (or for any other reasons), the runtime-sw directory is not copied and remains empty. For that reason further actions are impossible. 5. Messages reporting that the process of activation was successfully completed are displayed while systems which failed during the activation cannot be seen in any logfile. 6. If an HP-UX 10.0X system is a realm master and an HP-UX 9.0X system is a binary master in the same realm, the npact with a non C LANG core-dumps. 7. Only multiple copies of the first file are printed, if several files are submitted to the BSD (interrealm) printer with one single np command. 8. The option additionally checks whether the request was properly transferred to the remote system. If, meanwhile, the request was printed the option puts the request in the status "suspend", as if the transfer was not successful. This functionality has now been removed. 9. With the use of the -l option in the npashow, the script was stopped because awk did not recognize the variables. The -s option was limited because awk could not handel long lines. 10.On a system only one npservd daemon is registered to the llbd base. More npserved deamons started on a system may cause problems, and may use more system resource as needed. Now WARNING is displayed. 11.The arch_test.sh was not ported from OpenSpool version A.04.00 to OpenSpool version B.01.10. 12.The scripts are not ported to HP-UX 10.X systems. 13.The script ps.sim is not correctly ported to HP-UX 10.X systems. 14.The npautocontrol command does not report errors, if you misuse it. For example the command: $ npautocontrol /tmp/npauto.cfg was accepted without reporting any error message. The right usage of the npautocontrol is described in man pages as: npautocontrol [-h][-t minutes][-r minutes][-f cfg_file] It is evident that the /tmp/npauto.cfg is configuration file and as such is not used with the npautocontrol command. 15.Entries with treshold values 0 were not allowed with the npautocontrol command. If you used them, error messages like: error in configuration file (line: 3)! were displayed. 16.If you are using the npreport command with wrong options, for example: $ npreport -q -l "" no error message is reported. 17.If a customer accidentally removes the ~/sw-master/customer-sw/networkif/etc directory and tries to activate the configuration in the new release mode (npact -n -v), the npact core-dumps. 18.The OpenSpool.vf was not ported to HP-UX 10.0X systems. Wrong pathnames were used with the sh, the vue/types and the openspool/runtime directory. 19.The -v option was removed from the hpnpf.csh script, so the script was not correctly ported to HP-UX 10.0X systems. Even the optional logging does not work because the file name must be the last argument to the hpnpf command. 20.When you are printing an ASCII file containing a lot of Form Feed characters the npshow -l option does not update the screen, until the file is completely printed. 21.If you are adding a member system to an HP-UX 10.0X as a realm master the npuix will not recognize it. 22.If there are realm masters and member systems, both on an HP-UX 10.0, and if the npact is running with a non C LANG (for example: LANG=de_DE.roman8), then the npact does not succeed on member systems. 23.Npadmin on HP-UX 10.x does not work for non-local systems - error message is displayed: "Error when starting spooler on system : sh: /usr/lib/openspool/update/nprcom: not found.." 24.If /etc/PATH or /etc/MANPATH are not terminated, then npinstall deletes the contents of these files when deinstalling OpenSpool. 25.When submitting the request with the count pages option (np -N yes), the npshow shows size of the request in pages. (The behavior from A.04 version of OpenSpool was restored). PHSS_6006: 1. When a customer creates his own files in the customer-sw directory they will not be available on the member system(s) after the activation. SR: B700025791 Patch Files: /opt/openspool/update/member_act.sh /opt/openspool/update/bmact /opt/openspool/sw-master/vendor-sw/config-bin/npact /opt/openspool/sw-master/vendor-sw/bin/bsdnp /opt/openspool/sw-master/vendor-sw/server/qserver /opt/openspool/sw-master/vendor-sw/networkif/nplpdout /opt/openspool/sw-master/vendor-sw/networkif/etc/ nplpdout.cnf /opt/openspool/sw-master/tar/inst_pkg.tar.Z /opt/openspool/sw-master/vendor-sw/bin/npashow /opt/openspool/update/npservd /opt/openspool/update/ps.sim /opt/openspool/sw-master/vendor-sw/networkif/X25.if /opt/openspool/sw-master/vendor-sw/linesetting/plotter.19200 /opt/openspool/sw-master/vendor-sw/linesetting/plotter.9600 /opt/openspool/sw-master/vendor-sw/linesetting/printer.19200 /opt/openspool/sw-master/vendor-sw/linesetting/printer.9600 /opt/openspool/update/openspool.vf /opt/openspool/sw-master/vendor-sw/networkif/hpnpf.csh /opt/openspool/sw-master/vendor-sw/bin/npautocontrol /opt/openspool/sw-master/vendor-sw/bin/npreport /opt/openspool/sw-master/vendor-sw/bin/npadmin /opt/openspool/update/lp_emulation /opt/openspool/sw-master/vendor-sw/script/start_opsp.sh /opt/openspool/sw-master/vendor-sw/bin/nprpp /opt/openspool/sw-master/vendor-sw/bin/npuix /opt/openspool/sw-master/vendor-sw/bin/npui /opt/openspool/sw-master/vendor-sw/message/C/roman8/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/C/IBM-850/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/C/iso88591/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/fr/roman8/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/fr/IBM-850/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/fr/iso88591/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/de/roman8/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/de/IBM-850/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/de/iso88591/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/es/roman8/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/es/IBM-850/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/es/iso88591/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/ja/SJIS/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/ja/eucJP/ openspool.cat /opt/openspool/sw-master/vendor-sw/bin/npuix.dm /opt/openspool/update/member_act /opt/openspool/update/npinstall /opt/openspool/sw-master/vendor-sw/bin/np /opt/openspool/sw-master/vendor-sw/server/devserver /opt/openspool/sw-master/vendor-sw/server/devserver.hpgl what(1) Output: /opt/openspool/update/member_act.sh: member_act.sh 2.1.1.84 94/09/21 /opt/openspool/update/bmact: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/config-bin/npact: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/bin/bsdnp: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/server/qserver: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/networkif/nplpdout: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/networkif/etc/ nplpdout.cnf: None. /opt/openspool/sw-master/tar/inst_pkg.tar.Z: None. /opt/openspool/sw-master/vendor-sw/bin/npashow: $Header: npashow,v 1.17 95/10/26 11:03:48 ursa Exp $ /opt/openspool/update/npservd: OpenSpool B.01.12 10/20/95 $ /opt/openspool/update/ps.sim: ps.sim 4.1.1.4 93/08/23 /opt/openspool/sw-master/vendor-sw/networkif/X25.if: None. /opt/openspool/sw-master/vendor-sw/linesetting/ plotter.19200: None. /opt/openspool/sw-master/vendor-sw/linesetting/plotter.9600: None. /opt/openspool/sw-master/vendor-sw/linesetting/ printer.19200: None. /opt/openspool/sw-master/vendor-sw/linesetting/printer.9600: None. /opt/openspool/update/openspool.vf: $Header: openspool.vf.10,v 1.2 95/10/20 09:57:05 ton i Exp $ /opt/openspool/sw-master/vendor-sw/networkif/hpnpf.csh: $Header: hpnpf.csh,v 12.12 95/10/19 16:33:25 toni Ex p $ /opt/openspool/sw-master/vendor-sw/bin/npautocontrol: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/bin/npreport: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/bin/npadmin: OpenSpool B.01.12 10/20/95 $ /opt/openspool/update/lp_emulation: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/script/start_opsp.sh: $Header: start_opsp.sh,v 12.30 95/08/12 11:27:37 den is Exp $ /opt/openspool/sw-master/vendor-sw/bin/nprpp: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/bin/npuix: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/bin/npui: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/message/C.cat: None. /opt/openspool/sw-master/vendor-sw/message/C.cat.850: None. /opt/openspool/sw-master/vendor-sw/message/C.iso88591.cat: None. /opt/openspool/sw-master/vendor-sw/message/french.cat: None. /opt/openspool/sw-master/vendor-sw/message/french.cat.850: None. /opt/openspool/sw-master/vendor-sw/message/ french.iso88591.cat: None. /opt/openspool/sw-master/vendor-sw/message/german.cat: None. /opt/openspool/sw-master/vendor-sw/message/german.cat.850: None. /opt/openspool/sw-master/vendor-sw/message/ german.iso88591.cat: None. /opt/openspool/sw-master/vendor-sw/message/spanish.cat: None. /opt/openspool/sw-master/vendor-sw/message/spanish.cat.850: None. /opt/openspool/sw-master/vendor-sw/message/ spanish.iso88591.cat: None. /opt/openspool/sw-master/vendor-sw/message/japanese.cat: None. /opt/openspool/sw-master/vendor-sw/message/japanese.euc.cat: None. /opt/openspool/sw-master/vendor-sw/bin/npuix.dm: None. /opt/openspool/update/member_act: OpenSpool B.01.12 10/20/95 $ /opt/openspool/update/npinstall: None. /opt/openspool/sw-master/vendor-sw/bin/np: OpenSpool B.01.12 10/20/95 $ /opt/openspool/sw-master/vendor-sw/server/devserver: OpenSpool B.01.12 11/23/95 $ /opt/openspool/sw-master/vendor-sw/server/devserver.hpgl: OpenSpool B.01.12 11/23/95 $ cksum(1) Output: 3372400356 406512 /opt/openspool/sw-master/vendor-sw/bin/ bsdnp 4005931815 20586 /opt/openspool/update/lp_emulation 4239076035 82248 /opt/openspool/update/member_act 885437642 1546103 /opt/openspool/sw-master/tar/ inst_pkg.tar.Z 725417755 747615 /opt/openspool/sw-master/vendor-sw/bin/np 1284244570 817356 /opt/openspool/sw-master/vendor-sw/bin/ npadmin 3547896120 12561 /opt/openspool/sw-master/vendor-sw/bin/ npashow 3872000638 542286 /opt/openspool/sw-master/vendor-sw/bin/ npautocontrol 2399327099 554704 /opt/openspool/sw-master/vendor-sw/bin/ npreport 1325237704 24654 /opt/openspool/sw-master/vendor-sw/bin/ nprpp 3876070215 1669670 /opt/openspool/sw-master/vendor-sw/bin/ npui 4006907570 3033523 /opt/openspool/sw-master/vendor-sw/bin/ npuix 2115300583 1288369 /opt/openspool/sw-master/vendor-sw/bin/ npuix.dm 3384990597 838276 /opt/openspool/sw-master/vendor-sw/ config-bin/npact 92512944 987 /opt/openspool/sw-master/vendor-sw/linesetting/ plotter.19200 1986741907 975 /opt/openspool/sw-master/vendor-sw/ linesetting/plotter.9600 755706092 874 /opt/openspool/sw-master/vendor-sw/ linesetting/printer.19200 2282010954 878 /opt/openspool/sw-master/vendor-sw/ linesetting/printer.9600 2119225113 158806 /opt/openspool/sw-master/vendor-sw/ message/C.cat 2119225113 158806 /opt/openspool/sw-master/vendor-sw/ message/C.cat.850 121193557 158912 /opt/openspool/sw-master/vendor-sw/message/ C.iso88591.cat 3445479748 181374 /opt/openspool/sw-master/vendor-sw/ message/french.cat 2390941664 181444 /opt/openspool/sw-master/vendor-sw/ message/french.cat.850 1490947548 181444 /opt/openspool/sw-master/vendor-sw/ message/french.iso88591.cat 760682152 175326 /opt/openspool/sw-master/vendor-sw/message/ german.cat 1586058689 175398 /opt/openspool/sw-master/vendor-sw/ message/german.cat.850 529812019 175398 /opt/openspool/sw-master/vendor-sw/message/ german.iso88591.cat 4287374110 168517 /opt/openspool/sw-master/vendor-sw/ message/japanese.cat 989194864 168517 /opt/openspool/sw-master/vendor-sw/message/ japanese.euc.cat 2793046352 178991 /opt/openspool/sw-master/vendor-sw/ message/spanish.cat 1304637911 179077 /opt/openspool/sw-master/vendor-sw/ message/spanish.cat.850 1081784341 179077 /opt/openspool/sw-master/vendor-sw/ message/spanish.iso88591.cat 431041901 4043 /opt/openspool/sw-master/vendor-sw/networkif/ X25.if 2090469867 68 /opt/openspool/sw-master/vendor-sw/networkif/ etc/nplpdout.cnf 228670706 9553 /opt/openspool/sw-master/vendor-sw/networkif/ hpnpf.csh 426626429 94560 /opt/openspool/sw-master/vendor-sw/ networkif/nplpdout 1670736534 14724 /opt/openspool/sw-master/vendor-sw/script/ start_opsp.sh 1327892310 793125 /opt/openspool/sw-master/vendor-sw/server/ devserver 2656431665 801357 /opt/openspool/sw-master/vendor-sw/server/ devserver.hpgl 753409141 756329 /opt/openspool/sw-master/vendor-sw/server/ qserver 4264844759 509782 /opt/openspool/update/bmact 72257057 124657 /opt/openspool/update/member_act.sh 2368768087 172037 /opt/openspool/update/npinstall 348992507 575232 /opt/openspool/update/npservd 2460250054 3079 /opt/openspool/update/openspool.vf 2591368524 9434 /opt/openspool/update/ps.sim Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_6006 Equivalent Patches: PHSS_6195: s700: 9.01 9.03 9.05 9.07 s800: 9.00 9.04 PHSS_6196: s300_400: 9.00 9.03 Patch Package Size: 17570 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_6197 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_6197.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_6197.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. The cluster clients must be shut down as described in step 5b. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_6197. 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_6197.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_6197.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. NOTE: You will get several WARNING messages when installing the patch regarding message cataloges - you can safely ignore this messages. 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: LANG=C npact -n -v (first activation after installing the patch MUST run in C language) NOTE: this npact will just distribute the new member_act.sh file, but not the customer-sw directory. To distribute the customer-sw directory run the npact command again! 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_6197 has to be installed again on the newly installed binary master.