com.sun.patchpro.util.FailedStateException: State failed...
smpatch analyze was working fine last week, now I get this error. Anyone have any ideas?
# 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.jav a: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:534)
[945 byte] By [
jwbledsoe] at [2007-11-26 6:03:06]

# 3
It's the same here..
On both Solaris 8 and Solaris 9, if SFHA 4.1 or VCS 4.1 is installed and includes 117499-02, then patch manager stops working.. This seems to corrupt pkg information as 'showrev -p|grep 117499' shows some garbage.
Backing out patch 117499-02 fixes the problem.
Thanks for this report, it allowed me to fix my problem.
For the record, I installed VCS 4.1 from CD's, not from contract software downloads.
Best regards,
Vincent
# 6
Veritas said it will be fixed in v4.1 MP1
They initially advised the work around is to remove the garbage in the file rather than removing the patch.
/var/sadm/pkg/VRTSat/pkginfo
ACTIVE_OBSOLETES=
PATCH_INFO_117499-02=
apparently the now they have another patch.
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:
ftp://ftp.veritas.com/pub/support/e412536.4.1.117499-02.SxRT.tar.gz
Instructions for removing the patch and re-installing the "replacement patch"
1. Confirm that patch has the issue of corrupted entry.
# showrev -p | grep 117499
Patch: 117499-02 Obsoletes: ?\?-?螪?(x??P?d?赩 Requires: Incompatibles: Packages: VRTSat
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 backout the patch.