After migrating Oracle 10 installed in Solaris 8, we have the following issue when we execute the command dbca in Solaris 11
testing{oracle10}# cd /data/oracle10/cfgtoollogs
testing{oracle10}# ./dbca
Exception in thread "main"
test{oracle10}42#
Checking the trace log file we found that we have a missing libray "libdps.so.5
testing{oracle10}48#
more trace.log
java.lang.UnsatisfiedLinkError:
/d2/ora10/jdk/jre/lib/sparc/motif21/libmawt.so: ld.so.1: java: fatal:
libdps.so.5: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
at java.lang.Runtime.load0(Runtime.java:737)
at java.lang.System.load(System.java:811)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at
oracle.sysman.assistants.util.wizard.WizardObject.<init>(WizardObject.java:64)
at oracle.sysman.assistants.dbca.ui.DBCAWizard.<init>(DBCAWizard.java:425)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:214)
at
oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)
We configure our repository in my case I have set the proxy in order to connect to internet and use the Oracle Respositories, however if you have a local repository you can use too
#export https_proxy=https://192.168.22.30:8080
#export http_proxy=http://192.168.22.30:8080
If you have the certificates expired you can use the following link in order to download and update them, if you are OK, follow the next step
Quickly you can download them, upload to the server needed and execute the following commands to update them
#pkg unset-publisher solaris
#pkg set-publisher -k /root/pkg.oracle.com.key.pem -c /root/pkg.oracle.com.certificate.pem -g https://pkg.oracle.com/solaris/support/ solaris
Finally check if the package missing is available to download
root@testing:~# pkg search dps
INDEX ACTION VALUE PACKAGE
com.oracle.info.name set DPS pkg:/library/motif/libdpstkxm@0.5.11-0.175.3.0.0.30.1483
com.oracle.info.name set DPS pkg:/x11/library/dps@7.7-0.175.3.0.0.30.1483
pkg.description set Libraries provided for binary compatibility with Motif clients designed to connect to servers supporting the DPS extension. pkg:/library/motif/libdpstkxm@0.5.11-0.175.3.0.0.30.1483
pkg.description set Libraries provided for binary compatibility with X clients designed to connect to servers supporting the DPS extension. pkg:/x11/library/dps@7.7-0.175.3.0.0.30.1483
pkg.summary set X Window System DPS extension Motif client compatibility libraries pkg:/library/motif/libdpstkxm@0.5.11-0.175.3.0.0.30.1483
pkg.summary set X Window System DPS extension client compatibility libraries pkg:/x11/library/dps@7.7-0.175.3.0.0.30.1483
pkg.fmri set solaris/x11/library/dps pkg:/x11/library/dps@7.7-0.175.3.0.0.30.1483
And install and execute dbca command again, the important thing is checking the trace log file you can detect what library is missing in order to correct the issue
root@testing:~# pkg install dps
testing{oracle10}# cd /data/oracle10/cfgtoollogs
testing{oracle10}# ./dbca
Comments