Patch Name: PHSS_29316 Patch Description: s700_800 11.04 Virtualvault 4.6 owsctl fix Creation Date: 03/06/20 Post Date: 03/07/02 Repost: 03/09/09 The Patch Dependencies and Special Installation Instructions sections of the patch documentation were modified to clarify that PHSS_27476 should also be installed with PHSS_29316. Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: Virtualvault A.04.60 Filesets: VaultTS.VV-IWS,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP VaultTS.VV-CORE-CMN,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP VaultWS.WS-CORE,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHSS_29316 Symptoms: PHSS_29316: owsctl tool fails to start additional apache web servers. PHSS_28057: IWS tomcat watchdog may not start correctly after a system reboot. PHSS_27690: Control characters are displayed in the /var/adm/sw/swagent.log during patch install/removal. Above behavior is observed only for those patches that stop/start the inside/outside apache servers using the vvctl or owsctl commands respectively in their preinstall/preremove scripts. PHSS_27276: If the tomcat watchdog program(itcwdog) is terminated without updating its respective server process id file, subsequent attempts to start the watchdog may report that the "Tomcat watchdog is already running" and the server fails to start. This will also result in stopping a wrong process if the watchdog is restarted using vvctl. Defect Description: PHSS_29316: The owsctl tool fails to start additional apache web servers running in the Inside compartment Resolution: The 'owstcl' tool is modified to start the servers running in the Inside compartment. PHSS_28057: 1. During system restart, there is a possibility of inside watchdog process not starting due to unclean system shutdown. 2. vvctl/owsctl does not cleanup pidfiles during system restart. Resolution: 1. The apachectl program has been modified to remove the pidfile before starting the watchdog process. 2. Modified the vvctl/owsctl to cleanup pidfiles. Also modified the inittab entries for vvctl/owsctl to cleanup the pid files. PHSS_27690: Redundant use of initscr() and endwin() throughout vvctl and owsctl caused the above problem. Resolution: Use of initscr() and endwin() is removed. PHSS_27276: If during some system operations itcwdog is not cleanly stopped, the process identifier(pid) file may contain the process id of a process other than the watchdog process. This will result in "Tomcat watchdog is already running" error during startup. In the above scenario, an attempt to restart the watchdog will result in stopping the process associated with the process ID in the pid file. Resolution: The apachectl program will perform a check to see if the process identifier in the watchdog pid file belongs to an executing itcwdog process before declaring that the watchdog is already running. Enhancement: No SR: 8606307533 8606281880 8606273274 8606264443 Patch Files: VaultTS.VV-IWS,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP: /opt/vaultTS/ws-admserv/bin/apachectl VaultTS.VV-CORE-CMN,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP: /opt/vaultTS/lib/libncs.sl /var/opt/vaultTS/inside/vault/bin/in-ws-pass /var/opt/vaultTS/inside/vault/bin/in-ws-getpass /opt/vaultTS/bin/vvctl VaultWS.WS-CORE,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP: /opt/vaultWS/bin/owsctl what(1) Output: VaultTS.VV-IWS,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP: /opt/vaultTS/ws-admserv/bin/apachectl: Source: apache/ship/misc/apachectl, vaultTS, vaultTS _4.6 $ $Date: 02/10/26 08:46:04 $ $Revision: 1.20 PATCH_11.04 (PHSS_28057) @(#)48 1.20 apache/ship/misc/apachectl, vaultTS, v aultTS_4.6 10/26/02 08:46:04 VaultTS.VV-CORE-CMN,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP: /opt/vaultTS/lib/libncs.sl: None /opt/vaultTS/bin/vvctl: $Source: src/admin/cgi/wsadmin/vvctl/vvctl.c, vaultT S, vaultTS_4.6 $ $Date: 02/10/26 08:32:31 $ $Revision: 1.7.2.3 PATCH_11.04 (PHSS_28057) $ $Source: src/admin/cgi/wsadmin/ws-util/in-ws-admin.c , vaultTS, vaultTS_4.6 $ $Date: 02/08/09 02: 01:41 $ $Revision: 1.10.2.2 PATCH_11.04 (PHS S_27690) $ /var/opt/vaultTS/inside/vault/bin/in-ws-getpass: src/admin/cgi/wsadmin/in-ws-getpass/in-ws-getpass.c, vaultTS, vaultTS_4.6 1.1 12/11/00 $Source: src/admin/cgi/wsadmin/ws-util/in-ws-admin.c , vaultTS, vaultTS_4.6 $ $Date: 02/08/09 02: 01:41 $ $Revision: 1.10.2.2 PATCH_11.04 (PHS S_27690) $ /var/opt/vaultTS/inside/vault/bin/in-ws-pass: src/admin/cgi/wsadmin/in-ws-pass/in-ws-pass.c, vault TS, vaultTS_4.6 1.2 02/07/01 $Source: src/admin/cgi/wsadmin/ws-util/in-ws-admin.c , vaultTS, vaultTS_4.6 $ $Date: 02/08/09 02: 01:41 $ $Revision: 1.10.2.2 PATCH_11.04 (PHS S_27690) $ VaultWS.WS-CORE,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP: /opt/vaultWS/bin/owsctl: $Source: src/admin/cgi/webctl/webctl.c, vaultWS, vau ltWS_4.6 $ $Date: 03/06/20 05:12:05 $ $Revis ion: 1.4.1.3 PATCH_11.04 (PHSS_29316) $ src/admin/cgi/apache-util/apache-admin.c, vaultWS, v aultWS_4.6 1.7.1.4 06/23/03 cksum(1) Output: VaultTS.VV-IWS,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP: 3745678661 23671 /opt/vaultTS/ws-admserv/bin/apachectl VaultTS.VV-CORE-CMN,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP: 1251160123 49240 /var/opt/vaultTS/inside/vault/bin/ in-ws-pass 629671561 45140 /var/opt/vaultTS/inside/vault/bin/ in-ws-getpass 3568714501 12301 /opt/vaultTS/lib/libncs.sl 1622648880 49244 /opt/vaultTS/bin/vvctl VaultWS.WS-CORE,fr=A.04.60,fa=HP-UX_B.11.04_32/64,v=HP: 3862476235 45139 /opt/vaultWS/bin/owsctl Patch Conflicts: None Patch Dependencies: s700: 11.04: PHSS_27476 s800: 11.04: PHSS_27476 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_27690 PHSS_27276 PHSS_28057 Equivalent Patches: None Patch Package Size: 110 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_29316 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_29316.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_29316. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_29316.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_29316.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_29316.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: PHSS_29316: This patch has a dependency on PHSS_27476 to support "web servers running in INSIDE compartment". Please install PHSS_27476, or a supersede, before installing this patch to avoid web server startup failures.