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]

# 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,
# 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 >

# 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.