Attempt to install UpdateConnection on new Ultra 20 fails

I have a new Ultra 20 and when I try to install the update manager, I get a failure (see transcript below). I'm stuck.

Also, with this Sun Ultra 20 I purhcased a three-year support contract. However, nobody at Sun can find my support contract number and I can't sign up for SunSolve without one. How does one get past this barrier?

-mel

# ./installUpdateConnection

Adding patch 119575-02

Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Done!

Checking patches that you specified for installation.

Done!

Approved patches will be installed in this order:

119575-02

Checking installed patches...

Verifying sufficient filesystem capacity (dry run method)...

Patch 119575-02 failed to install due to a failure produced by pkgadd.

See /var/sadm/patch/119575-02/log for details

Patchadd is terminating.

bash-3.00# cat /var/sadm/patch/119575-02/log

This appears to be an attempt to install the same architecture and

version of a package which is already installed. This installation

will attempt to overwrite this package.

/home/mel/Downloads/updateConnection/patches/119575-02/SUNWcsu/install/checkins tall: /home/mel/Downloads/updateConnection/patches/119575-02/SUNWcsu/install/checkins tall: cannot open

pkgadd: ERROR: checkinstall script did not complete successfully

Dryrun complete.

No changes were made to the system.

[1542 byte] By [melbeckman] at [2007-11-26 6:03:48]
# 1

Hi,

The 'cannot open' is generally a permission problem.

pkgadd calls the checkinstall script as the user 'install'

(if present on the system) or 'nobody'.

If this user does not have permission to read the checkinstall

file, then there will be an error.

Can you provide the output of ls -l on these files.

ForumModerator at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
I ran the installer as root, so permissions would not be a probem, would it? -mel
melbeckman at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

The error log from the patchadd command indicates the patch was missing the checkinstall file. The Sun Update Connect download version for the sparc platform does not include the patches for the x86 platform (but has an empty directory for the 119575-02 patch).

Could you download the x86 version of Sun Update Connection for your AMD Opteron based Ultra 20 and retry installing?

Note that the Sun Update Connection support team are unable to assist with contract issues. We can only assist with problems relating to registering a system with a known contract ID or subscription key.

ForumModerator at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4

We did originally install the x86 version (the UpdateConnection dowload file is named updateConnection-i386.zip). But just to make sure I downloaded it again and reran updateConnectionInstall as root and got the same results.

This is a Sun Ultra 20, an Opteraon-based machine, so this should be the correct installer, no?

-mel

melbeckman at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

Going back to the original thought regarding permissions -

Although you run the installer as root it actually runs scripts as either the "install" user (if present) or "nobody". If the system has been hardened to tighten the security on "nobody" it could cause this error. Does "nobody" have appropriate permissions?

ForumModerator at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6
How do I know what "appropriate permissions" are? Can you be more specific. Since I've not changed any of the permissions or reinstalled anything since the box was shipped, shouldn't it have the permissions originally delivered with the box? -mel
melbeckman at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7
Can I check the location where you extracted the software and are trying to install it software from?Could you try extracting the software to the /var/tmp directory and installing it from there?
ForumModerator at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8

That worked! It now says its installed and I will try using it.

Sun definitely needs to note this requirement in the instructions. There is no read-me file with the download, and the sole direction on the Update Manager Get Started page is:

"Step 2: Download the Sun Update Connection client software (the Sun Update Manager) then run the installer."

I wonder how many people encounter the same frustration I did because these instructions are too vague?

-mel

melbeckman at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 9
OK, new problem. How do you run the thing? There is zero documentation on running the updateManager, and it isn't named anything obvious that I can find, or located anywhere obvious, like /opt/SUNWspro. -mel
melbeckman at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 10

I'm perhaps just not seeing this, but there appears to be no documentation online for UC. The UC Get Started page say:

he following Sun Update Connection services, System Edition documentation is available on the Sun Download Center (SDLC)[http://www.sun.com/download/products.xml?id=42e02045] Web site.

Sun Update Manager 1.0 Administration Guide

Sun Update Connection 1.0 Administration Guide

smpatch(1M) man page

patchsvr(1M) man page

Sun Update Connection, System Edition 1.0 Installation Guide and Release Notes

But I find nothing on that page but links to the binary installed. How do I run UC for the first time? How do I get the admin guide?

-mel

melbeckman at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 11

Can't tell you how to find the docs but I can tell you how to start it.

Any of 3 ways for JDS users:

/usr/bin/updatemanager

JDS Launch menu: Launch->Applications->Utilities->Update Manager

clicking the Update Manager icon in the Notification tray residing in the Gnome panel.

For CDE users:

/usr/bin/updatemanager

Update Manager icon in the CDE Application Mgr

-Dave

rave@sun at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 12

You can get the documentation of UC from:

Sun Update Manager 1.0 Administration Guide

http://docs.sun.com/app/docs/doc/835-0615

Sun Update Connection 1.0 Administration Guide

http://docs.sun.com/app/docs/doc/835-0616

Sun Update Connection, Sytstem Edition 1.0 Release Notes

http://docs.sun.com/app/docs/doc/916-1619

The documentation is also available by clicking 'Help and Support' on the Sun Update web site.

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

OK, thanks for the pointers to the documentation.

I've encountered what appears to be a bug. After registering my machine with UpdateConnection, the UpdateManager application started its "Analyzing system" process. It has hung on that proces for several hours, with the progress bar at about the 50% point. The bar is not moving, and the Cancel button does not respond. Is there a graceful way to end this process, and how can I determine where it's gone wrong?

-mel

melbeckman at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 14

You may be able to determine the process that is running by grepping the output of ps for "updatemanager" and kill it with kill or some similar means. Obviously "xkill" or it's ilk will also kill it, but none of this would meet my standard for "graceful".

As for determining what is the problem... one thing to try is starting Update Manager from the command line with /usr/bin/updatemanager -debug and capturing that output.

Similarly running smpatch analyze from the command line may reveal some useful infromation, as Update Manager uses smpatch under the hood.

Finally you can get some useful registration information from ccr

/usr/lib/cc-ccr/bin/ccr

Using the option to get the cns.assetid parameter will indicate if the registration process stored an assetid for your system, and may help check for backend errors as well...

/usr/lib/cc-ccr/bin/ccr -g cns.assetid

ejrider at 2007-7-6 13:28:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 15

Well, the program was obviously wedged, so I killed it -9, rebooted my machine, and ran updatemanager again. It now runs the analysis procedure all the way though but ends with a pop-up dialog saying:

"READ SYSTEM ANALYSIS DATA ERROR

There is an error in reading system and analysis data. Click on Check for Updates to restart a system analysis. If the problem perisists, report the problem to Sun."

So, I'm reporting it. This is the only place I can report it, unfortunately, because this brand new Ultra-20, which I've had for a week, STILL DOESN"T HAVE A SUPPPORT CONTRACT! Sun is way, way remiss in this. And the tech support group won't let me open any software cases without a contract, no exceptions they say.

So please, Sun, help me out!

-mel

melbeckmana at 2007-7-21 14:57:54 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 16

Sorry, I can't help you out with the support contract side but I would like

to know why you're getting the error you're getting. There is a bug that will be fixed in the next release that causes UM to show this error dialog when there are no avaiable updates for your system. What is the output from the following command:

smpatch analyze

This should tell us if you are running into this particular bug.

-Dave

rave@suna at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 17

Here's something to look at:

A number of processes create a directory /tmp/<yourLoginID> with protection 700. If this directory was created while you are "su", then it will be owned by root and later actions by "normal you" will fail. If it is created by "normal you", then later actions by "su" will fail. I get bit by this over and over, and the error message is un-helpful. The workaround is to "chmod 777 /tmp/<yourLoginID>".

Hope this helps.

HardWorkera at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 18

There was no tmp/<yourLoginID> directory, but that's a good artifact to know about! Thanks Hardworker!

Here's the output of smpatch analyze:

119146-02 SunOS 5.10_x86: usr/snadm/lib Patch

119253-03 SunOS 5.10_x86: System Administration Applications Patch

120200-02 SunOS 5.10_x86: sysidtool Patch

119316-03 SunOS 5.10_x86: Solaris Management Applications Patch

119314-03 SunOS 5.10_x86: WBEM Patch

119251-02 SunOS 5.10_x86: usr/sbin/install.d/pfinstall Patch

119535-02 SunOS 5.10_x86: Flash Archive Patch

119255-02 SunOS 5.10_x86: Install and Patch Utilities Patch

119784-01 SunOS 5.10_x86 : bind patch

119066-01 SunOS 5.10_x86: fc-cache patch

119813-02 X11 6.6.2_x86: Freetype patch

118549-01 SunOS 5.10_x86: ipf patch

118727-02 SunOS 5.10_x86: ibmf Patch

118853-01 SunOS 5.10_x86: ibcm Patch

120132-01 SunOS 5.10_x86: patch e1000g driver

119765-02 SunOS 5.10_x86: ipmitool patch

120293-01 SunOS 5.10_x86 : mysql patch

118376-02 SunOS 5.10_x86: nfs Patch

119829-01 SunOS 5.10_x86: nfssrv Patch

120303-01 SunOS 5.10_x86: sendmail patch

119016-02 SunOS 5.10_x86: Packaging Commands Patch

119318-01 SunOS 5.10_x86: SVr4 Packaging Commands (usr) Patch

118567-01 SunOS 5.10_x86: ping Command Patch

119144-02 SunOS 5.10_x86: patch lib/libinetutil.so.1

118997-02 SunOS 5.10_x86: patch usr/sbin/format

119720-01 SunOS 5.10_x86: patch kernel/misc/kmdbmod

118993-03 SunOS 5.10_x86: /kernel/misc/scsi patch

118869-01 SunOS 5.10_x86: ttymon patch

119688-01 SunOS 5.10_x86: /usr/lib/inet/in.mpathd patch

119686-02 SunOS 5.10_x86: lib/svc/bin/svc.startd Patch

119013-02 SunOS 5.10_x86: crypto Patch

119684-01 SunOS 5.10_x86: lib/svc/bin/svc.configd Patch

119076-05 SunOS 5.10_x86: ip Patch

119043-02 SunOS 5.10_x86: patch usr/sbin/svccfg

117464-01 SunOS 5.10_x86: passwdutil Patch

117462-02 SunOS 5.10_x86: patch boot/solaris/boot.bin

119716-02 SunOS 5.10_x86: kernel/drv/scsi_vhci patch

118347-01 SunOS 5.10_x86: libnsl Patch

118345-03 SunOS 5.10_x86: ld & libc.so.1 Patch

118374-01 SunOS 5.10_x86: mpstat Patch

118372-02 SunOS 5.10_x86: elfsign Patch

119997-01 SunOS 5.10_x86: libsec patch

118565-02 SunOS 5.10_x86: patch /usr/lib/libproc.so.1

119833-01 SunOS 5.10_x86: patch kernel/misc/gld

119830-01 SunOS 5.10_x86: ufs patch

120252-01 SunOS 5.10_x86: st & mt patch

120474-01 SunOS 5.10_x86: nss_compat patch

120472-01 SunOS 5.10_x86: libbsm patch

119375-03 SunOS 5.10_x86: sd patch

118344-02 SunOS 5.10_x86: cpumem-diagnosis Patch

118844-08 SunOS 5.10_x86: kernel Patch

119827-01 SunOS 5.10_x86: libadm.so.1 Patch

118873-01 SunOS 5.10_x86: ksh patch

119825-01 SunOS 5.10_x86: prstat patch

118871-01 SunOS 5.10_x86: nss_ldap patch

120084-01 SunOS 5.10_x86: arp patch

120081-01 SunOS 5.10_x86: patch platform/i86pc/kernel/drv/bmc

119851-01 SunOS 5.10_x86: patch kernel/drv/amd64/mpt

117181-01 SunOS 5.10_x86: /kernel/drv/pcscsi patch

119594-01 SunOS 5.10_x86: net-svc patch

118960-02 SunOS 5.10_x86: patch usr/bin/acctcom and usr/bin/lastcomm

120086-01 SunOS 5.10_x86: patch usr/sbin/in.ftpd

120295-01 SunOS 5.10_x86 : mysql man patch

119767-02 SunOs 5.10_x86: SunFreeware man pages patch

118860-01 SunOS 5.10_x86: usbkbm patch

120470-02 SunOS 5.10_x86: kerberos patch

118858-01 SunOS 5.10_x86: usr/lib/libprint.so.2 Patch

119588-01 SunOS 5.10_x86: lp service patch

120468-01 SunOS 5.10_x86: lp subsystem remote file patch

119563-01 SunOS 5.10_x86: Unable to configure printer without banner

118736-01 SunOS 5.10_x86: usr/sbin/rpc.nisd_resolv Patch

119074-02 SunOS 5.10_x86: /usr/sbin/ldapclient patch

119471-02 SunOS 5.10_x86: Sun Enterprise Network Array firmware and utilities

117448-01 SunOS 5.10_x86: patch usr/sbin/ntpdate

117435-01 SunOS 5.10_x86: biosdev patch

120082-02 SunOS 5.10_x86: bge patch

119857-01 SunOS 5.10_x86: pboot hangs on memory check

120330-01 SunOS 5.10_x86: rexec patch

119713-01 SunOS 5.10_x86: usr/sbin/in.routed Patch

118554-02 SunOS 5.10_x86: patch kernel/misc/amd64/md_mirror patch

119758-01 SunOS 5.10_x86: Samba patch

118734-01 SunOS 5.10_x86: patch libssagent.so.1 and libssasnmp.so.1

117466-01 SunOS 5.10_x86: fwtmp Patch

118561-01 SunOS 5.10_x86: patch usr/bin/telnet

119859-01 SunOS 5.10_x86: usba patch

120538-01 SunOS 5.10_x86: md patch

118552-01 SunOS 5.10_x86: patch lib/libmeta.so.1

120102-01 SunOS 5.10_x86: patch usr/lib/libsmedia.so.1

118816-01 SunOS 5.10_x86: /usr/xpg4/bin/awk patch

120129-01 SunOS 5.10_x86: patch usr/bin/xargs

120536-02 SunOS 5.10_x86: Updated video drivers and fixes

118732-01 SunOS 5.10_x86: /usr/sbin/zonecfg patch

120273-01 SunOS 5.10_x86 : SMA patch

120202-01 X11 6.8.0_x86: Xorg client libraries patch

118966-07 X11 6.8.0_x86: Xorg patch

119062-01 X11 6.8.0_x86: font patch

119602-01 SunOS 5.10_x86: Patch for European Region JDS messages

119202-01 SunOS 5.10_x86: OS Localization message patch

119798-01 SunOS 5.10_x86: CDE Localization message patch

119400-01 SunOS 5.10_x86: Patch for Central American Region locale issues

119406-01 SunOS 5.10_x86: Patch for Central European Region locale issues

119408-01 SunOS 5.10_x86: Patch for Eastern Europe Region locale issues

119398-01 SunOS 5.10_x86: Patch for North America Region locale issues

119277-02 S10_x86: Patch for Northern Europe Region locale issues

119405-01 Sun 5.10_x86: Patch for South American Region locale issues

119402-01 SunOS 5.10_x86: Patch for Western Europe Region locale issues

119606-01 SunOS 5.10_x86: Patch for Japanese Region JDS messages

119604-01 SunOS 5.10_x86: Patch for Asian Region JDS messages

119772-01 SunOS 5.10_x86: Asian CCK locales patch

119421-01 SunOS 5.10_x86: Thai locale patch

119704-01 S10_x86: localeadm patch

119649-01 SunOS 5.10_x86: vlan driver patch

118778-01 SunOS 5.10_x86: Sun GigaSwift Ethernet 1.0 driver patch

119789-02 SunOS 5.10_x86, Sun Update Connection Proxy, System Edition 1.0

119811-01 SunOS 5.10_x86: International Components for Unicode Patch

119547-01 APOC 1.1_x86: APOC Configuration Agent Patch

120100-02 APOC 1.1_x86: Sun Java(tm) Desktop System Configuration Shared Libraries

119283-01 CDE1.6_x86: GNOME/CDE Menu for Solaris 10_x86

119285-01 CDE 1.6_x86: sdtwsinfo patch

120340-01 CDE 1.6_x86: styleModern patch

119279-01 CDE 1.6_x86: dtlogin patch

119287-01 CDE 1.6_x86: dtterm libDtTerm patch

119118-04 Evolution 1.4.6_x86 patch

119419-01 GNOME 2.6.0_x86: Gnome On-screen Keyboard Patch

119415-02 GNOME 2.6.0_x86: Gnome Accessibility Libraries Patch

120283-01 GNOME 2.6.0_x86: Gnome CD Player Utility Patch

119373-01 GNOME 2.6.0_x86: GNOME common development tools and libraries Patch

120285-01 GNOME 2.6.0_x86: GNOME CORBA ORB and component framework

119543-04 GNOME 2.6.0_x86: Gnome desktop preference configuration Patch

119371-04 GNOME 2.6.0_x86: GNOME panel and support libraries Patch

119411-01 GNOME 2.6.0_x86: Gnome Applets Patch

119367-04 GNOME 2.6.0_x86: Display Manager Patch

119541-03 GNOME 2.6.0_x86: Gnome Dtlogin configuration Patch

119413-05 GNOME 2.6.0_x86: Nautilus libraries Patch

119893-01 GNOME 2.6.0_x86: gimp Patch

119549-02 GNOME 2.6.0_x86: Gnome Multi-protocol instant messaging client Patch

120297-01 GNOME 2.6.0_x86: GNOME libraries patch

120136-01 GNOME 2.6.0_x86: Gnome libs Patch

119545-01 GNOME 2.6.0_x86: Gnome streaming media framework Patch

119369-01 GNOME 2.6.0_x86: Printing Technology Patch

119891-01 GNOME 2.6.0_x86: search tool Patch

119909-01 Gnome 2.6.0_x86: session manager patch

120289-01 GNOME 2.6.0_x86: Gnome terminal Patch

120287-01 GNOME 2.6.0_x86: Gnome text editor Patch

120134-01 GNOME 2.6.0_x86: Gnome themes Patch

119901-01 GNOME 2.6.0_x86: Gnome libtiff - library for reading and writing TIFF Patch

119907-01 Gnome 2.6.0_x86: Virtual File System Framework patch

119539-02 GNOME 2.6.0_x86: Window Manager Patch

119281-02 CDE 1.6_x86: Runtime library patch for Solaris 10

119116-08 Mozilla 1.7_x86 patch

119904-01 Openwindows 3.7.3_x86: Xview Patch

119956-01 CDE 1.6_x86: Tooltalk Runtime patch for Solaris 10

119060-04 X11 6.6.2_x86: Xsun patch

119064-01 SunOS 5.10_x86: libXpm patch

120095-02 X11 6.6.2_x86: xscreensaver patch

$

melbeckmana at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 19
Can you run /usr/bin/updatemanager -debug and provide us with the output?
ForumModeratora at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 20
I would suggest mailing the log to prodreg-help@sun.com, and not posting it on this forum.
HardWorkera at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 21
I had the same problem. I was originally extracting to my user home directory. I tried extracting to /tmp and running from there and it worked fine.I have no idea why of course, maybe I'll read that Solaris Administration guide.
J_o_h_na at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 22
I have submitted to get the documenation pointer changed. I apologize for the delay. All the docs can be found at http://docs.sun.com/app/docs/coll/1320.2?q=sun+update+connection
kayo_granilloa at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 23
Exactly same problem on a fresh install of Solaris 10 on a x86 machine.I was able to solve it installing Sun Update Manager from /var/tmp ,any previous attempt from a custom created folder /admin/download (installing as root) failed, repoirting the same problem .
robunixa at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 24
The location patches are installed from must be readable by user nobody. Chances are permissions on your home dir and /admin/download are too strict.
robert.cohena at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 25
Same problem. Also I could first install it when installing it from /var/tmp and also here it stops at 50% when analyzing.Hmpf ! Alos I have a contract number which is valid but updatemanager is refusing it - what number is to be used here ? I have a NKxyz.... numberwhich did not
bruehlickea at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 26

OK - after restarting an re-run updatemanager (on an Ultra 20 ) It now gets close to the end of analyzing and an error windows pops up with the message:

"Read System Analysis Data Error"

There is an error in reading system analysis data. Click on "Check for Updates" to restart a system analysis. If the problem persists, report the issue to your sysadmin or Sun.

Well - the problem dose persist and it dose not help to press the button again.

Any ideas out there ?

bruehlickea at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 27
That ones a known (minor) bug.It says that when theres no patches to install.So I think your clear.Try a smpatch analyze. It should show no patches.
robert.cohena at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 28
ThanxAnyone knows the format of the "Contract number" to be entered ? I got (finally) a fully qualified contract number starting with "NK...." but it rejects that one. I guess the service agreement which comes with the Ultra 20 should cover some extra updates available ?
bruehlickea at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 29

There is no special format, you just need to enter the full contract number as it is beginning with the NK.

If it is rejecting it we recommend you raise a Sun support case and ask for your case to be routed to the SWUPS-ENTITLEMENT-AMER queue as they will be able to check out your contract and see what the issue is.

ForumModeratora at 2007-7-21 14:57:55 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 30
For you contract issues, send an email sun-connection-token@sun.com describing the problem with your contract. If you had a contract id sent, include it plus your company name and the contact person on the contract.
kayo_granilloa at 2007-7-21 14:57:59 > top of Java-index,Administration Tools,Sun Update Connection-System...