十、安装clusterware
开始安装,我是使用xmanager 4安装的,我的本机ip为192.168.1.103
[root@rac1 ~]# xhost+ -bash: xhost+: command not found [root@rac1 ~]# export DISPLAY=192.168.1.103:0.0 [root@rac1 ~]# su - oracle [oracle@rac1 ~]$ cd /stage/clustware/Disk1/clusterware/ [oracle@rac1 clusterware]$ ll total 36 drwxr-xr-x 2 oracle oinstall 4096 Jul 3 2005 cluvfy drwxr-xr-x 6 oracle oinstall 4096 Jul 3 2005 doc drwxr-xr-x 4 oracle oinstall 4096 Jul 3 2005 install drwxr-xr-x 2 oracle oinstall 4096 Jul 3 2005 response drwxr-xr-x 2 oracle oinstall 4096 Jul 3 2005 rpm -rwxr-xr-x 1 oracle oinstall 1328 Jul 3 2005 runInstaller drwxr-xr-x 9 oracle oinstall 4096 Jul 3 2005 stage drwxr-xr-x 2 oracle oinstall 4096 Jul 3 2005 upgrade -rw-r--r-- 1 oracle oinstall 3445 Jul 3 2005 welcome.html [oracle@rac1 clusterware]$ ./runInstaller Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-03-22_03-39-48PM. Please wait ...[oracle@rac1 clusterware]$ Oracle Universal Installer, Version 10.2.0.1.0 Production Copyright (C) 1999, 2005, Oracle. All rights reserved.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
如果出现以下错误,则是因为缺少-ivh libXp-1.0.0-8.1.el5.i386.rpm的原因,之前我在检查缺少包时,已经安装过了。
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-03-22_08-31-31AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred.. java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-03-22_08-31-31AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at sun.security.action.LoadLibraryAction.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.NativeLibLoader.loadLibraries(Unknown Source) at sun.awt.DebugHelper.