Sconadm fails
Hi all,
I am trying to add a new system using sconadm, but it fails.
Our username's password used to have the ! char in it, so I changed the passwd via our Sunsolve account so that it contained no chars incase it confused the sconadm, but it still goves the same error message. I can log into Sunsolve with this user & passwd. Has anyone see this before ?
# /usr/sbin/sconadm register -a -r /root/registrationprofile.properties
sconadm is running
Authenticating user ...
Jan 5, 2006 4:05:51 AM com.sun.cc.platform.user.UserServiceClientImpl validate
SEVERE: Error validating user with service: com.sun.cc.platform.user.ValidationFailure: Access Denied: jojojo - Access Denied for User Authentication required access: jojojo
Your login information does not match a valid Sun Account. Please try again.
registrationprofile.properties:
userName=********
password=*******
hostName=*******
subscriptionKey=
portalEnabled=false
proxyHostName=
proxyPort=
proxyUserName=
proxyPassword=
regards, S.
PS. Username and passwd have been changed above, but are in a similar format.
Message was edited by: ForumModerator
PS machine arch is :
SunOS fway 5.10 Generic sun4u sparc SUNW,UltraAX-i2
Similar Messages
-
Solaris 9 sconadm fails to register
I've tried several different versions of java, but can't get my Solaris 9 servers to register successfully. My Solaris 10 servers are working fine, but this is the errors I get on Solaris 9. I am supplying an account number in the registration file and this does work with Solaris 10. The only difference between the Solaris 10 and Solaris 9 servers, is the lack of hostname and portalEnabled in the registration file. I've installed the latest version of update_manager for Solaris 9, the one release in August 2007.
sconadm register -a -r /etc/patch/registration
sconadm is running
Authenticating user ...
Mar 6, 2008 10:15:25 AM com.sun.cc.platform.user.UserServiceClientImpl validate
SEVERE: Error validating user with service: java.rmi.RemoteException: Runtime exception; nested exception is:
invalid SOAP envelope
Your login information does not match a valid Sun Account. Please try again.
Here is the error for the tmp file created with each attempt.
cat /tmp/basicreg20080306101416130.log
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI processInputParameter
INFO: Option:a
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI processInputParameter
INFO: Option:r /etc/patch/registration
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.adapter.CCRAdapter getValue
INFO: Running cmd := /usr/lib/cc-ccr/bin/ccr -g cns.service.swupPortalMgmt.statu
s
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI loadPropertiesFromFile
INFO: parentPath = /etc/patch
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI loadPropertiesFromFile
INFO: CLI registration profile found @ /etc/patch/registration
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.adapter.CCRAdapter getValue
INFO: Running cmd := /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.auth
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI run
INFO: OS Version: 5.9
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.advertisement.FailSafeAdvertisement
initNodeCollectionData
INFO: Initialize Node specific Data Collection items
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.advertisement.FailSafeAdvertisement
collectSIHostname
INFO: Collect Hostname
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.advertisement.FailSafeAdvertisement
collectOSName
INFO: Collect OSName
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.advertisement.FailSafeAdvertisement
collectOSVersion
INFO: Collect OSVersion
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI run
INFO: Advertisement Type: com.sun.cns.basicreg.advertisement.FailSafeAdvertiseme
nt
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfil
e
INFO: userName = dakotadavis
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfil
e
INFO: password = *****
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfil
e
INFO: subscriptionKey = ********
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfil
e
INFO: portalEnabled =false
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfil
e
INFO: proxyHost =
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfil
e
INFO: proxyPort =
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfil
e
INFO: proxyUsername =
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfil
e
INFO: proxyPassword = ****
Mar 6, 2008 10:14:16 AM com.sun.cns.basicreg.BasicRegCLI run
INFO: Authenticating user ...
Mar 6, 2008 10:14:17 AM com.sun.cns.basicreg.adapter.eCRAdapter <init>
INFO: Using eCRAdapter endpoint := https://cns-services.sun.com/UserInformationS
ervice/UserInformationService
Mar 6, 2008 10:15:25 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser
INFO: UserMgmt authenticateUser call took : 64595 ms.
Mar 6, 2008 10:15:25 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser
SEVERE: invalid username or password
Mar 6, 2008 10:15:25 AM com.sun.cns.basicreg.BasicRegCLI run
SEVERE: Your login information does not match a valid Sun Account. Please try ag
ain.
Mar 6, 2008 10:15:25 AM com.sun.cns.basicreg.BasicRegCLI run
SEVERE: authentication failed
I've tried deleting the cache, re-installing update_manager, and also tried 3 different versions of java (1.5.0_06, 1.5.0_12, and 1.6.0_03)
Has anyone had this issue and know how to fix it?Thank you for following up and for the script. Magically my Solaris 9 servers are registering today (well, so far 2 out of 2 have at least). I ran the script you provided and saw this output near the end:
"Failure: Cannot connect to retrieve Database/current.zip: Read timed out"
This is an error I was getting on Solaris 10, during the registrion process, so it seemed to be authenticating me this time. In Solaris 10, I just ran sconadm a few times and it eventually took. I went back and ran sconadm again on the Sol9 servers, and this time my servers started registering successfully. Everyone always says they didn't do anything or make any changes, but I didn't. I ran sconadm more than 20 times on each server over the past two days, and every time it failed stating something about my credentials (see original post). I re-installed update_manager, cleared cache, sprinkled fairy dust, and cursed the gods all with no change. Today it works, so I guess my servers felt your presence and decided to be submissive.
I all seriousness, thank you for your time and the script. If I have any server that still give me a problem, I report back.
Thanks a lot... -
Sconadm failed registration!
I verified proxy username/password works and SOAlogin/password works.
SOAlogin is all lower case. I tried with and without subscription key.
Please help. I want to setup this server as our Sun Connection Proxy server so we can easily patch all our servers.
Thanks!
# psrinfo -v
Status of virtual processor 0 as of: 02/19/2007 16:30:35
on-line since 02/15/2007 22:27:59.
The sparcv9 processor operates at 1002 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 1 as of: 02/19/2007 16:30:35
on-line since 02/15/2007 22:27:57.
The sparcv9 processor operates at 1002 MHz,
and has a sparcv9 floating point processor.
# uname -a
SunOS ***** 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V240
Below is the registrationprofile.properties
userName=*****
password=*********
hostName=****
subscriptionKey=NK20185588
portalEnabled=false
proxyHostName=**********
proxyPort=8080
proxyUserName=******
proxyPassword=********
Below is the log file.
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir
INFO: properties file loaded from the default config.properties
Feb 19, 2007 4:22:06 PM com.sun.scn.util.Utils getLocalHostNames
INFO: get hostname x.x.x.x
Feb 19, 2007 4:22:06 PM com.sun.scn.util.Utils getLocalHostNames
INFO: get hostname myhost.x.x.x.com
Feb 19, 2007 4:22:06 PM com.sun.scn.util.Utils getLocalHostNames
INFO: first returned hostname x.x.x.x
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setHost() = proxyhost
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setPort() = 8080
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setUser() = proxyuser
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setPassword() = proxypasswd
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: userName = SOA
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: password = *****
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: hostName =myhost
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: subscriptionKey = ********
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: portalEnabled =true
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyHost = proxyhost
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyPort = 8080
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyUsername = proxyuser
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyPassword = ****
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.BasicRegCLI run
INFO: Authenticating user ...
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getSCNClientSession
INFO: CREATING SCNClientSession
Feb 19, 2007 4:22:06 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter$LoginAccountCallbackHandler handle
INFO: account callback setting username: SOAlogin
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
SEVERE: Error: login account exception: RemoteException
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
SEVERE:
com.sun.scn.jmx.impl.UISClientLoginModule.login(UISClientLoginModule.java:216)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
javax.security.auth.login.LoginContext.login(LoginContext.java:575)
com.sun.scn.jmx.impl.UISClientLogin.login(UISClientLogin.java:198)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
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(DefaultMBeanServerInterceptor.java:815)
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203)
com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:662)
com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:618)
com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)
com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:106)
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
java.security.AccessController.doPrivileged(Native Method)
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: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:466)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
java.lang.Thread.run(Thread.java:595)
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getLoginResult
INFO: SCN Fault: RemoteException
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogs
INFO: catalog: 0
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogs
INFO: catalog.scopname: Sun Connection Network
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogs
INFO: catalog.scopURI: null
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 0
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager and Sun Update Connection to manage updates
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 1
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager using a local update source, such as Sun Connection Proxy
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 2
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Register the Solaris software without choosing an update option
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.ProductRegistration
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: ProductRegOfferingInstance
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: OCA activate: Use Sun Update Manager and Sun Update Connection to manage updates
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: with config: null
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter getSWUPOfferingFactoryMBean
INFO:
SWUPOfferingFactory ObjectName =
com.sun.scn:Vendor=Sun Microsystems Inc,assetProfile=OperatingSystem,assetSubProfile=TODO,host=199.42.67.124,name=SWUPOfferingFactory,scnType=OfferingFactory
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 0
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager and Sun Update Connection to manage updates
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 1
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager using a local update source, such as Sun Connection Proxy
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 2
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Register the Solaris software without choosing an update option
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.ProductRegistration
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: ProductRegOfferingInstance
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: Before activation, deactivate current activation: Use Sun Update Manager and Sun Update Connection to manage updates
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 0
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager and Sun Update Connection to manage updates
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 1
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager using a local update source, such as Sun Connection Proxy
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 2
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Register the Solaris software without choosing an update option
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.ProductRegistration
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: ProductRegOfferingInstance
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter deactivate
INFO: OCA deactivate: Use Sun Update Manager and Sun Update Connection to manage updates
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: OCA activate: Register the Solaris software without choosing an update option
Feb 19, 2007 4:22:07 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: with config: null
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 0
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager and Sun Update Connection to manage updates
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 1
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager using a local update source, such as Sun Connection Proxy
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 2
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Register the Solaris software without choosing an update option
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.ProductRegistration
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: ProductRegOfferingInstance
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: Before activation, deactivate current activation: Register the Solaris software without choosing an update option
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 0
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager and Sun Update Connection to manage updates
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 1
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager using a local update source, such as Sun Connection Proxy
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 2
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Register the Solaris software without choosing an update option
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.ProductRegistration
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: ProductRegOfferingInstance
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter deactivate
INFO: OCA deactivate: Register the Solaris software without choosing an update option
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: OCA activate: Use Sun Update Manager and Sun Update Connection to manage updates
Feb 19, 2007 4:22:08 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: with config: null
Feb 19, 2007 4:22:09 PM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter setSystemDisplayName
INFO: CALL SWUPOfferingInstanceMBean.setSystemDisplayName(): mc1daa99
Feb 19, 2007 4:22:09 PM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter setSWUPPortalEnabled
INFO: CALL SWUPOfferingInstanceMBean.setSWUPPortalEnableKey(): true
Feb 19, 2007 4:22:09 PM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter registerSystem
INFO: CALL SWUPOfferingInstanceMBean.register()
Feb 19, 2007 4:22:09 PM 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.AssetRegistrationException: RemoteException
Feb 19, 2007 4:22:09 PM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter registerSystem
SEVERE:
com.sun.scn.offering.swupom.SWUPOfferingInstance.register(SWUPOfferingInstance.java:398)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
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(DefaultMBeanServerInterceptor.java:815)
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203)
com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:662)
com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:618)
com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)
com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:106)
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
java.security.AccessController.doPrivileged(Native Method)
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: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:466)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
java.lang.Thread.run(Thread.java:595)
Feb 19, 2007 4:22:09 PM 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: RemoteExceptionDo you have the latest version of the toolset installed? -
# $ showrev -p | egrep '^Patch: (11978[8|9]|12033[5|6]|12108[1|2])'
# $ showrev -p | egrep '^Patch: (12111[8|9]|12145[3|4]|12156[3|4])'
# $ showrev -p | egrep '^Patch: (12223[1|2]|12300[5|6]|124463|12461[4|5])'
Additionally, have you tried registering the host using a different sun online account? (or have you previously registered systems using this sun online account?) -
#cat RegistrationProfile.properties
# CLI registration profile template version 1.0
# ******** WARNING ********
# This profile contains sensitive data: passwords and subscription
# keys. You should take care in how you handle it, ensuring that it
# is always adequately protected (mode 400 or 600, owned by root)
# and not stored on insecure file systems like those exported through
# standard NFS.
# Sun Online account information. A new account can be created by visiting
# http://updates.sun.com
userName=user1234
password=pass1234
# Name (label) of this machine as you would like it to appear on the Sun Connection
# portal. If left blank hostname will be used
hostName=myhost
# Service Plan / contract number with Sun. For more information on this topic
# please visit http://www.sun.com/service/warrantiescontracts/ . NOTE - a
# subscription key is required to use the Sun Connection Portal.
subscriptionKey=****************
# Allow this host to be managed by the Sun Connection Portal. If set to true,
# a subscription key is required.
portalEnabled=false
# HTTPS proxy information needed to connect to Sun for registration and patch
# updates.
proxyHostName=
proxyPort=
proxyUserName=
proxyPassword=
Returns:
sconadm is running
Authenticating user ...
Sun On-line Account authentication failed
failed registration!
I have tried this for almost a day with many different configuration. I have confirmed my online login id and password many times. Still nothing.Upon further notice the error logs indicate incorrect hostname :
Mar 7, 2007 4:38:52 PM com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir
INFO: properties file loaded from the default config.properties
Mar 7, 2007 4:38:52 PM com.sun.scn.util.Utils getLocalHostNames
INFO: get hostname 207.5.42.247
Mar 7, 2007 4:38:52 PM com.sun.scn.util.Utils getLocalHostNames
INFO: first returned hostname 207.5.42.247
Mar 7, 2007 4:46:23 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getLoginResult
INFO: SCN Fault: Connection refused to host: 207.5.42.247; nested exception is:
java.net.ConnectException: Connection timed out
Mar 7, 2007 4:46:23 PM com.sun.cns.basicreg.BasicRegCLI run
SEVERE: Sun On-line Account authentication failed
I have no idea where the hostname above came from or why but it is incorrect. -
Sconadm timeout - Sun On-line Account authentication failed.
Hello,
I run Solaris 10 5/08 s10x_u5wos_10 X86.
and the registration timeout. See below the basicreg.log
I copy the commands i used. and the output. I also run the suc.sh script and post in the end.
#ping 82.98.86.176
82.98.86.176 is alive
#sconadm register -a -r regfile
sconadm is running
Authenticating user ...
Sun On-line Account authentication failed
failed registration!
telnet cns-transport.sun.com 443
Trying 198.232.168.137...
traceroute to cns-transport.sun.com (198.232.168.137), 30 hops max, 40 byte packets
1 172.30.168.254 (172.30.168.254) 0.409 ms 0.241 ms 0.147 ms
2 125-230-64-254.dynamic.hinet.net (125.230.64.254) 2.334 ms 77.107 ms 1.457 ms
3 tc-kk-t64-2.router.hinet.net (168.95.149.78) 0.937 ms 1.112 ms 0.867 ms
4 220-128-17-98.HINET-IP.hinet.net (220.128.17.98) 1.246 ms tc-c12r12.router.hinet.net (220.128.17.158) 1.252 ms 1.138 ms
5 tp-crs11.router.hinet.net (220.128.2.10) 4.423 ms 4.281 ms 15.803 ms
6 220-128-4-29.HINET-IP.hinet.net (220.128.4.29) 5.076 ms 4.274 ms 4.034 ms
7 r02-s2.tp.hinet.net (220.128.4.38) 16.038 ms 4.358 ms 4.359 ms
8 r12-pa.us.hinet.net (211.72.108.121) 142.842 ms 150.936 ms 142.567 ms
9 r11-pa.us.hinet.net (202.39.83.193) 143.152 ms 142.800 ms 142.830 ms
10 206.111.12.165.ptr.us.xo.net (206.111.12.165) 142.651 ms 142.925 ms 142.852 ms
11 te-11-0-0.rar3.sanjose-ca.us.xo.net (207.88.12.69) 144.081 ms 144.510 ms 144.974 ms
12 207.88.14.117.ptr.us.xo.net (207.88.14.117) 218.322 ms 218.461 ms 217.083 ms
13 207.88.14.118.ptr.us.xo.net (207.88.14.118) 218.363 ms 217.950 ms 218.103 ms
14 207.88.183.54.ptr.us.xo.net (207.88.183.54) 214.827 ms 214.479 ms 216.544 ms
15 border7.te2-2-bbnet2.wdc002.pnap.net (216.52.127.87) 214.862 ms 215.908 ms 214.832 ms
16 seven-6.border7.wdc002.pnap.net (216.52.125.250) 214.658 ms 214.440 ms 214.558 ms
17 * * *
18 * * *
# cat basicreg20081024111737681.log
24.10.2008 11:17:48 com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir
INFO: properties file loaded from the default config.properties
24.10.2008 11:17:48 com.sun.scn.util.Utils getLocalHostNames
INFO: get hostname 82.98.86.176
24.10.2008 11:17:48 com.sun.scn.util.Utils getLocalHostNames
INFO: first returned hostname 82.98.86.176
24.10.2008 11:17:48 com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setHost() = null
24.10.2008 11:17:48 com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setPort() = null
24.10.2008 11:17:48 com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setUser() = null
24.10.2008 11:17:48 com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setPassword() = null
24.10.2008 11:17:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: userName = [email protected]
24.10.2008 11:17:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: password = *****
24.10.2008 11:17:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: hostName =
24.10.2008 11:17:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: portalEnabled =false
24.10.2008 11:17:48 com.sun.cns.basicreg.BasicRegCLI run
INFO: Authenticating user ...
24.10.2008 11:17:48 com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getSCNClientSession
INFO: CREATING SCNClientSession
24.10.2008 11:25:18 com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
SCHWERWIEGEND: Error: login account exception: Connection refused to host: 82.98.86.176; nested exception is:
java.net.ConnectException: Connection timed out
24.10.2008 11:25:18 com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
SCHWERWIEGEND:
com.sun.scn.jmx.impl.UISClientLoginModule.login(UISClientLoginModule.java:151)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
javax.security.auth.login.LoginContext.login(LoginContext.java:575)
com.sun.scn.jmx.impl.UISClientLogin.login(UISClientLogin.java:201)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
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(DefaultMBeanServerInterceptor.java:815)
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203)
com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:736)
com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:618)
com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)
com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:106)
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
java.security.AccessController.doPrivileged(Native Method)
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: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:466)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
java.lang.Thread.run(Thread.java:595)
24.10.2008 11:25:18 com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getLoginResult
INFO: SCN Fault: Connection refused to host: 82.98.86.176; nested exception is:
java.net.ConnectException: Connection timed out
24.10.2008 11:25:18 com.sun.cns.basicreg.BasicRegCLI run
SCHWERWIEGEND: Sun On-line Account authentication failed
#sh suc.sh
User: root
Logname: root
Freitag, 24. Oktober 2008 11:48 Uhr CST
xxx
smpatch settings:
patchpro.backout.directory - ""
patchpro.baseline.directory - /var/sadm/spool
patchpro.download.directory - /var/sadm/spool
patchpro.install.types - rebootafter:reconfigafter:standard
patchpro.patch.source - https://getupdates1.sun.com/
patchpro.patchset - current
patchpro.proxy.host - ""
patchpro.proxy.passwd **** ****
patchpro.proxy.port - 8080
patchpro.proxy.user - ""
smpatch analyze:
Failure: Cannot connect to retrieve detectors.jar: This system is currently unregistered and is unable to retrieve patches from the Sun Update Connection. Please register your system using the Update Manager, /usr/bin/updatemanager or provide valid Sun Online Account(SOA) credentials.
Sun UC patch revision:
120336-04
121082-06
121119-13
121454-02
123004-03
123006-07
123631-03
123896-04
124187-07
Solaris release:
Solaris 10 5/08 s10x_u5wos_10 X86
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 24 March 2008
Solaris Kernel: Generic_127128-11
Machine Type: i86pc
Platform: i86pc
Java -version:
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
Cacao Java version:
java-home=/usr/jdk/jdk1.5.0_14
Software Cluster:
CLUSTER=SUNWCall
All ccr properties:
Property not defined: 18
18:
cns.assetid:
cns.br.SunUCenabled:
true
cns.ccr.keyGenPath:
/usr/lib/cc-ccr/bin/ccrKeyGen
cns.clientid:
cns.httpproxy.auth:
cns.httpproxy.ipaddr:
cns.httpproxy.port:
cns.regtoken:
cns.security.password:
cns.security.privatekey:
cns.security.publickey:
cns.swup.UMautolaunch:
false
cns.swup.autoAnalysis.enabled:
true
cns.swup.checkinInterval:
2
cns.swup.lastCheckin:
0
cns.swup.patchbaseline:
current
cns.swup.regRequired:
true
cns.transport.serverurl:
patchsvr not installed.
Sun UC package status:
SUNWbreg not installed
SUNWdc not installed
Edited by: Denis_Theinert on Oct 24, 2008 4:13 AMI could connect all of this hosts without problems.
# telnet sun.com 80
Trying 72.5.124.61...
Connected to sun.com.
Escape character is '^]'.
^CConnection to sun.com closed by foreign host.
# telnet cns-services.sun.com 443
Trying 198.232.168.133...
Connected to cns-services.sun.com.
Escape character is '^]'.
^CConnection to cns-services.sun.com closed by foreign host.
# telnet getupdates1.sun.com 443
Trying 198.232.168.136...
Connected to getupdates1.sun.com.
Escape character is '^]'.
^CConnection to getupdates1.sun.com closed by foreign host.
# telnet a248.e.akamai.net 443
Trying 60.254.154.75...
Connected to a248.e.akamai.net.
Escape character is '^]'.
^CConnection to a248.e.akamai.net closed by foreign host.
# -
Solaris 10 8/07 failed to register (sconadm & GUI)
Hi,
I'm getting mad! :(
I'm not able to register my e6500 (bought used) to get the software updates.
I digged in the forum, but w/o any result.
I downloaded by hand any suggested patches, cleaned and restarted all cacao stuff but at the end I always get "failed registration!"
I can access to www.sun.com:80, cns-services.sun.com:443, getupdates1.sun.com:443, a248.e.akamai.net:443, cns-transport.sun.com:443
I also tried via GUI but w/o any success.
Here is the error on the log:
SEVERE: Error: SWUPOM register() exception: Failed to register asset with AMS. Error message is :com.sun.scn.offering.prom.AssetRegistrationException: InvalidAssetException
Aug 19, 2008 12:45:20 AM com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter registerSystem
SEVERE:
com.sun.scn.offering.swupom.SWUPOfferingInstance.register(SWUPOfferingInstance.java:370)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
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(DefaultMBeanServerInterceptor.java:815)
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203)
com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:736)
com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:618)
com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)
com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:106)
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
java.security.AccessController.doPrivileged(Native Method)
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: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:466)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
java.lang.Thread.run(Thread.java:595)
Aug 19, 2008 12:45:20 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: InvalidAssetException
Some further infos:
#cat /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
#java -version
java version "1.5.0_16"
Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
Java HotSpot(TM) Server VM (build 1.5.0_16-b02, mixed mode)
#cacaoadm get-param java-home
java-home=/usr/jdk/jdk1.5.0_16
here is the content of my registration profile (yes I can login as I can use those user and pass to register w/o any problem on the same subnet a Solaris x86)
userName=<removed>
password=<removed>
hostName=ent6500
subscriptionKey=
portalEnabled=false
proxyHostName=
proxyPort=
proxyUserName=
proxyPassword=
Any hint?
(last note.. all 20 CPU's are on line)
any hint would be really appreciated.INFO: calling ams.registerAsset .......
Aug 19, 2008 4:34:46 PM com.sun.scn.offering.prom.AssetManagementServiceProvider registerAsset
INFO: DEBUG: next call is ams.registerAsset
Aug 19, 2008 4:34:48 PM com.sun.scn.service.BaseServiceClient dumpThrowable
WARNING: XYXYXY
com.sun.scn.offering.service.ams.InvalidAssetException: The Asset information is invalid.
at com.sun.scn.offering.service.ams.InvalidAssetException_LiteralSerializer.doDeserialize(InvalidAssetException_LiteralSerializer.java:56)
at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
at com.sun.scn.offering.service.ams.AssetMgmtServiceIF_registerAsset_Fault_SOAPSerializer.deserializeDetail(AssetMgmtServiceIF_registerAsset_Fault_SOAPSerializer.java:159)
at com.sun.xml.rpc.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:134)
at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:192)
at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:155)
at com.sun.scn.offering.service.ams.AssetMgmtServiceIF_Stub._readBodyFaultElement(AssetMgmtServiceIF_Stub.java:483)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:208)
at com.sun.scn.offering.service.ams.AssetMgmtServiceIF_Stub.registerAsset(AssetMgmtServiceIF_Stub.java:261)
at com.sun.scn.offering.prom.AssetManagementServiceProvider.registerAsset(AssetManagementServiceProvider.java:154)
at com.sun.scn.offering.swupom.SWUPOfferingInstance.register(SWUPOfferingInstance.java:338)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
at javax.management.StandardMBean.invoke(StandardMBean.java:323)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203)
at com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:736)
at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:618)
at com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)
at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:106)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
everything is collected (CPU's HDD's...) at one point i got this warning in cacao log.
I've really no clue what the application means by "The Asset information is invalid".
I think it may be due to the fact that cpu #20 is not correctly detected:
This form the xml that is collected in cacaco
<cpu.list populated="20">
<cpu id="0">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="1">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="4">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="5">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="8">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="9">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="12">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="13">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="16">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="17">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="20">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="21">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="24">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="25">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="26">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="27">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="28">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="29">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu id="30">
<cpu.architecture>sparcv9</cpu.architecture>
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="Mhz">400</cpu.speed>
<cpu.status>P_ONLINE</cpu.status>
</cpu>
<cpu>
<cpu.architecture />
<cpu.device.id>0</cpu.device.id>
<cpu.model>UltraSPARC-II</cpu.model>
<cpu.speed units="" />
<cpu.status />
</cpu>
</cpu.list>
As you can see cpu31 is not correctly identified :(
Is this the reason?
Edited by: pinciopallino on Aug 19, 2008 5:03 PM -
Solaris 10 sconadm registration fails - InvalidAssetException
Hello, I'm having the same problem that many others seem to be having with registering a system for the first time.
Sparc system running solaris 10
I have tried the following procedures to no avail.
I can log into updates.sun.com with my username and password
1. Stop the cacao container by executing : cacaoadm stop
2. rm /var/scn/persistence/SCN*
3. /usr/lib/cc-cfw/framework/lib/cc-client-adm stop
4. /usr/lib/cc-cfw/framework/lib/cc-client-adm disable
5. /usr/lib/cc-ccr/bin/eraseCCRRepository
6. cacaoadm start
7. Attempt to register again
psrinfo -v shows all processors online
Status of virtual processor 0 as of: 02/28/2008 14:53:16
on-line since 02/28/2008 12:01:59.
The sparcv9 processor operates at 1592 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 1 as of: 02/28/2008 14:53:16
on-line since 02/28/2008 12:01:59.
The sparcv9 processor operates at 1592 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 2 as of: 02/28/2008 14:53:16
on-line since 02/28/2008 12:01:59.
The sparcv9 processor operates at 1592 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 3 as of: 02/28/2008 14:53:16
on-line since 02/28/2008 12:01:57.
The sparcv9 processor operates at 1592 MHz,
and has a sparcv9 floating point processor.
Please help....All the patches are installed..See below..Thanks
root@uusnwb0y:(/)# showrev -p | grep 120335
Patch: *120335-04* Obsoletes: Requires: 121453-01 Incompatibles: Packages: SUNWpprou
root@uusnwb0y:(/)# showrev -p | grep 121081
Patch: *121081-06* Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWccccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWccccfg, SUNWccfwctrl
Patch: 121081-08 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWccccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWccccfg, SUNWccfwctrl
root@uusnwb0y:(/)# showrev -p | grep 121118
Patch: 121118-12 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWpprou, SUNWcsmauth, SUNWupdatemgrr, SUNWppror, SUNWupdatemgru, SUNWppro-plugin-sunos-base
Patch: *121118-13* Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWpprou, SUNWcsmauth, SUNWupdatemgrr, SUNWppror, SUNWupdatemgru, SUNWppro-plugin-sunos-base
root@uusnwb0y:(/)# showrev -p | grep 121453
Patch: *121453-02* Obsoletes: 120776-03, 121086-02, 119107-07 Requires: 119574-02, 119254-06 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWccccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWpprou, SUNWcsmauth, SUNWupdatemgrr, SUNWswupcl, SUNWccccfg, SUNWccfwctrl, SUNWppror, SUNWupdatemgru, SUNWppro-plugin-sunos-base
Patch: 121081-06 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWccccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWccccfg, SUNWccfwctrl
Patch: 121081-08 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWccccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWccccfg, SUNWccfwctrl
Patch: 122231-01 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWcctpx
Patch: 120335-04 Obsoletes: Requires: 121453-01 Incompatibles: Packages: SUNWpprou
Patch: 121118-12 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWpprou, SUNWcsmauth, SUNWupdatemgrr, SUNWppror, SUNWupdatemgru, SUNWppro-plugin-sunos-base
Patch: 121118-13 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWpprou, SUNWcsmauth, SUNWupdatemgrr, SUNWppror, SUNWupdatemgru, SUNWppro-plugin-sunos-base
root@uusnwb0y:(/)# showrev -p | grep 122231
Patch: *122231-01* Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWcctpx
[root@uusnwb0y:(/|mailto:root@uusnwb0y:(/])# showrev -p | grep 123003
Patch: *123003-03* Obsoletes: Requires: Incompatibles: Packages: SUNWsamr, SUNWsam
Patch: 123630-01 Obsoletes: Requires: 123003-02 Incompatibles: Packages: SUNWscnprmr, SUNWscnprm, SUNWscnsom
Patch: 123630-02 Obsoletes: Requires: 123003-02, 124171-07 Incompatibles: Packages: SUNWscnprmr, SUNWscnprm, SUNWscnsom, SUNWscnsomr
Patch: 123630-03 Obsoletes: Requires: 123003-02, 124171-07 Incompatibles: Packages: SUNWscnprmr, SUNWscnprm, SUNWscnsom, SUNWscnsomr
Patch: 123005-05 Obsoletes: Requires: 123003-02, 123630-01 Incompatibles: Packages: SUNWbrg
Patch: 123005-06 Obsoletes: Requires: 123003-02, 123630-02, 124171-07 Incompatibles: Packages: SUNWbrg
Patch: 123005-07 Obsoletes: Requires: 123003-02, 123630-03, 124171-07 Incompatibles: Packages: SUNWbrg
Patch: 123011-01 Obsoletes: Requires: 123003-02, 123630-01, 123005-02 Incompatibles: Packages: SUNWbrgr
[root@uusnwb0y:(/|mailto:root@uusnwb0y:(/])# showrev -p | grep 123005
Patch: 123005-05 Obsoletes: Requires: 123003-02, 123630-01 Incompatibles: Packages: SUNWbrg
Patch: 123005-06 Obsoletes: Requires: 123003-02, 123630-02, 124171-07 Incompatibles: Packages: SUNWbrg
Patch: *123005-07* Obsoletes: Requires: 123003-02, 123630-03, 124171-07 Incompatibles: Packages: SUNWbrg
Patch: 123011-01 Obsoletes: Requires: 123003-02, 123630-01, 123005-02 Incompatibles: Packages: SUNWbrgr
[root@uusnwb0y:(/|mailto:root@uusnwb0y:(/])# showrev -p | grep 123893
Patch: 123893-03 Obsoletes: 124463-02 Requires: Incompatibles: Packages: SUNWcacaort
Patch: *123893-04* Obsoletes: 124463-02 Requires: Incompatibles: Packages: SUNWcacaort
[root@uusnwb0y:(/|mailto:root@uusnwb0y:(/])# showrev -p | grep 124171
Patch: 124171-06 Obsoletes: 124614-01 Requires: Incompatibles: Packages: SUNWscn-base-r, SUNWscn-base
Patch: *124171-07* Obsoletes: 124614-01 Requires: Incompatibles: Packages: SUNWscn-base-r, SUNWscn-base
Patch: 123630-02 Obsoletes: Requires: 123003-02, 124171-07 Incompatibles: Packages: SUNWscnprmr, SUNWscnprm, SUNWscnsom, SUNWscnsomr
Patch: 123630-03 Obsoletes: Requires: 123003-02, 124171-07 Incompatibles: Packages: SUNWscnprmr, SUNWscnprm, SUNWscnsom, SUNWscnsomr
Patch: 123005-06 Obsoletes: Requires: 123003-02, 123630-02, 124171-07 Incompatibles: Packages: SUNWbrg
Patch: 123005-07 Obsoletes: Requires: 123003-02, 123630-03, 124171-07 Incompatibles: Packages: SUNWbrg
[root@uusnwb0y:(/|mailto:root@uusnwb0y:(/])# showrev -p | grep 123630
Patch: 123630-01 Obsoletes: Requires: 123003-02 Incompatibles: Packages: SUNWscnprmr, SUNWscnprm, SUNWscnsom
Patch: 123630-02 Obsoletes: Requires: 123003-02, 124171-07 Incompatibles: Packages: SUNWscnprmr, SUNWscnprm, SUNWscnsom, SUNWscnsomr
Patch: *123630-03* Obsoletes: Requires: 123003-02, 124171-07 Incompatibles: Packages: SUNWscnprmr, SUNWscnprm, SUNWscnsom, SUNWscnsomr
Patch: 123005-05 Obsoletes: Requires: 123003-02, 123630-01 Incompatibles: Packages: SUNWbrg
Patch: 123005-06 Obsoletes: Requires: 123003-02, 123630-02, 124171-07 Incompatibles: Packages: SUNWbrg
Patch: 123005-07 Obsoletes: Requires: 123003-02, 123630-03, 124171-07 Incompatibles: Packages: SUNWbrg
Patch: 123011-01 Obsoletes: Requires: 123003-02, 123630-01, 123005-02 Incompatibles: Packages: SUNWbrgr -
Smpatch analyze fails to run on Solaris 10 Sparc systems
I have two Sparc Solaris 10 systems that I am unable to get to successfully patch. The 'sconadm' tool runs correctly, but smpatch bombs out with one of the following two errors:
Failure: Cannot connect to retrieve current2.zip: You are not authorized to access this service.
Failure: Cannot connect to retrieve detectors.jar: You are not authorized to access this service.'dmesg' suggests that it is failing to send the correct credentials to the update server:
Aug 18 12:23:01 pheasant root: [ID 702911 user.crit] => com.sun.patchpro.cli.PatchServices@1bcdbf6 <=Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://getupdates1.sun.com/database/current2.zipIf I attempt to download this file in a web browser, my Sun Online credentials allow me to do so, so they are valid.
I've found threads of people with similar issues, but none of the presented solutions have worked for me. I've tried updating all the related patches, but to no avail.
I've downloaded the 'suc.sh' tool and supplied the output from one of my servers:
# ./suc.sh
User: root
Logname: root
Tue Aug 18 12:30:20 BST 2009
pheasant
smpatch settings:
patchpro.backout.directory - ""
patchpro.baseline.directory - /var/sadm/spool
patchpro.download.directory - /var/sadm/spool
patchpro.install.types - rebootafter:reconfigafter:standard
patchpro.patch.source - https://getupdates1.sun.com/
patchpro.patchset - current2
patchpro.proxy.host - ""
patchpro.proxy.passwd **** ****
patchpro.proxy.port - 8080
patchpro.proxy.user - ""
smpatch analyze:
Failure: Cannot connect to retrieve current2.zip: You are not authorized to access this service.
Entitlement:
cat: cannot open /var/sadm/spool/cache/entitlement/*entitlement_client
Sun UC patch revision:
120335-04
121081-06
121081-08
121118-16
121453-02
122231-01
123003-03
123005-07
123630-03
123893-05
123893-15
124171-07
137137-09
Solaris release:
Solaris 10 5/09 s10s_u7wos_08 SPARC
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 30 March 2009
Solaris Kernel: Generic_141414-07
Machine Type: sun4v
Platform: SUNW,SPARC-Enterprise-T5120
Java versions:
System default:
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02)
Java HotSpot(TM) Server VM (build 1.5.0_19-b02, mixed mode)
Java 5:
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02)
Java HotSpot(TM) Server VM (build 1.5.0_19-b02, mixed mode)
Java 6:
Unable to locate JRE meeting specification "1.6*"
Java used by smpatch and updatemanager:
/usr/sbin/pprosvc:JAVACMD="/usr/jdk/latest/bin/java -version:1.5+"
/bin/updatemanager:JAVA_EXEC="/usr/jdk/latest/bin/java -version:1.5+"
Cacao Java version:
java-home=/usr/jdk/jdk1.5.0_19
Cacao Base Directories:
cacao.install.rt.base.dir=/
cacao.install.etc.base.dir=/
Software Cluster:
CLUSTER=SUNWCXall
All ccr properties:
18:
Property not defined: 18
cns.assetid:
EpZ/R8Qb0Pm6RveZcxEkQs65/+Q=
cns.br.SunUCenabled:
true
cns.ccr.keyGenPath:
/usr/lib/cc-ccr/bin/ccrKeyGen
cns.clientid:
ba7a3b27-d847-4abc-9453-ba80d2f6c2b0
cns.httpproxy.auth:
cns.httpproxy.ipaddr:
cns.httpproxy.port:
cns.regtoken:
3912c9d8-22e8-41d9-8e09-e7b50f186b44:1280448000000:T
cns.security.password:
tKb+Hl+DUx8YZdtTk4Dw+keG66XcqAr7FgkCJ2LT96im
cns.security.privatekey:
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIp3u860rdprUCAggA
MBQGCCqGSIb3DQMHBAh/OGl0hwjEkASCAoAm9jJrEjhB0wKNCKR3LlrREJAcmRFP
2wkS0e7CNt+W8dMRJf5I7D/eRIxaa3INaGdSiuMCHJit44tcnQaB9L31EH3xAkLB
9afGErebRM9ldlt4ScZJ6LNlgeRYu+QO4dNGjsor5XVeGaAqhGaODqFdh1tLP6eI
r2UAkRJ6ATThIPhbtvNqBZ3Dq/UyJLS3sGSh6zBo/WA/poYHzOq0tuvrYZ4wd9PH
G5LW4wGac2vEL8/FlI8dSYDYY5ENsPxTC/AzYBdldcK0gmpLZpfQO7NnHo8Hipk3
/gVRLUIKbN2nX0pT5rA4AGxj/gNiBqGY9YnEp1np1W/ZaPuqwjXFNgWUBDwI6PmR
0mae0qbNIP9UHew+r9PfNd2YQrKwjZM7lUU4y04Y1mUjziy+jThAWBKP3VAsc0a2
Ztr4EN5dofGHO54Q8gyUyh3raV0HSSyjdGwOvmo/visRmhQ/SYT6gr+aGPd3RhjA
WJN2OwRWgO6GyZWqZP47CuS6sn1R9NSVgyNIyBf7rdXHNre6Y9FhYJFYYa0DzofB
iMb/z0fQpmUtRul/8AhlSSmwS1ZCzmpH5vADPMMvjOZrjsUV7n2Fi8pZ8pzXT06W
oHccis3qDSsp/PsIaK+bCKqcFimYWHblxgCle2gtI0+p47gE9zthLeNgGiYrV3bH
8MdrMgafggL9Tmu8lPBOTpkM2DMBdRkGf63g1WVlkw3Huq5mOAzCzywvxsOhqpf2
tX7aIzBSe1z9iWkyzBUWKCObrtZmGUkD6iHQIbhCPAObv8g+0odV3kiDHxnuMp8o
tjiVQMBiThzCBfypGiv5ub96SO2in693YybafQdOl2ZdGkHYq1975jIn
-----END ENCRYPTED PRIVATE KEY-----
cns.security.publickey:
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDKy2n+88gjTxo/4za2Q92l4XBQ
ZqCpJq0WFpdRvaEiRFXQJHtv66+XfKTUufq8CuFR8OLTSrA/PpTqSNTEBvmBJf7n
NG6lXBM2fvgakxTwjtaZkvZl3Yhf8gBJp8pptuyMihStlt+u+0CBdwMmrz91wGDQ
3MNdlDRdukKn66llLwIDAQAB
-----END PUBLIC KEY-----
cns.swup.UMautolaunch:
false
cns.swup.autoAnalysis.enabled:
true
cns.swup.checkinInterval:
2
cns.swup.lastCheckin:
0
cns.swup.patchbaseline:
current
cns.swup.regRequired:
true
cns.transport.serverurl:
https://cns-transport.sun.com
patchsvr not installed.
Sun UC package status:
SUNWbreg not installed
SUNWdc not installed
Services in maintenance/disabled state:Hi, I'm also experiencing this issue. Is there an rss or bug list I can follow to check for eta/resolution?
-
Sconadm register - exception in web communication
I'm trying to use sconadm to register a machine.
It is failing, which is not great, but what is most annoying is that I cannot get it to output any useful error message.
All I get is:
# sconadm register -a -r ./registrationProfile.properties
sconadm is running
Authenticating user ...
Exception in web service communication
I have set the web proxy in the properties file (and tried on the command line). Even if I hadn't I would expect an error indicating that communication could not be established with the web server if that was the problem.
I have tried using the -l flag to specify a log file but I get this message (e.g):
The location of log file ./scon.log doesn't exist
(where ./scon.log is the arg I passed to -l)
I have got patch 121454-02 installed.
How do I go about diagnosing what is going wrong?
Thanks,
RobertAha. The log file provides a little bit extra information although not quite enough I think.
Here is the extract from the end of the log:
INFO: setting secure proxyPort:8000
12-Jan-2006 10:41:48 com.sun.cns.basicreg.common.ProxyManager setProxySettings
INFO: new proxy setting is OK !
12-Jan-2006 10:41:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: userName = rgreig
12-Jan-2006 10:41:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: password = *****
12-Jan-2006 10:41:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: hostName =rosenberg
12-Jan-2006 10:41:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: subscriptionKey = ********
12-Jan-2006 10:41:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: portalEnabled =false
12-Jan-2006 10:41:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyHost = webproxy.uk.jpmorgan.com
12-Jan-2006 10:41:48 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyPort = 8000
12-Jan-2006 10:41:48 com.sun.cns.basicreg.BasicRegCLI run
INFO: Authenticating user ...
12-Jan-2006 10:41:48 com.sun.cns.basicreg.adapter.eCRAdapter <init>
INFO: Using eCRAdapter endpoint := https://cns-services.sun.com/UserInformationS
ervice/UserInformationService
12-Jan-2006 10:42:51 com.sun.cns.basicreg.common.ProxyManager isSecureProxyEnabl
ed
INFO: secure proxy is enabled
12-Jan-2006 10:42:51 com.sun.cns.basicreg.adapter.Adapter connectToSun
INFO: secure proxy tested OK !
12-Jan-2006 10:42:51 com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser
SEVERE: Exception in web service communication
12-Jan-2006 10:42:51 com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser
SEVERE: java.lang.NullPointerException
12-Jan-2006 10:42:51 com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser
SEVERE:
com.sun.cns.basicreg.adapter.eCRAdapter.authenticateUser(eCRAdapter.java:82)
com.sun.cns.basicreg.BasicRegCLI.authenticateUser(BasicRegCLI.java:1016)
com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:653)
com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:548)
12-Jan-2006 10:42:51 com.sun.cns.basicreg.BasicRegCLI run
SEVERE: Exception in web service communication
12-Jan-2006 10:42:51 com.sun.cns.basicreg.BasicRegCLI run
SEVERE: Exception in web service communication
Any idea what the NullPointer actual results from? It does appear that it can connect to the web server. Is there any way to get it do output a stack trace?
I can't use telnet since I need to go via a web proxy.
Is the -l option to sconadm supposed to allow you to change the location of the logfile from the default in /tmp? If so, that's another bug since it does not appear to work.
Thanks for your help,
Robert -
Hello
I have a big pb :
bash-3.00# sconadm register -a -r RegistrationProfile.properties
sconadm is running
Authenticating user ...
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy5.getOfferingInstanceName(Unknown Source)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.getSWUPOfferingInstanceMBean(SWUP OMCacaoAdapter.java:145)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.setSWUPPortalEnabled(SWUPOMCacaoA dapter.java:301)
at com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:758)
at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:562)
Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SWUPOfferingFactory,assetSubProfile=TODO,host=192.168.1.82,ass etProfile=OperatingSystem,scnType=OfferingFactory,Vendor=Sun Microsystems Inc
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServ erInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(Default MBeanServerInterceptor.java:1349)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:13 00)
at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(Defaul tMBeanServerInterceptor.java:285)
at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.j ava:474)
at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(Access ControlInterceptor.java:427)
at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:113 0)
at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(Ins trumDefaultForwarder.java:153)
at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1306 )
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionIm pl.java:1303)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:766 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall .java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMI Connector.java:969)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandl er.java:201)
... 5 more
I alos check cacao log and this is the out of cacao logs.
cat /var/cacao/instances/default/logs/cacao.0
Cacao version supported: 2.0
Private paths: []
Public paths: [file:/usr/lib/scn/lib/scn-prom-offering.jar]
Library paths: []
Ignored at startup: false
Enable on demand: false
Sep 7, 2006 12:58:43 PM com.sun.cacao.element.ElementSupport setAdministrativeState
FINE: Administrative state change to UNLOCKED : com.sun.cacao:type=ModuleManager,instance="com.sun.scn.offering.ProductRegistra tion"
Sep 7, 2006 12:58:43 PM com.sun.cacao.container.impl.ContainerPrivate init
INFO: Cacao Initialization completed
Sep 7, 2006 12:59:09 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.activate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
My release is :
Solaris 10 6/06 s10s_u2wos_09a SPARC
And I have installed theses packages :
SUNWccccrr SUNWccfw SUNWccccr SUNWccsign SUNWcctpx SUNWccinv SUNWppror SUNWpprou SUNWctpls SUNWmfrun SUNWxwrtl SUNWxwice SUNWxwfnt SUNWxwplr SUNWxwplt SUNWj3rt SUNWcsmauth SUNWupdatemgru SUNWupdatemgrr SUNWzoner SUNWj5rt SUNWpoolr SUNWpool SUNWadmc SUNWadmfr SUNWadmfw SUNWadmc SUNWlur SUNWluu SUNWluzone SUNWzoneu SUNWcacaort SUNWscn-base-r SUNWscn-base SUNWsamr SUNWsam SUNWscnprmr SUNWscnprm SUNWscnsom SUNWsensor SUNWbrg SUNWbrgr SUNWccccfg SUNWccfwctrl SUNWxcu4 SUNWjdmk-base SUNWsensorr SUNWscnsomr SUNWppro-plugin-sunos-base
Anyone has an idee ? I need help !
thanksI managed to cli register using the following list of packages
SUNWzoner SUNWctpls SUNWj5rt SUNWpoolr SUNWpool SUNWadmc SUNWadmfr SUNWadmfw SUNWlur SUNWluu SUNWluzone SUNWzoneu SUNWccccrr SUNWccccr SUNWccfw SUNWccsign SUNWcctpx SUNWccfwctrl SUNWccinv SUNWccccfg SUNWcsmauth SUNWppror SUNWpprou SUNWppro-plugin-sunos-base SUNWscn-base-r SUNWscn-base SUNWsamr SUNWsam SUNWscnprmr SUNWscnprm SUNWscnsom SUNWcacaort SUNWsensor SUNWbrg SUNWbrgr SUNWxcu4 SUNWjdmk-base SUNWscnsomr SUNWsensorr
Which I am pretty sure is a strict subset of the packages you used.
In addition to what I used, you seem to have
SUNWmfrun SUNWxwrtl SUNWxwice SUNWxwfnt SUNWxwplr SUNWxwplt SUNWj3rt
SUNWupdatemgru SUNWupdatemgrr
Which will give you a windowing system and the Sun Update Manager.
and SUNWadmc (which I think should already be fully installed and doesn't need to be added???)
In any case, I think what you need to do (if you are using a proxy and s10u2 on the command line) is to first use the sconadm proxy command to set up the proxy:
sconadm proxy -r RegistrationProfile.properties
and then
sconadmregister -a -r RegistrationProfile.properties should work.
Alternatively,
sconadm register -c
should bring up the UI if you are in a windowing environment.. -
Problem register a system with sconadm
Hello guys,
I'm trying to register a Solaris 10 6/06 u2 system using sconadm, but it fails:
ryna# cat /tmp/RegistrationProfile.properties | grep -v ^# | grep -v '^$'
userName=__deather
password=XXXXXXX
hostName=
subscriptionKey=
proxyHostName=
proxyPort=
proxyUserName=
proxyPassword=
ryna# /usr/sbin/sconadm register -a -r /tmp/RegistrationProfile.properties
sconadm is running
Authenticating user ...
Exception in thread "main" java.lang.NullPointerException
at com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:695)
at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:562)
[loops forever]
^C
I've been reading various thread posted here, so here is the usually asked commands:
ryna# java -version
java version "1.5.0_16"
Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
ryna# cacaoadm get-param java-home
java-home=/usr/jdk/jdk1.5.0_16
ryna# cacaoadm status
default instance is ENABLED at system startup.
Smf monitoring process:
1995
SUNWbrg's dependencies are all satisfied, and the system is almost up-to-date (using PCA, currently).
If anyone has a clue...
Thanks!Thanks -
Here is the content of the log file. It seems to work fine at the beginning, but then it break out:
ryna# cat basicreg20081001115711845.log
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir
INFO: properties file loaded from the default config.properties
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: userName = __deather
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: password = *****
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: hostName =
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: subscriptionKey = ********
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyHost =
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyPort =
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyUsername =
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyPassword = ****
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.BasicRegCLI run
INFO: Authenticating user ...
Oct 1, 2008 11:57:40 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getSCNClientSession
INFO: CREATING SCNClientSession
Oct 1, 2008 11:57:41 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter$LoginAccountCallbackHandler handle
INFO: account callback setting username: __deather
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
INFO: SCNClientSession.login(LoginAccountCallbackHandler) = true
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
INFO:
SCNClientLoginMBean.getAuthToken() =
AQIC5wM2LY4SfcwCRQetDZ09uKP16tZ4mqcMPu6h3mYO13I=@AAJTSQACMDE=#
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogs
INFO: catalog: 0
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogs
INFO: catalog.scopname: Sun Connection Network
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogs
INFO: catalog.scopURI: null
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 0
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Use Sun Update Manager and Sun Update Connection to manage updates
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 1
Oct 1, 2008 11:57:47 PM 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 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.SoftwareUpdate
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: SoftwareUpdateOfferingInstance
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry: 2
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry name: Register the Solaris software without choosing an update option
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry module name: com.sun.scn.offering.ProductRegistration
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry instance name: ProductRegOfferingInstance
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter getOfferingCatalogEntries
INFO: entry config profile: no profile
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: OCA activate: Use Sun Update Manager and Sun Update Connection to manage updates
Oct 1, 2008 11:57:47 PM com.sun.cns.basicreg.cacao.OfferingCacaoAdapter activate
INFO: with config: null
[EOF]
As the program's output talk about a nullPointerException, we can see here the "with config: null". However, I don't know the sconadm internals to debug this out... -
Hi there,
I'm having problems using sconadm to register. My registration properties file contains:
userName=XXXXXXX
password=XXXXXXX
hostName=
subscriptionKey=XXXXXXXXXX
portalEnabled=false
proxyHostName=ourcachehost
proxyPort=NNNN
proxyUserName=XXXXXXXXX
proxyPassword=XXXXXXXXXX
This command works Ok:
/usr/sbin/sconadm proxy -r register.txt
But this command gives an error:
# sconadm register -a -r register.txt -e softwareUpdate
sconadm is running
Authenticating user ...
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy6.getOfferingInstanceName(Unknown Source)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.getSWUPOfferingInstanceMBean(SWUPOMCacaoAdapter.java:145)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.setSubscriptionKey(SWUPOMCacaoAdapter.java:180)
at com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:706)
at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:567)
Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SWUPOfferingFactory,assetSubProfile=TODO,host=10.0.11.3,assetProfile=OperatingSystem,scnType=OfferingFactory,Vendor=Sun Microsystems Inc
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1349)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1300)
at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:285)
at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.java:474)
at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(AccessControlInterceptor.java:427)
at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:1130)
at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(InstrumDefaultForwarder.java:153)
at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1306)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionImpl.java:1303)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:972)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
... 5 more
# cat /etc/release
Solaris 10 11/06 s10s_u3wos_10 SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 14 November 2006
The transport layer seems to be working Ok:
# /usr/lib/cc-cfw/platform/transport/bin/cctrunner -p
SUCCESSFUL PING
* Closing connection #0
There is a cacao error:
# tail /var/cacao/instances/default/logs/cacao.0
Jul 18, 2007 12:30:40 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.deactivate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
Jul 18, 2007 12:30:40 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.activate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
Jul 18, 2007 12:31:00 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.deactivate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
Jul 18, 2007 12:35:39 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.activate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
Jul 18, 2007 1:01:39 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.activate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
Can you help?
Thanks in advance :-)
DavidHi again,
I've upgraded java:
# java -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
but unfortunately the symptoms haven't changed:
# sconadm register -a -r register.txt -e softwareUpdate
sconadm is running
Authenticating user ...
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy6.getOfferingInstanceName(Unknown Source)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.getSWUPOfferingInstanceMBean(SWUPOMCacaoAdapter.java:145)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.setSubscriptionKey(SWUPOMCacaoAdapter.java:180)
at com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:706)
at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:567)
Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SWUPOfferingFactory,assetSubProfile=TODO,host=10.0.11.3,assetProfile=OperatingSystem,scnType=OfferingFactory,Vendor=Sun Microsystems Inc
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1349)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1300)
at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:285)
at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.java:474)
at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(AccessControlInterceptor.java:427)
at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:1130)
at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(InstrumDefaultForwarder.java:153)
at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1308)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionImpl.java:1305)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:768)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:972)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
... 5 more
# tail /var/cacao/instances/default/logs/cacao.0
Jul 18, 2007 3:25:21 PM com.sun.cacao.element.ElementSupport setAdministrativeState
FINE: Administrative state change to UNLOCKED : com.sun.cacao:type=ModuleManager,instance="com.sun.scn.offering.ProductRegistration"
Jul 18, 2007 3:25:21 PM com.sun.cacao.container.impl.ContainerPrivate init
INFO: Cacao Initialization completed
Jul 18, 2007 3:25:21 PM com.sun.cacao.common.utils.impl.ContainerUtils printContainerStatus
INFO: cacao.print.status: 0
Jul 18, 2007 3:26:43 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.activate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
Jul 18, 2007 3:27:46 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.activate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
Thanks,
David -
#sconadm register -a -r ./RegistrationProfile.properties
sconadm is running
Authenticating user ...
Sun On-line Account authentication failed
failed registration!
The RegistrationProfile.properties file is setup and filled out correctly. It's the same file used by over a dozen of our other servers.
I downloaded and ran the suc.sh program.
root@domainname:/tmp #./suc.sh
User:
Logname: root
Thu Apr 9 16:59:16 CDT 2009
domainname
smpatch settings:
patchpro.backout.directory - ""
patchpro.baseline.directory - /var/sadm/spool
patchpro.download.directory - /var/sadm/spool
patchpro.install.types - rebootafter:reconfigafter:standard
patchpro.patch.source - https://getupdates1.sun.com/
patchpro.patchset - current
patchpro.proxy.host - ""
patchpro.proxy.passwd **** ****
patchpro.proxy.port - 8080
patchpro.proxy.user - ""
smpatch analyze:
Failure: Cannot connect to retrieve detectors.jar: This system is currently unregistered and is unable to retrieve patches from the Sun Update Connection. Please register your system using the Update Manager, /usr/bin/updatemanager or provide valid Sun Online Account(SOA) credentials.
Sun UC patch revision:
120336-04
121082-06
121082-08
121119-09
121119-12
121119-13
121454-02
123004-02
123006-05
123631-01
123896-04
124187-03
124615-01
138065-02
Solaris release:
Solaris 10 11/06 s10x_u3wos_10 X86
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 14 November 2006
Solaris Kernel: Generic_137112-02
Machine Type: i86pc
Platform: i86pc
Java -version:
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
Cacao Java version:
java-home=/usr/jdk/jdk1.5.0_15
Software Cluster:
CLUSTER=SUNWCmreq
All ccr properties:
17:
Property not defined: 17
cns.assetid:
cns.br.SunUCenabled:
true
cns.ccr.keyGenPath:
/usr/lib/cc-ccr/bin/ccrKeyGen
cns.clientid:
cns.httpproxy.auth:
cns.httpproxy.ipaddr:
cns.httpproxy.port:
cns.regtoken:
cns.security.password:
cns.security.privatekey:
cns.security.publickey:
cns.swup.autoAnalysis.enabled:
true
cns.swup.checkinInterval:
2
cns.swup.lastCheckin:
0
cns.swup.patchbaseline:
current
cns.swup.regRequired:
true
cns.transport.serverurl:
patchsvr not installed.
Sun UC package status:
SUNWbreg not installed
SUNWccccfg not installed
SUNWccfwctrl not installed
SUNWccinv not installed
SUNWcctpx not installed
SUNWdc not installed
SUNWj5rtx not installed
SUNWupdatemgrr not installed
SUNWupdatemgru not installed
Please attach /tmp/domainname-090409-suc-out.Z in your reply to the Sun Update Connection Technical Support Team.
I would have attached the file, but I don't see a way to attach any files. If someone could help me register my system, I would appreciate it. Our older servers all work fine, I just can't seem to register a new one.I see that you have used the SUNWmreq cluster - technically we need the SUNWuser cluster to be used, but I would suggest that you install the following packages from your installation media:
SUNWccccfg not installed
SUNWccfwctrl not installed
SUNWccinv not installed
SUNWcctpx not installed
SUNWj5rtx not installed
SUNWupdatemgrr not installed
SUNWupdatemgru not installed
Once that has been done you will need to manually download and apply the following patches:
121119-15
123004-03
123006-07
123631-03
123896-05
124187-07
137138-09
Failing that you might want to try rebuilding using a newer release - Solaris 10 11/06 (update 3) is quite old, we are currently at 10/08 (update 6) and the next release is just around the corner.
Incidentally the suc.sh script that you have used is a little out-of-date too - I have attached a newer copy.
If you run into any problems, please run the script and collect the output generated along with the following files:
/tmp/basicreg<timestamp>.log
/var/cacao/instances/default/logs/cacao.0
Please upload these as a tarball to our [Support Uploads|http://supportuploads.sun.com/] site and then inform us the full path and name. Alternatively if you have a support contract you can raise a support case so we can look into the problem more quickly. -
hi dear members!
I am trying to register my sun box throuh sconadm but i got these error. And sconadm freez here is the message which i got.
bash-3.00# sconadm register -a -r RegistrationProfile.properties
sconadm is running
Authenticating user ...
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy5.getOfferingInstanceName(Unknown Source)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.getSWUPOfferingInstanceMBean(SWUP OMCacaoAdapter.java:145)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.setSWUPPortalEnabled(SWUPOMCacaoA dapter.java:301)
at com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:758)
at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:562)
Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SWUPOfferingFactory,assetSubProfile=TODO,host=192.168.1.82,ass etProfile=OperatingSystem,scnType=OfferingFactory,Vendor=Sun Microsystems Inc
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServ erInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(Default MBeanServerInterceptor.java:1349)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:13 00)
at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(Defaul tMBeanServerInterceptor.java:285)
at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.j ava:474)
at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(Access ControlInterceptor.java:427)
at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:113 0)
at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(Ins trumDefaultForwarder.java:153)
at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1306 )
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionIm pl.java:1303)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:766 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall .java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMI Connector.java:969)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandl er.java:201)
... 5 more
I alos check cacao log and this is the out of cacao logs.
cat /var/cacao/instances/default/logs/cacao.0
Cacao version supported: 2.0
Private paths: []
Public paths: [file:/usr/lib/scn/lib/scn-prom-offering.jar]
Library paths: []
Ignored at startup: false
Enable on demand: false
Sep 7, 2006 12:58:43 PM com.sun.cacao.element.ElementSupport setAdministrativeState
FINE: Administrative state change to UNLOCKED : com.sun.cacao:type=ModuleManager,instance="com.sun.scn.offering.ProductRegistra tion"
Sep 7, 2006 12:58:43 PM com.sun.cacao.container.impl.ContainerPrivate init
INFO: Cacao Initialization completed
Sep 7, 2006 12:59:09 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.activate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
please help me what should i dot to resolve this issue.
Regards,
Umar Drazhi dear members!
I am trying to register my sun box throuh sconadm but i got these error. And sconadm freez here is the message which i got.
bash-3.00# sconadm register -a -r RegistrationProfile.properties
sconadm is running
Authenticating user ...
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy5.getOfferingInstanceName(Unknown Source)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.getSWUPOfferingInstanceMBean(SWUP OMCacaoAdapter.java:145)
at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.setSWUPPortalEnabled(SWUPOMCacaoA dapter.java:301)
at com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:758)
at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:562)
Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SWUPOfferingFactory,assetSubProfile=TODO,host=192.168.1.82,ass etProfile=OperatingSystem,scnType=OfferingFactory,Vendor=Sun Microsystems Inc
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServ erInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(Default MBeanServerInterceptor.java:1349)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:13 00)
at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(Defaul tMBeanServerInterceptor.java:285)
at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.j ava:474)
at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(Access ControlInterceptor.java:427)
at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:113 0)
at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(Ins trumDefaultForwarder.java:153)
at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1306 )
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionIm pl.java:1303)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:766 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall .java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMI Connector.java:969)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandl er.java:201)
... 5 more
I alos check cacao log and this is the out of cacao logs.
cat /var/cacao/instances/default/logs/cacao.0
Cacao version supported: 2.0
Private paths: []
Public paths: [file:/usr/lib/scn/lib/scn-prom-offering.jar]
Library paths: []
Ignored at startup: false
Enable on demand: false
Sep 7, 2006 12:58:43 PM com.sun.cacao.element.ElementSupport setAdministrativeState
FINE: Administrative state change to UNLOCKED : com.sun.cacao:type=ModuleManager,instance="com.sun.scn.offering.ProductRegistra tion"
Sep 7, 2006 12:58:43 PM com.sun.cacao.container.impl.ContainerPrivate init
INFO: Cacao Initialization completed
Sep 7, 2006 12:59:09 PM com.sun.scn.jmx.impl.AbstractComponent log
WARNING: SCNClientConfigImpl.activate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module
please help me what should i dot to resolve this issue.
Regards,
Umar Draz -
Hi,
sun update connection jobs failed with the following message:
Unrecognized I18N key:"javax.xml.bind.JAXBException: PatchInstallOrderServiceError: Updates List size does not match Ordered list". Please contact Sun Support for comment explanation.
Regards
MarcoHi,
all patches (i.e. 10) for a certain server failed as described. This server also acts as sun update connection proxy. The whole thing seems to be a major Problem now, since all other servers also have failed jobs. But the messages is different: "Installation of update failed". But one server was capable to install 9 of 93 patches the other failed too - strange.
Here are some answers you ask for:
- Patches (on Proxy): 1220199-09 124630-11 126303-02 120812-19 120473-12 120222-21 125166-05 122860-05 119814-17 123003-03 125279-03
- /var/log/swupas/swupas.error.log is empty on all systems
- I was able to install a patch manually (e.g. 120499-09) on proxy
I unregistered the proxy the day before yesterday and waited 24h for re-registration. So, maybe the problem connected to this. The registration was made by
sconadm register -a -r registrationprofile.properties -e softwareUpdate
The proxy is a sun update connection proxy only and not a web proxy. So I understand, that 'sconadm proxy' isn't necessary.
Marco
Maybe you are looking for
-
How can I use my iPod on a PC without losing everything???!!!
I got a new PC and put iTunes in and everything but when I try to put my iPod in it's telling me that I have to restart it!!! But I can't do that cause all the songs on it are from another computer!!! I went into a computer store and the man working
-
how to embed a YouTube video into a container in Adobe Edge thank you very much
-
Hi Gurus, Please share your experiences on - When I am upgrading Non-English BW system ( from 3.x to3.5) what is special care if any should be taken or how is it different from normal BW (English) upgrade? thanks Vikash
-
Hello, Is there someone who tried to export CAD models (created in Catia V5R17 and converted to A3D with PRC conversion )with PMI data ? Is it a successful process ? I mean ,is the PMI data lost when exporting to STEP ? Thx in advance
-
Oracle RAC: SAPDBHOST on DEFAULT profile
Hi all. We are testing a RAC solution in a Distribuited Architecture: Central Instance on Windows Server 2003, DB on two Linux (RedHat5.2) nodes. The problem is STMS configuration. Apparently, we need to set the parameter SAPDBHOST of the default pro