The Sun Microsystems PatchPro command "smpatch analyze" fails with Java exceptions after pkgadd of VRTSat Patch 117499-02

Article:TECH43093  |  Created: 2005-01-10  |  Updated: 2011-06-08  |  Article URL http://www.symantec.com/docs/TECH43093
Article Type
Technical Solution


Environment

Issue



The Sun Microsystems PatchPro command "smpatch analyze" fails with Java exceptions after pkgadd of VRTSat Patch 117499-02


Solution



Systems with the VRTSat package, included with many of the VERITAS Storage Foundation (tm) and VERITAS Cluster File Solution 4.1 for Solaris products, are susceptible to this issue.
This issue does not impact any VERITAS product functionality.

The symptoms were discovered when the Sun PatchPro software was run on a server.
Example of an unsuccessful execution of "smpatch analyze":
# /usr/sadm/bin/smpatch analyze
com.sun.patchpro.util.FailedStateException: State failed with unexpected Throwable java.lang.Exception: Sequencer failed.. Refer to the log file for more details.
at com.sun.patchpro.util.StateMachine.start(StateMachine.java:375)
at com.sun.patchpro.util.StateMachine.start(StateMachine.java:192)
at com.sun.patchpro.util.StateMachine.start(StateMachine.java:163)
at com.sun.patchpro.model.PatchProModel$InnerSequencerThread.run(PatchProModel.java:2490)
Caused by:
java.lang.Exception: Sequencer failed.
at com.sun.patchpro.model.PatchProModel.runSequencer(PatchProModel.java:1919)
at com.sun.patchpro.model.PatchProStateMachine$9.run(PatchProStateMachine.java:482)
at com.sun.patchpro.util.State.run(State.java:266)
at java.lang.Thread.run(Thread.java:536)



Running showrev -p is the easiest way to detect if your installation will be affected by this patch packaging error:
# showrev -p | grep 117499
Patch: 117499-02 Obsoletes: ³??\¦?ö?-?Ã?Dê?­?(xð?ÿ?ö?P?d?ä9Ã?V Requires: Incompatibles: Packages: VRTSat    (actual text)


Resolution:

This issue is described and resolved as part of Incident e412536. It is generally recommended to remove the corrupted patch, and replace it with the patch available at:
 

Solaris 8/9 Patch can be obtained using the following process:

# ftp ftp.veritas.com
login: symsupport
passwd: iS*pp8rT1
ftp> bin
ftp> get /pub/support/e412536.4.1.117499-02.SxRT.tar.gz
 

Instructions for removing the patch and reinstalling the "replacement patch":

1. Confirm the patch has the issue of the corrupted entry:

# showrev -p | grep 117499
Patch: 117499-02 Obsoletes: ³??\¦?ö?-?Ã?Dê?­?(xð?ÿ?ö?P?d?ä9Ã?V Requires:  Incompatibles: Packages: VRTSat  (actual text)

2. Remove the patch with patchrm:

# patchrm 117499-02
Checking installed patches...
Backing out patch 117499-02...
Patch 117499-02 has been backed out.

3. Prepare and install the patch:

# cd /tmp
# gzcat e412536.4.1.117499-02.SxRT.tar.gz | tar -xf -
# patchadd 117499-02
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch number 117499-02 has been successfully installed.
See /var/sadm/patch/117499-02/log for details
Patch packages installed:
 VRTSat

4. Confirm that the corrupted pkginfo has been fixed:

# showrev -p | grep 117499
Patch: 117499-02 Obsoletes:  Requires:  Incompatibles:  Packages: VRTSat

Note: If the files under /var/sadm/pkg/VRTSat/save have been manually edited, the command patchrm 117499-02 will fail to back out the patch.
 

 

Solaris 10 specific patch can be download using the following process:

# ftp ftp.veritas.com
login: symsupport
passwd: iS*pp8rT1
ftp> bin
ftp> get /pub/Intuit/e412536.4.1.117499-02.SxRT.tar.gz


Supplemental Materials

Value412536
Description

117499-02 has a corrupted pkginfo entry causing SUNW patch management software to fail.


Legacy ID



278391


Article URL http://www.symantec.com/docs/TECH43093


Terms of use for this information are found in Legal Notices