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]
# 1
Turns out this crops up after installing various Veritas products. This affects Solaris 9 only.Got to love it, install Veritas and you can no longer run smpatch analyze!Sun support is working it, the said lots of cases opened on this one.
jwbledsoe at 2007-7-6 13:27:22 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
This is seen on Solaris 9 during initial Veritas 4.1 VCS install when patch 117499-02 is applied to VRTSat.The case is still open with Sun, not sure whether it is a Sun or Veritas issue yet.If you have seen it, then at least you know what to keep an eye on.
jwbledsoe at 2007-7-6 13:27:22 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 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

ElCoyote_ at 2007-7-6 13:27:22 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
BTW, Solaris 10 suffers from the same problem too.As usual backing out patch 117499-02 fixes the problem.I have submitted service request number 37445166 about this issue.Regards,Vincent
ElCoyote_ at 2007-7-6 13:27:22 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5
Would you mind providing patch 117499-02 .zip to yann-marie.cordier@sun.com?Yours, Yann-Marie Cordier
yannmariecordier@suncom at 2007-7-6 13:27:22 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 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.

jwbledsoe at 2007-7-6 13:27:22 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7
New version of patch 117499 will be available on sunsolve by 21 Nov 2005 if things goes as plan.
yannmariecordier@suncom at 2007-7-6 13:27:22 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8
It also affects 2.10!
herndontech at 2007-7-6 13:27:22 > top of Java-index,Administration Tools,Sun Update Connection-System...