When you're alone and life is making you lonely, you can always go... Troubleshooting
When you've got worries, all the noise and the hurry, seems to help, I know...Troubleshooting
Identify these installation parameters:
Variable | Example |
---|---|
MW_HOME | /opt/oracle/occas/8.1 |
GUI Installation
Remote Installation / X11
Having problems running the installer remotely in graphical mode?
Did you remember to use the '-Y' option on SSH? Example:
ssh -Y oracle@adminserver
If you cannot connect directly as the 'oracle' user, here's an example of how to connect with a different user to create an X11 tunnel.
You must determine the "magic cookie" and "display" to be used later.
jeff@gamera ~ % ssh -Y opc@admin.blade.vorpal.net
[opc@admin ~]$ xauth list $DISPLAY
[admin_server]/unix:10 MIT-MAGIC-COOKIE-1 ca9a9f1c859a3e1ec180d93f2d25e226
[opc@admin ~]$ echo $DISPLAY
localhost:10.0
[opc@admin ~]$ sudo su - oracle
[oracle@admin ~]$ touch /home/oracle/.Xauthority
[oracle@admin ~]$ xauth add [admin_server]/unix:10 MIT-MAGIC-COOKIE-1 ca9a9f1c859a3e1ec180d93f2d25e226
[oracle@admin ~]$ export DISPLAY=localhost:10.0
MacOS
Did you install XQuartz?
Is the GUI horrible looking? On the Linux server you're installing to, add the following environment variable:
export _JAVA_OPTIONS="-Dsun.java2d.xrender=false"
Windows
Did you install Xming?
Default Inventory Pointer Location
Getting errors like this?
Create a file called 'oraInst.loc' and place it somewhere you won't forget about. The default location is usually /etc/oraInst.loc, but ~/oraInst.loc is another common choice. Edit the file to look something like this:
Now run the installer again, like this...
java -jar occas_generic.jar -invPtrLoc /etc/oraInst.loc
Failed Prerequisites
Getting errors like this?
You can always type 'y' to continue, but if you would like the error message to go away, use the 'ignoreSysPrereqs' option, like so:
java -jar occas_generic.jar -ignoreSysPrereqs -invPtrLoc /etc/oraInst.loc
Silent Install and Configuration
You've tried all the tips above, but still can't get the GUI installer to work?
It is time to try the Silent Installation and Configuration.
Multicast
Use of multicast for clustering is more efficient than 'unicast', but it can lead to some configuration heartache.
If you get an error similar to:
Solve the problem by telling WebLogic to prefer the IPv4 stack.
export JAVA_OPTIONS="${JAVA_OPTIONS} -Djava.net.preferIPv4Stack=true"
You can use the Multicast Monitor to check that heartbeat messages are being sent or received. Run this on any or all WebLogic servers:
Example:
source setDomainEnv.sh
java weblogic.cluster.MulticastMonitor 239.192.0.0 7001 replicated_domain BEA_ENGINE_TIER_CLUST
TLS / SSL
Enable Debugging
To enable SSL debugging, add this line to the startup script:
-Djavax.net.debug=all -Dssl.debug=true -Dweblogic.StdoutDebugEnabled=true
Hostname Verification
Experiencing errors like this?
The CN in your certificate doesn't match the hostname of one of the managed nodes. You can try to fix it, or just turn off hostname verification by following these steps...
In the Admin Console, navigate to the server. Click on the Configuration >> SSL tab, then "Advanced".
Set the Hostname Verification to "None".