Cannot connect to retrieve Database/current.zip: You are not authorized

Hi everyone,

I've got a freshly installed (10u2) amd-system (V20z). Given the 'hide and seek' that's been happening with the Solaris 10 patchclusters, I decided to give smpatch a try.

I've succesfully registered the system (I think):

/usr/sbin/sconadm register -a -r /tmp/RegistrationProfile.properties

sconadm is running

Authenticating user ...

finish registration!

Is 'finish registration!' meant to be a status message, or does it attempt to tell me to take some action? If so, which action? I've been following the Update Connection docs on sunsolve. Unfortunetely, SunSolve is down (AGAIN!) and I have no access to the administration manuals.

I'm going for 'system' level registration for now, using an account that has access to SunSolve but we're not using an entitlement for it for now.

Trying to run 'smpatch analyze' gets me several pages of java backtrace, but I think it boils down to this one:

root: => com.sun.patchpro.cli.PatchServices@1f82982 <=com.sun.patchpro.util.CannotConnectException: Cannot connect to retrieve Database/current.zip: You are not authorized to access this service.

Any help would be much appreciated.

Regards, Paul Boven.

P.s.: Yes, I'm aware of PCA already ;-)

[1305 byte] By [Paul_Boven] at [2007-11-26 9:09:11]
# 1
I have the same problem today, I didpatchsvr stoppatchsvr setup -p https://getupdates1.sun.com/solaris/patchsvr stopand it works now. The default value was https://getupdates.sun.com/solaris/
v0vik at 2007-7-6 23:26:28 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
Thanks for the reply.I cannot find 'patchsvr' on my system (Solaris 10u2, SUNWCall installed).However, 'smpatch get' shows that I'm already trying to connect to https://getupdates1.sun.com/solaris. Still doesn't work, though.
Paul_Boven at 2007-7-6 23:26:28 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

Hi Paul

Looks like the authorisation is failing due to a bad registration for some reason.

Would you be kind enough to clear out the registration to ensure we are dealing with a fresh start and no information is being used which may have become corrupt. You may do this by following this procedure;

Remove existing reg details

# usr/lib/cc-ccr/bin/eraseCCRRepository

List /tmp/RegistrationProfile.properties file

# cat /tmp/RegistrationProfile.properties

Attempt re-registration

# sconadm register -a -r /tmp/RegistrationProfile.properties

Send us the full output of the commands above if you would please.

ForumModerator at 2007-7-6 23:26:28 > top of Java-index,Administration Tools,Sun Update Connection-System...