Registration Errors

Hi All,

On my solaris 10 x86 system when I attempt to register with sconadm I get a registration failed message, the profile looks like so:

(using updatemanager I get a message saying error in SWUP/Cacao Register System)

userName=xxxxxxxx

password=xxxxxxxxxx

hostName=

subscriptionKey=

portalEnabled=false

proxyHostName=

proxyPort=

proxyUserName=

proxyPassword=

Looking at the log I see:

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir

INFO: properties file loaded from the default config.properties

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: userName = ********

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: password = *****

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: hostName =

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: subscriptionKey = ********

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: portalEnabled =false

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: proxyHost =

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: proxyPort =

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: proxyUsername =

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: proxyPassword = ****

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.BasicRegCLI run

INFO: Authenticating user ...

Oct 29, 2006 1:19:55 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getSCNClientSession

INFO: CREATING SCNClientSession

Oct 29, 2006 1:19:56 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter$LoginAccountCallbackHandler handle

INFO: account callback setting username: ********

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount

INFO: SCNClientSession.login(LoginAccountCallbackHandler) = true

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount

INFO:

SCNClientLoginMBean.getAuthToken() =

AQIC5wM2LY4SfcziwdoD3GzZyUfj6O8XX4KKs8RtLCovmZ0=@AAJTSQACMDE=#

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogs

INFO: catalog: 0

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogs

INFO: catalog.scopname: Sun Connection Network

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogs

INFO: catalog.scopURI: null

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry: 0

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry name: Use Sun Update Manager and Sun Update Connection to manage updates

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry module name: com.sun.scn.offering.SoftwareUpdate

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry instance name: SoftwareUpdateOfferingInstance

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry config profile: no profile

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry: 1

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry name: Use Sun Update Manager using a local update source, such as Sun Connection Proxy

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry module name: com.sun.scn.offering.SoftwareUpdate

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry instance name: SoftwareUpdateOfferingInstance

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry config profile: no profile

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry: 2

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry name: Register the Solaris software without choosing an update option

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry module name: com.sun.scn.offering.ProductRegistration

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry instance name: ProductRegOfferingInstance

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries

INFO: entry config profile: no profile

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate

INFO: OCA activate: Use Sun Update Manager and Sun Update Connection to manage updates

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate

INFO: with config: null

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter setSWUPPortalEnabled

INFO: CALL SWUPOfferingInstanceMBean.setSWUPPortalEnableKey(): false

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter getSWUPOfferingFactoryMBean

INFO:

SWUPOfferingFactory ObjectName =

com.sun.scn:Vendor=Sun Microsystems Inc,assetProfile=OperatingSystem,assetSubProfile=TODO,host=xxx.xx.xx.x,name=SWU PO

fferingFactory,scnType=OfferingFactory

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter setSystemDisplayName

INFO: CALL SWUPOfferingInstanceMBean.setSystemDisplayName():

Oct 29, 2006 1:20:00 AM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter registerSystem

INFO: CALL SWUPOfferingInstanceMBean.register()

Oct 29, 2006 1:20:01 AM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter registerSystem

SEVERE: Error: SWUPOM register() exception: Failed to register asset with AMS. Error message is :com.sun.scn.offering.prom.As

setRegistrationException: InternalResourceException

Oct 29, 2006 1:20:01 AM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter registerSystem

SEVERE:

com.sun.scn.offering.swupom.SWUPOfferingInstance.register(SWUPOfferingInstance. java:525)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

java.lang.reflect.Method.invoke(Method.java:585)

com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:4 14)

javax.management.StandardMBean.invoke(StandardMBean.java:323)

com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213 )

com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)

com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServer Interceptor.java:815)

com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)

com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServe rInterceptor.java:203)

com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:662)

com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInte rceptor.java:618)

com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)

com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefault Forwarder.java:106)

javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.jav a:1408)

javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java :81)

javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnec tionImpl.java:1245)

java.security.AccessController.doPrivileged(Native Method)

javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnecti onImpl.java:1348)

javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782 )

sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

java.lang.reflect.Method.invoke(Method.java:585)

sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)

sun.rmi.transport.Transport$1.run(Transport.java:153)

java.security.AccessController.doPrivileged(Native Method)

sun.rmi.transport.Transport.serviceCall(Transport.java:149)

sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

java.lang.Thread.run(Thread.java:595)

Oct 29, 2006 1:20:01 AM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter getRegisterResult

INFO: SWUPOM Fault: Failed to register asset with AMS. Error message is :com.sun.scn.offering.prom.AssetRegistrationException

: InternalResourceException

I've checked the other forum posts, made sure my username was all in lowercase, installed all the patches mentioend in the other posts etc, still no luck.

Any help would be hugely appreciated!

[9884 byte] By [Symmetria] at [2007-11-26 11:06:54]
# 1
Hi.If you haven't already, could you create a new sun.com account (all lowercase username, as you mentioned), then run the following:# /usr/lib/cc-ccr/bin/eraseCCRRepositorythen try registering again wit the new sun.com account.Mod.
ForumModerator at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
Thanks for the prompt response!I tried the above, and then reran the registration with identical results. It authenticates me, then it fails the registration.Any other things I can possibly try?ThanksAndrew
Symmetria at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
Hi again.Is it possible that this host was previously registered for Sun Update, perhaps by a previous owner?Mod.
ForumModerator at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
No chance of that, this is the first time the system has ever had solaris on it since being purchased.
Symmetria at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5
Can you confirm that this host can reach:https://cns-services.sun.comThis is the server which handles registrations, so I'd like to make sure that this isn't just a connectivity issue.Mod.
ForumModerator at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6
Could you also check that none of your processors are in state FAULTED or SPARE:# psrinfo -v
ForumModerator at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7

Hi There,

With regards the above queries:

All processors are online (see below)

bash-3.00# psrinfo -v

Status of virtual processor 0 as of: 10/30/2006 07:50:54

on-line since 10/30/2006 06:54:11.

The i386 processor operates at 2993 MHz,

and has an i387 compatible floating point processor.

Status of virtual processor 1 as of: 10/30/2006 07:50:54

on-line since 10/30/2006 06:54:16.

The i386 processor operates at 2993 MHz,

and has an i387 compatible floating point processor.

With regards connectivity, its definately reachable as per below:

bash-3.00# telnet cns-services.sun.com 443

Trying 198.232.168.133...

Connected to cns-services.sun.com.

Escape character is '^]'.

Thanks!

Andrew

Symmetria at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8
We've not collected any version information yet. Please post the following:$ cat /etc/release$ cat /var/sadm/system/admin/CLUSTER$ java -version$ showrev -p | grep 121119
ForumModerator at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 9

Solaris 10 6/06 s10x_u2wos_09a X86

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.

Use is subject to license terms.

Assembled 09 June 2006

-bash-3.00# cat /var/sadm/system/admin/CLUSTER

CLUSTER=SUNWCall

-bash-3.00# java -version

java version "1.5.0_06"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)

Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)

-bash-3.00# showrev -p | grep 121119

Patch: 121119-06 Obsoletes: Requires: 121454-02 Incompatibles: Packages: SUNWppror, SUNWpprou, SUNWupdatemgru, SUNWupdatemgrr, SUNWppro-plugin-sunos-base

Patch: 121119-08 Obsoletes: Requires: 121454-02 Incompatibles: Packages: SUNWppror, SUNWpprou, SUNWupdatemgru, SUNWupdatemgrr, SUNWppro-plugin-sunos-base

Symmetria at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 10
The version of Java is likely to be the problem here. Please upgrade to Java 1.5.0 Update 9 as older versions of Java had a bug which caused problems with Sun UC registrations. http://java.sun.com/javase/downloads/index.jsp
ForumModerator at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 11

Upgraded JAVA as per the following:

bash-3.00# java -version

java version "1.5.0_09"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)

Java HotSpot(TM) Server VM (build 1.5.0_09-b03, mixed mode)

Attempted to run sconadm and got the same error, as per the extract from the log below:

SEVERE: Error: SWUPOM register() exception: Failed to register asset with AMS. Error message is :com.sun.scn.offering.prom.As

setRegistrationException: InternalResourceException

Symmetria at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 12

Try clearing any residual registation data by using the following sequence and then trying again:

# cacaoadm stop

# rm /var/scn/persistence/SCN*

# /usr/lib/cc-cfw/framework/lib/cc-client-adm stop

# /usr/lib/cc-cfw/framework/lib/cc-client-adm disable

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

# cacaoadm start

If you still get the same error let us know. Also confirm that you are able to log into Sun sites such as mysun.sun.com with the user account you are trying to register with. If you are specifying a subscription key when registering let us know.

ForumModerator at 2007-7-7 3:21:07 > top of Java-index,Administration Tools,Sun Update Connection-System...