1 以root身份运行脚本ora_install.sh—(/root创建之后chmod 755 ora_install.sh
#!/bin/sh
for ora_pkg in binutils libaio openmotif setarch compat-db compat-gcc openmotif compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel tcl libXau-devel libXp
do
yum install -y $ora_pkg
done
groupadd oinstall
groupadd dba
groupadd oper
useradd -g oinstall -G dba oracle
passwd oracle
mkdir -p /u01/oracle/product/10.2.0/db_1
chown -R oracle.oinstall /u01
chmod –R 775 /u01
cat >> /etc/sysctl.conf <<EOF
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
EOF
/sbin/sysctl -p
cat >> /etc/security/limits.conf <<EOF
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
EOF
cat >> /etc/pam.d/login << EOF
session required /lib/security/pam_limits.so
EOF
cat >> /home/oracle/.bash_profile <<EOF
# Oracle Settings
EOF
------------------------------------------
执行./ora_install.sh
2 执行完之后,修改一下.bash_profile.
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/oracle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOMEORACLE_SID=MyData; export ORACLE_SIDORACLE_TERM=xterm; export ORACLE_TERMPATH=/usr/sbin:$PATH; export PATHPATH=$ORACLE_HOME/bin:$PATH; export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export
LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export CLASSPATHexport LC_ALL=en.US if [ $USER = "oracle" ]; thenif [ $SHELL = "/bin/ksh" ]; thenulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n 65536fifi
再检查rpm -q gcc make binutils openmotif setarch compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel
如yum不了,就到http://rpmfind.net/下找
3 root用户启动xwindows 在xterm下执行xhost +
4 切换到oracle用户创建ora_setup.sh 同上改变文件模式
#!/bin/sh
DISPLAY=127.0.0.1:0.0;export DISPLAY
./runInstaller -IgnoreSysPreReqs
----------------------------------------------------
./ ora_setup.sh
5 如果顺利,那么就可以next下去。
但事实总不是那么如意,而且有时不按指南,就要反复装,反复看日志,才可以找到解决问题的方法。
注意几点:
5.1 对安装要新建立目录给oracle, 不要用/home/oracle.(如果喜欢看英文的话,就可以试试,英文日志都会给出准确的提示
5.2 物理内存小于1G,比如只有512M,那也可以装。不会导致装不上的。
5.3
Checking operating system requirements ...
Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2
Actual Result: redhat-4
Check complete. The overall result of this check is: Passed
=======================================================================
Checking operating system package requirements ...
Checking for make-3.79; found make-1:3.81-1.1. Passed
Checking for binutils-2.14; found binutils-2.17.50.0.3-6. Passed
Checking for gcc-3.2; found gcc-4.1.1-30. Passed
Checking for libaio-0.3.96; found libaio-0.3.106-2. Passed
Check complete. The overall result of this check is: Passed
=======================================================================
Checking kernel parameters
Checking for semmsl=250; found semmsl=250. Passed
Checking for semmns=32000; found semmns=32000. Passed
Checking for semopm=100; found semopm=100. Passed
Checking for semmni=128; found semmni=128. Passed
Checking for shmmax=536870912; found shmmax=2147483648. Passed
Checking for shmmni=4096; found shmmni=4096. Passed
Checking for shmall=2097152; found shmall=2097152. Passed
Checking for file-max=65536; found file-max=65536. Passed
Checking for VERSION=2.6.9; found VERSION=2.6.18-1.2798.fc6. Passed
Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=1024 - 65000. Passe
d
Checking for rmem_default=262144; found rmem_default=262144. Passed
Checking for rmem_max=262144; found rmem_max=262144. Passed
Checking for wmem_default=262144; found wmem_default=262144. Passed
Checking for wmem_max=262144; found wmem_max=262144. Passed
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Recommended glibc version
Expected result: ATLEAST=2.3.2-95.27
Actual Result: 2.5-3
Check complete. The overall result of this check is: Passed
=======================================================================
Checking physical memory requirements ...
Expected result: 922MB
Actual Result: 500MB
Check complete. The overall result of this check is: Failed <<<<
Problem: The system does not have sufficient physical memory to perform the install.
Recommendation: Increase the amount of physical memory available to your system before contin
uing with the installation.
=======================================================================
Checking available swap space requirements ...
Expected result: 1000MB
Actual Result: 1023MB
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP address
es. However, the primary network interface on the system should be configured with a static
IP address in order for the Oracle Software to function properly. See the Installation Guide
for more details on installing the software on systems configured with DHCP.
=======================================================================
Validating ORACLE_BASE location (if set) ...
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Passed
=======================================================================
Checking for proper system clean-up....
Check complete. The overall result of this check is: Passed
=======================================================================
Checking for Oracle Home incompatibilities ....
Actual Result: NEW_HOME
Check complete. The overall result of this check is: Passed
=======================================================================
Checking physical memory requirements ...
Expected result: 922MB
Actual Result: 500MB
Check complete. The overall result of this check is: Failed <<<<
Problem: The system does not have sufficient physical memory to perform the install.
Recommendation: Increase the amount of physical memory available to your system before contin
uing with the installation.
=======================================================================
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP address
es. However, the primary network interface on the system should be configured with a static
IP address in order for the Oracle Software to function properly. See the Installation Guide
for more details on installing the software on systems configured with DHCP.
这里对于DHCP,我是静态配置的。所以可以不执行Not executed
而对于The overall result of this check is: Failed,我开始也被吓倒了,后来试一下,还可以。
5.5
最恼火的问题就是
Output generated from configuration assistant "Oracle Net Configuration Assistant":
Command = /u01/app/oracle/product/10.2.0/db_1/jdk/jre//bin/java -Duser.dir=/u01/app/oracle/
product/10.2.0/db_1/network/jlib -classpath /u01/app/oracle/product/10.2.0/db_1/jdk/jre//lib/
i18n.jar:/u01/app/oracle/product/10.2.0/db_1/jdk/jre//lib/rt.jar:/u01/app/oracle/product/10.2
.0/db_1/jlib/ewt3.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/ewtcompat-3_3_15.jar:/u01/app/
oracle/product/10.2.0/db_1/jlib/netcfg.jar:/u01/app/oracle/product/10.2.0/db_1/network/jlib/n
etcam.jar:/u01/app/oracle/product/10.2.0/db_1/network/jlib/netca.jar:/u01/app/oracle/product/
10.2.0/db_1/jlib/help4.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/jewt4.jar:/u01/app/oracle
/product/10.2.0/db_1/jlib/oracle_ice.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/share.jar:/
u01/app/oracle/product/10.2.0/db_1/jlib/swingall-1_1_1.jar:/u01/app/oracle/product/10.2.0/db_
1/jlib/srvmhas.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/srvm.jar:/u01/app/oracle/product/
10.2.0/db_1/network/tools:/u01/app/oracle/product/10.2.0/db_1/jlib/ldapjclnt9.jar:/u01/app/or
acle/product/10.2.0/db_1/jlib/ldapjclnt10.jar:/u01/app/oracle/product/10.2.0/db_1/oui/jlib/Or
aInstaller.jar:/u01/app/oracle/product/10.2.0/db_1/lib/xmlparserv2.jar oracle.net.ca.NetCA /o
rahome /u01/app/oracle/product/10.2.0/db_1 /orahnam OraDb10g_home1 /instype typical /inscomp
client,oraclenet,javavm,server,ano /insprtcl tcp /cfg local /authadp NO_VALUE /nodeinfo NO_VA
LUE /responseFile /u01/app/oracle/product/10.2.0/db_1/network/install/netca_typ.rsp
Parsing command line arguments:
Parameter "orahome" = /u01/app/oracle/product/10.2.0/db_1
Parameter "orahnam" = OraDb10g_home1
Parameter "instype" = typical
Parameter "inscomp" = client,oraclenet,javavm,server,ano
..skipping one line
Parameter "cfg" = local
Parameter "authadp" = NO_VALUE
Parameter "nodeinfo" = NO_VALUE
Parameter "responsefile" = /u01/app/oracle/product/10.2.0/db_1/network/install/netca_typ.
rsp
Done parsing command line arguments.
Oracle Net Services Configuration:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4A6D2C33
Function=index+0x63
Library=/lib/libc.so.6
Current Java thread:
at oracle.net.common.NetGetEnv.getDNSDomain(Native Method)
at oracle.net.ca.ConfigureProfile.setDefaultProfileParams(Unknown Source)
at oracle.net.ca.InitialSetup.setupConfigObjects(Unknown Source)
at oracle.net.ca.InitialSetup.<init>(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
Dynamic libraries:
08048000-08056000 r-xp 00000000 fd:00 1601475 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
bin/java
08056000-08059000 rwxp 0000d000 fd:00 1601475 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
bin/java
49c98000-49cb1000 r-xp 00000000 fd:00 2191502 /lib/ld-2.5.so
49cb1000-49cb2000 r-xp 00018000 fd:00 2191502 /lib/ld-2.5.so
49cb2000-49cb3000 rwxp 00019000 fd:00 2191502 /lib/ld-2.5.so
49cb5000-49cc7000 r-xp 00000000 fd:00 2191554 /lib/libnsl-2.5.so
49cc7000-49cc8000 r-xp 00012000 fd:00 2191554 /lib/libnsl-2.5.so
49cc8000-49cc9000 rwxp 00013000 fd:00 2191554 /lib/libnsl-2.5.so
49d2e000-49d3d000 r-xp 00000000 fd:00 2191556 /lib/libresolv-2.5.so
49d3d000-49d3e000 r-xp 0000e000 fd:00 2191556 /lib/libresolv-2.5.so
49d3e000-49d3f000 rwxp 0000f000 fd:00 2191556 /lib/libresolv-2.5.so
4a4d2000-4a4d7000 r-xp 00000000 fd:00 226916 /usr/lib/libXtst.so.6.1.0
4a4d7000-4a4d8000 rwxp 00004000 fd:00 226916 /usr/lib/libXtst.so.6.1.0
4a667000-4a79e000 r-xp 00000000 fd:00 2191544 /lib/libc-2.5.so
4a79e000-4a7a0000 r-xp 00137000 fd:00 2191544 /lib/libc-2.5.so
4a7a0000-4a7a1000 rwxp 00139000 fd:00 2191544 /lib/libc-2.5.so
4a7a6000-4a7cb000 r-xp 00000000 fd:00 2191551 /lib/libm-2.5.so
4a7cb000-4a7cc000 r-xp 00024000 fd:00 2191551 /lib/libm-2.5.so
4a7cc000-4a7cd000 rwxp 00025000 fd:00 2191551 /lib/libm-2.5.so
4a7cf000-4a7d1000 r-xp 00000000 fd:00 2191545 /lib/libdl-2.5.so
4a7d1000-4a7d2000 r-xp 00001000 fd:00 2191545 /lib/libdl-2.5.so
4a7d2000-4a7d3000 rwxp 00002000 fd:00 2191545 /lib/libdl-2.5.so
4a7d5000-4a7e8000 r-xp 00000000 fd:00 2191546 /lib/libpthread-2.5.so
4a7e8000-4a7e9000 r-xp 00012000 fd:00 2191546 /lib/libpthread-2.5.so
4a7e9000-4a7ea000 rwxp 00013000 fd:00 2191546 /lib/libpthread-2.5.so
4a8ae000-4a9ac000 r-xp 00000000 fd:00 226859 /usr/lib/libX11.so.6.2.0
4a9ac000-4a9b0000 rwxp 000fe000 fd:00 226859 /usr/lib/libX11.so.6.2.0
4a9b2000-4a9b7000 r-xp 00000000 fd:00 226858 /usr/lib/libXdmcp.so.6.0.0
4a9b7000-4a9b8000 rwxp 00004000 fd:00 226858 /usr/lib/libXdmcp.so.6.0.0
4a9fb000-4a9fd000 r-xp 00000000 fd:00 226857 /usr/lib/libXau.so.6.0.0
4a9fd000-4a9fe000 rwxp 00001000 fd:00 226857 /usr/lib/libXau.so.6.0.0
4aa29000-4aa38000 r-xp 00000000 fd:00 226864 /usr/lib/libXext.so.6.4.0
4aa38000-4aa39000 rwxp 0000e000 fd:00 226864 /usr/lib/libXext.so.6.4.0
4b1c9000-4b1d1000 r-xp 00000000 fd:00 226874 /usr/lib/libSM.so.6.0.0
4b1d1000-4b1d2000 rwxp 00007000 fd:00 226874 /usr/lib/libSM.so.6.0.0
4b206000-4b21d000 r-xp 00000000 fd:00 226873 /usr/lib/libICE.so.6.3.0
4b21d000-4b21e000 rwxp 00016000 fd:00 226873 /usr/lib/libICE.so.6.3.0
a91d6000-a93b2000 r-xp 00000000 fd:00 1316850 /u01/app/oracle/product/10.2.0/db_1/lib/libn
nz10.so
a93b2000-a93d8000 rwxp 001dc000 fd:00 1316850 /u01/app/oracle/product/10.2.0/db_1/lib/libn
nz10.so
a93da000-aa10b000 r-xp 00000000 fd:00 916163 /u01/app/oracle/product/10.2.0/db_1/lib/libc
lntsh.so.10.1
aa10b000-aa16c000 rwxp 00d31000 fd:00 916163 /u01/app/oracle/product/10.2.0/db_1/lib/libc
lntsh.so.10.1
aa180000-aa195000 r-xp 00000000 fd:00 1316650 /u01/app/oracle/product/10.2.0/db_1/lib/libn
jni10.so
aa195000-aa199000 rwxp 00014000 fd:00 1316650 /u01/app/oracle/product/10.2.0/db_1/lib/libn
jni10.so
aa199000-aa2c1000 r-xs 00000000 fd:00 1316099 /u01/app/oracle/product/10.2.0/db_1/lib/xmlp
arserv2.jar
aa2c1000-aa315000 r-xp 00000000 fd:00 210310 /usr/lib/libXt.so.6.0.0
aa315000-aa319000 rwxp 00054000 fd:00 210310 /usr/lib/libXt.so.6.0.0
aa31b000-aa328000 r-xp 00000000 fd:00 1313470 /u01/app/oracle/product/10.2.0/db_1/lib/libl
dapjclnt10.so
aa328000-aa32a000 rwxp 0000c000 fd:00 1313470 /u01/app/oracle/product/10.2.0/db_1/lib/libl
dapjclnt10.so
aa32a000-aa37d000 r-xp 00000000 fd:00 1601376 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libmlib_image.so
aa37d000-aa37e000 rwxp 00052000 fd:00 1601376 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libmlib_image.so
aa37e000-aa64f000 r-xp 00000000 fd:00 1601359 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libawt.so
aa64f000-aa665000 rwxp 002d0000 fd:00 1601359 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libawt.so
aa68a000-aaa27000 r-xs 00000000 fd:00 1316949 /u01/app/oracle/product/10.2.0/db_1/oui/jlib
/OraInstaller.jar
aaa27000-aaa6c000 r-xs 00000000 fd:00 1311324 /u01/app/oracle/product/10.2.0/db_1/ldap/oid
admin/dasnls.jar
aaa6c000-aaa78000 r-xs 00000000 fd:00 1311680 /u01/app/oracle/product/10.2.0/db_1/jlib/jss
l-1_1.jar
aaa78000-aab10000 r-xs 00000000 fd:00 1313346 /u01/app/oracle/product/10.2.0/db_1/jlib/lda
pjclnt10.jar
aab10000-aabd7000 r-xs 00000000 fd:00 1311582 /u01/app/oracle/product/10.2.0/db_1/jlib/srv
m.jar
aabd7000-aabe5000 r-xs 00000000 fd:00 1311584 /u01/app/oracle/product/10.2.0/db_1/jlib/srv
mhas.jar
aabe5000-aabf3000 r-xs 00000000 fd:00 1316852 /u01/app/oracle/product/10.2.0/db_1/jlib/sha
re.jar
aabf3000-aaca8000 r-xs 00000000 fd:00 1316492 /u01/app/oracle/product/10.2.0/db_1/jlib/ora
cle_ice.jar
aaca8000-aae4f000 r-xs 00000000 fd:00 1316490 /u01/app/oracle/product/10.2.0/db_1/jlib/jew
t4.jar
aae4f000-aaeb4000 r-xs 00000000 fd:00 1316082 /u01/app/oracle/product/10.2.0/db_1/jlib/hel
p4.jar
aaeb4000-aaee6000 r-xs 00000000 fd:00 1311160 /u01/app/oracle/product/10.2.0/db_1/network/
jlib/netca.jar
aaee6000-aaf0c000 r-xs 00000000 fd:00 1311161 /u01/app/oracle/product/10.2.0/db_1/network/
jlib/netcam.jar
aaf0c000-aaf55000 r-xs 00000000 fd:00 1316693 /u01/app/oracle/product/10.2.0/db_1/jlib/net
cfg.jar
aaf55000-aaf63000 r-xs 00000000 fd:00 1311235 /u01/app/oracle/product/10.2.0/db_1/jlib/ewt
compat-3_3_15.jar
aaf63000-ab1e8000 r-xs 00000000 fd:00 1316493 /u01/app/oracle/product/10.2.0/db_1/jlib/ewt
3.jar
ab1e8000-ab1eb000 r-xs 00000000 fd:00 1317635 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/ext/dnsns.jar
ab1eb000-ab1f8000 r-xs 00000000 fd:00 1317636 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/ext/ldapsec.jar
ab1f8000-ab206000 r-xs 00000000 fd:00 1317547 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/ext/activation.jar
ab206000-ab2c2000 r-xs 00000000 fd:00 1317637 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/ext/localedata.jar
ab2c2000-ab2de000 r-xs 00000000 fd:00 1317638 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/ext/sunjce_provider.jar
ab2de000-ab323000 r-xs 00000000 fd:00 1317544 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/ext/mail.jar
ab323000-ab349000 r-xs 00000000 fd:00 1317545 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/ext/mailapi.jar
ab54d000-ab74d000 r-xp 00000000 fd:00 202581 /usr/lib/locale/locale-archive
b59fd000-b5f9d000 r-xs 00000000 fd:00 1317587 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/charsets.jar
b5f9d000-b5fae000 r-xs 00000000 fd:00 1317625 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/jce.jar
b5fae000-b608b000 r-xs 00000000 fd:00 1317626 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/jsse.jar
b608b000-b60a1000 r-xs 00000000 fd:00 1317634 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/sunrsasign.jar
b60eb000-b7a96000 r-xs 00000000 fd:00 1317633 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/rt.jar
b7a96000-b7aaa000 r-xp 00000000 fd:00 1601382 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libzip.so
b7aaa000-b7aad000 rwxp 00013000 fd:00 1601382 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libzip.so
b7aad000-b7acd000 r-xp 00000000 fd:00 1601367 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libjava.so
b7acd000-b7acf000 rwxp 0001f000 fd:00 1601367 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libjava.so
b7acf000-b7adf000 r-xp 00000000 fd:00 1601381 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libverify.so
b7adf000-b7ae1000 rwxp 0000f000 fd:00 1601381 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/libverify.so
b7ae1000-b7aea000 r-xp 00000000 fd:00 2189065 /lib/libnss_files-2.5.so
b7aea000-b7aeb000 r-xp 00008000 fd:00 2189065 /lib/libnss_files-2.5.so
b7aeb000-b7aec000 rwxp 00009000 fd:00 2189065 /lib/libnss_files-2.5.so
b7aec000-b7af0000 r-xp 00000000 fd:00 2189063 /lib/libnss_dns-2.5.so
b7af0000-b7af1000 r-xp 00003000 fd:00 2189063 /lib/libnss_dns-2.5.so
b7af1000-b7af2000 rwxp 00004000 fd:00 2189063 /lib/libnss_dns-2.5.so
b7af2000-b7af9000 r-xp 00000000 fd:00 203954 /usr/lib/libXp.so.6.2.0
b7af9000-b7afa000 rwxp 00006000 fd:00 203954 /usr/lib/libXp.so.6.2.0
b7afa000-b7afd000 r-xs 00000000 fd:00 1317546 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/ext/smtp.jar
b7afd000-b7f03000 r-xp 00000000 fd:00 1601390 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/client/libjvm.so
b7f03000-b7f1e000 rwxp 00405000 fd:00 1601390 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/client/libjvm.so
b7f34000-b7f37000 r-xs 00000000 fd:00 1317543 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/ext/jta.jar
b7f37000-b7f3b000 rwxs 00000000 fd:00 2388321 /tmp/hsperfdata_oracle/12907
b7f3b000-b7f43000 r-xp 00000000 fd:00 1601392 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/native_threads/libhpi.so
b7f43000-b7f44000 rwxp 00007000 fd:00 1601392 /u01/app/oracle/product/10.2.0/db_1/jdk/jre/
lib/i386/native_threads/libhpi.so
b7f45000-b7f46000 r-xp b7f45000 00:00 0 [vdso]
bfd39000-bfd4e000 rwxp bfd39000 00:00 0 [stack]
Heap at VM Abort:
Heap
def new generation total 576K, used 314K [0xab950000, 0xab9f0000, 0xabe30000)
eden space 512K, 48% used [0xab950000, 0xab98e980, 0xab9d0000)
from space 64K, 100% used [0xab9e0000, 0xab9f0000, 0xab9f0000)
to space 64K, 0% used [0xab9d0000, 0xab9d0000, 0xab9e0000)
tenured generation total 1408K, used 542K [0xabe30000, 0xabf90000, 0xaf950000)
the space 1408K, 38% used [0xabe30000, 0xabeb7b38, 0xabeb7c00, 0xabf90000)
compacting perm gen total 4096K, used 3568K [0xaf950000, 0xafd50000, 0xb3950000)
the space 4096K, 87% used [0xaf950000, 0xafccc288, 0xafccc400, 0xafd50000)
Local Time = Sat Apr 28 16:31:42 2007
Elapsed Time = 9
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
#
# An error report file has been saved as hs_err_pid12907.log.
# Please refer to the file for further information.
#
Configuration assistant "Oracle Net Configuration Assistant" failed
-----------------------------------------------------------------------------
The "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
------------------------------------------------
网上都没搜到一个准确可行的解决方法,仔细看英文――其实都看得明白,就是畏惧,静下心来研究才发现“The "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI.”这里的OUI—估计指的是oracle的安装用户界面。抱着试一试的态度,以root身份执行/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands,结果通过了,再回到xwindows的安装界面,之后就是next。这个再次说明看英文,看日志的重要。而通过网络搜索来解决,对已有方案可能要快(但不是最好,网络应该是在自己动手之后,难找到解决办法,至少要在看完相关英文提示和日志之后。之后就是多想多试,加上一点坚持)。
注:跟博客里的笔记一样,纯粹为了防止忘记~~~
参考
1 chenquan_75. ORACLE 10g FOR LINUX在FEDORA CORE 6下的安装要点 http://www.cnoug.org/viewthread.php?tid=113828
2 旺旺博客堂 Oracle 安装手记(VMWare+Redhat Linux AS4+Oracle 10g R2) http://edu.mblogger.cn/phinux/posts/29115.aspx
3 ORACLE 在 Linux x86 上安装 Oracle 数据库 10g http://www.oracle.com/technology/global/cn/pub/articles/smiley_10gdb_install.html#linux
--------------------------------
补充,今天上oracle的网站,再次体会了e文的重要, 以后多看e文,可以省去太多的麻烦.
http://www.oracle.com/technology/obe/10gr2_2day_dba/install/install.htm
这里一步步都给出图文.