smpatch error

Running "smpatch analyze" or "smpatch update" yields the following output only:Unexpected Failure: com.sun.patchpro.util.FailedStateException: StateMachine.start(): com/sun/cc/platform/clientsignature/CNSSignExceptionAny ideas?This is on a clean install of Solaris 10
[300 byte] By [ltechinc] at [2007-11-26 6:03:04]
# 1
Hi,Could you post the output from the command;# /usr/sbin/smpatch getCan youalso confirm if your host goes through a proxy.Scott
ForumModerator at 2007-7-6 13:27:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

There is no proxy server.

# /usr/sbin/smpatch get

patchpro.backout.directory-""

patchpro.download.directory-/var/sadm/spool

patchpro.install.types -rebootafter:reconfigafter:standard

patchpro.patch.source-https://getupdates.sun.com/solaris/

patchpro.patchset-current

patchpro.proxy.host -""

patchpro.proxy.passwd********

patchpro.proxy.port -8080

patchpro.proxy.user -""

ltechinc at 2007-7-6 13:27:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
I found that if I click on this link, https://getupdates.sun.com/solaris/, I get a page not found error!
JimCovington at 2007-7-6 13:27:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
Can you do a truss on smpatch analyze as that may show what is going wrong:# truss -fael smpatch analyzeAlso post output of:# ls -la /usr/lib/cc-ccr/lib/clientsignature.jar
ForumModerator at 2007-7-6 13:27:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

# ls -la /usr/lib/cc-ccr/lib/clientsignature.jar

/usr/lib/cc-ccr/lib/clientsignature.jar: No such file or directory

Problem found? There is no /usr/lib/cc-ccr/.

The truss output (huge) ends with:

1709/1: access("/var/sadm/pkg/.save.SMClynx/pkginfo", F_OK) Err#2 ENOENT

1709/1: access("/var/sadm/pkg/SMClynx/pkginfo", F_OK)= 0

1709/1: lseek(3, 0, SEEK_SET)= 0

1709/1: read(3, " C L A S S E S = n o n e".., 8192)= 450

1709/1: write(1, "P K G I N S T : ".., 5120)Err#32 EPIPE

1709/1: Received signal #13, SIGPIPE [default]

ltechinc at 2007-7-6 13:27:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6

The /usr/lib/cc-ccr/lib/clientsignature.jar file should be part of the SUNWccsign package while the /usr/lib/cc-ccr directory is also part of the SUNWccccr package. Can you check if these packages are recorded as being installed and check their status.

$ pkginfo -l SUNWccsign

$ pkgchk SUNWccsign

$ pkginfo -l SUNWccccr

$ pkgchk SUNWccccr

ForumModerator at 2007-7-6 13:27:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7

For what it is worth, the absence of SUNWccsign would explain the issue you encounter. The SUNWpprou package which provides smpatch for Sun Update Connection depends on (Platform Signing Library) in order to work.SUNWccsign should deliver the clientsignature.jar that is missing. I don't know how your system got into this state, however I'd strongly consider removing and re-installing the Sun Update Connection again.

ejrider at 2007-7-6 13:27:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8

I found that if I click on this link, https://getupdates.sun.com/solaris/, I get a page not found error!

You should be receiving a "Bad request" message. I guess that I should add an index page there, or at least a better message and a redirect to the portal. I have created a P4 CR (6316747) for this.

Frederic

LostInColorado at 2007-7-6 13:27:17 > top of Java-index,Administration Tools,Sun Update Connection-System...