System shows up, is uploading state, but shows no available updates

I have a system that is registered to use Sun Update Connection. Its registering just fine, and its even uploading its current information.

The machine is missing a heck of a lot of patches, at least as far as "smpatch analyze" is concerned. However, in the update connection the system shows as requiring no updates.

update connection does have the current list of patches, and I even added one with smpatch myself and watched it get populated to the update cnnetion the next time swupas ran.

Any idea why my system is showing no available updates?

Thanks

[587 byte] By [steingra] at [2007-11-26 6:04:47]
# 1

Providing it's showing as having checked in to the portal regularly it could be that the inventory data is not being sent for some reason. Check that a similar entry to the following exists in roots crontab -

43 12 * * * /usr/lib/cc-cfw/platform/invagent/bin/cc-invagent

Also check that it is completing successfully (ie. no errors in /var/cron/log).

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

My cron jobs look like this:

8 14 * * * /usr/lib/cc-cfw/platform/invagent/bin/cc-invagent

20 * * * * /usr/lib/patch/swupas > /dev/null 2>&1

08 2 * * * /usr/lib/patch/swupAuto > /dev/null 2>&1

And the last log entry for the invagent was:

> CMD: /usr/lib/cc-cfw/platform/invagent/bin/cc-invagent

> root 6264 c Sun Dec 4 14:08:00 2005

steingra at 2007-7-6 13:31:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
Check to see if there are any errors logged in the following files - # /var/log/swupas/swupas.log# /var/log/swupas/swupas.error.log
ForumModerator at 2007-7-6 13:31:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
Have you tried running 'smpatch analyze' twice yet ? I've encountered many cases now where it would simply "pick up where it left off" in the first run and in the second get it all right. Which also applied on the combination of the GUI vs. CLI environment.
LionO at 2007-7-6 13:31:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

No errors in either of those files. Here is a summary of my ccr settings:

cns.assetid

NEGATIVE NUMBER I STRIPPED

cns.component.ccragent.status

enabled

cns.component.fwagent.status

enabled

cns.component.invagent.status

enabled

cns.component.swupagent.status

enabled

cns.component.transport.status

enabled

cns.service.platform.status

enabled

cns.service.swupPortalMgmt.status

enabled

cns.swup.autoAnalysis.enabled

true

cns.swup.checkinInterval

2

cns.swup.lastCheckin

18899670

cns.swup.patchbaseline

current

cns.swup.regRequired

true

cns.transport.serverurl

https://cns-transport.sun.com

In my log file after runnng swupas with the -debug flag,

Swup Agent run: Wed Dec 7 12:44:23 CST 2005

** DEBUG ON **

Attempt to get exclusive lock: 1

We have the lock!

prepare to register with Transport

Registration complete

Sleeping 90 secs...

OK, WE'RE AWAKE AGAIN!...

Updated last checkin time in CCR: 18899670

Number of swup server cmds to be executed: 0

smpatch collection name:current

need an analysis update: true

UpdateAnalysis: executing cmd: /usr/sbin/smpatch analyze -@ -C patchpro.patchset=current

UpdateAnalysis: cmd exit code: 0

UpdateAnalysis: cmd output: 120199-03.id=120199-03

120199-03.syn=SunOS 5.10: sysidtool Patch

120199-03.obs=

120199-03.req=

120199-03.inc=

120199-03.obsc=

120199-03.prf=

120199-03.rel=20051111

120199-03.size=45373

...

So it appears that it is finding patches to apply after having run smpatch analyze.

Still no patches listed on the updates.sun.com site as available.

steingra at 2007-7-6 13:31:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6

I see the same problem ie. the web page show me lots of applied updates but it shows 0 updates available despite smpatch analyze showing many outstanding. This is the same situation on all 3 servers I have registered so far.

...And a question. What is the meaning/purpose of the portalEnabled entry in the registration file?

INSJohn at 2007-7-6 13:31:09 > top of Java-index,Administration Tools,Sun Update Connection-System...