problem registering - UnknownHostExceptionjava.net.UnknownHostException

Hi,

After installing Solaris10 6/06 i'm unable to register with update connection. I get the error below.

Any help/suggestions would be appreciated.

# sconadm register -a -r /RegistrationProfile.properties

sconadm is running

Authenticating user ...

getLocalHostNames() - UnknownHostExceptionjava.net.UnknownHostException: server.domain: server.domain

failed registration!

[421 byte] By [gary15] at [2007-11-26 8:48:50]
# 1
The Sun Update Connection support team are currently investigating this issue. We will update this thread once we have a solution to this issue.
ForumModerator at 2007-7-6 22:37:43 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
two months. no update?
dhowe01 at 2007-7-6 22:37:43 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

Hello,

Please can you run the following commands:

$ java -version

$ cat /etc/release

$ showrev -p | egrep -e '121453|121118|120335|121081|121563|122231|119788'

$ showrev -p | egrep -e '121454|121119|120336|121082|121564|122232|119789'

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

$ cat /RegistrationProfile.properties (please remove contract details from output)

$ smpatch get

Regards,

ForumModerator at 2007-7-6 22:37:43 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
We believe upgrading to the recently released JRE 5.0 Update will resolve this issue. Please download "Java Runtime Environment (JRE) 5.0 Update 8" from the Java web site and let us know if it fixes the registration problem. http://java.sun.com/javase/downloads/index.jsp
ForumModerator at 2007-7-6 22:37:43 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5
Thanks for the update. I had to revert back to Solaris10 1/06. I'll install a server with 6/06 in the next few days and test.Thanks
gary15 at 2007-7-6 22:37:43 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6

Hello, I have the same problem on Solaris10 SPARC 6/06 and JDK 1.5.0-10.

# java -version

java version "1.5.0_10"

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

Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)

# cat /etc/release

Solaris 10 6/06 s10s_u2wos_09a SPARC

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.

Use is subject to license terms.

Assembled 09 June 2006

# /usr/sbin/sconadm register -a -r /tmp/RegistrationProfile.properties

getLocalHostNames() - UnknownHostExceptionjava.net.UnknownHostException: myhost : myhost

failed registration!

Wata at 2007-7-6 22:37:43 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7
Hi.Is 'myhost' listed in DNS, or in /etc/hosts ?Also, what does /etc/nsswitch.conf look like?Mod.
ForumModerator at 2007-7-6 22:37:43 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8

Found a solution to this problem:

Use PCA (Patch Check Advanced) to patch your system, then the updatemanager application will successfully register.

http://www.par.univie.ac.at/solaris/pca/

Then again, why not just use PCA instead of Sun's tools. From my experience, PCA is much more reliable and it is a single perl script so it can also be customized.

BenjaminKinder at 2007-7-6 22:37:43 > top of Java-index,Administration Tools,Sun Update Connection-System...