System Unable to Check-In
I have two new Solaris 10 6/06 systems here that are not checking in with the Update Connection.
Looking in /var/log/swupas/swupas.log I see this -
Swup Agent run: Monday, 25 September 2006 11:31:29 BST
** DEBUG ON **
Attempt to get exclusive lock: 1
We have the lock!
prepare to register with Transport
Error: unable to register with Transport
com.sun.cc.transport.client.TransportDownException: proxy communication failure
at com.sun.cc.transport.client.TransportAdapter.translateException(TransportAdapte r.java:616)
at com.sun.cc.transport.client.TransportAdapter.register(TransportAdapter.java:523 )
at com.sun.cc.transport.client.TransportAdapter.<init>(TransportAdapter.java :314)
at com.sun.swup.client.agent.SwupAgent.main(SwupAgent.java:337)
Swup Agent finish: Monday, 25 September 2006 11:33:59 BST
Running /usr/lib/cc-ccr/bin/ccr -k shows this -
22
cns.assetid
cns.ccr.keyGenPath
cns.clientid
cns.component.ccragent.status
cns.component.fwagent.status
cns.component.invagent.status
cns.component.swupagent.status
cns.httpproxy.auth
cns.httpproxy.ipaddr
cns.httpproxy.port
cns.regtoken
cns.security.password
cns.security.privatekey
cns.security.publickey
cns.service.platform.status
cns.service.swupPortalMgmt.status
cns.swup.autoAnalysis.enabled
cns.swup.checkinInterval
cns.swup.lastCheckin
cns.swup.patchbaseline
cns.swup.regRequired
cns.transport.serverurl
Now from what I have read cns.transport.serverurl needs to be set, and im guessing as we go through a http proxy server here that cns.httpproxy.ipaddr and cns.httpproxy.port should also be set.
I have tried using ccr -p cns.transport.serverurl -v https://cns-transport.sun.com but it doesnt seem to make any difference, certainly when I run ccr -k again nothing in the output has changed.
Help, how do I get my servers to check in?
Thanks Adam.
# 1
Hello,
Please can you check, which processes are running.
$ ps -ef | grep cc
If there is no cc-transport process, please can you try starting it and
then checking for any errors in the system log.
$ date
$ /etc/init.d/cc-transport start
$ sleep 30
$ grep 'CNS|cc-' /var/adm/messages
If you see errors relating CNS Transport SSL certificate problems
could you please check if patch 122231-01 "SunOS 5.10 Sun Connection
agents, transport certificate update" is installed.
$ showrev -p | grep 122231-01
If the patch is not installed, please install it and retry starting
the cc-transport process.
$ smpatch update -i 122231-01
...
Only if still unsucessful, please send the following information.
$ showrev -p | egrep -e '121453|121118|120335|121081|121563|122231|119788'
$ /usr/lib/cc-ccr/bin/ccr -g cns.assetid
$ /usr/lib/cc-cfw/platform/transport/bin/cctrunner -p
Regards,
# 2
There doesnt seem to be a cc-transport program at the location you described. We are running Solaris 10 6/06 AMD64
These are the results of the commands you asked me to execute
# ps -ef | grep cc
root6166090 13:28:52 pts/20:00 grep cc
root 640110Sep 15 ?0:00 /bin/sh /usr/lib/cc-cfw/framework/lib/watchdog /usr/lib/cc-cfw/platform/ccragen
root 641010Sep 15 ?0:00 /bin/sh /usr/lib/cc-cfw/framework/lib/watchdog /usr/lib/cc-cfw/platform/fwagent
root 6415 64100Sep 15 ?0:00 /usr/lib/cc-cfw/platform/fwagent/bin/ccfwagent
root 6409 64010Sep 15 ?0:00 /usr/lib/cc-cfw/platform/ccragent/bin/ccccragent
# date
Tuesday, 26 September 2006 13:29:13 BST
# /etc/init.d/cc-transport start
/etc/init.d/cc-transport: not found
#
# 3
Try running through the following series of commands. This should hopefully correct the problem and the last command should update the check-in date when it completes
/usr/lib/cc-cfw/framework/lib/cc-client-adm stop
/usr/lib/cc-cfw/framework/lib/cc-client-adm disable
/usr/lib/cc-ccr/bin/ccr -p cns.transport.serverurl -v https://cns-transport.sun.com
/usr/lib/cc-cfw/framework/lib/cc-client-adm enable
/usr/lib/cc-cfw/framework/lib/cc-client-adm start
/usr/lib/cc-cfw/platform/invagent/bin/cc-invagent