oracle11g安装错误总结:

1,执行./runInstaller报错如下:

You are atempting to install 64-bit on a 32-bit operating system,this is not support and will not work

查看uname显示确实64位
[oracle@oracle_master ~]uname -a
oracle_master 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
[oracle@oracle_master ~]

解决办法:
直接vim runInstaller,将下面的exit 0;注释掉
if [ $UNAME = “Linux” ]; then
if [ -e $GETCONF ]; then
value=$GETCONF LONG_BIT
if [ $value != 64 ]; then
echo “\”You are attempting to install 64-bit Oracle on a 32-bit operating system. This is not supported and will not work.\”“;
#exit 0;
fi
fi
fi


2,vncviewer连接进去后,启动runInstaller,界面显示不全,看不到next按钮

解决办法:进去System–>Preferences–>Display–Resolution,设置成1360x768就可以了,然后apply应用下,就可以看到next按钮了。


3,oracle启动报错LRM-00109

SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file ‘/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/initpowerdes.ora’
SQL>

原因是vim /home/oracle/.bash_profile里面的export ORACLE_SID=orcl和dbca建库的时候的sid不一致,改成一致即可,
[oracle@oracle_master ~]$ vim /home/oracle/.bash_profile
export ORACLE_SID=primarydb

然后启动,OK,如下所示:
SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.

Total System Global Area 835104768 bytes
Fixed Size 2217952 bytes
Variable Size 511707168 bytes
Database Buffers 314572800 bytes
Redo Buffers 6606848 bytes
Database mounted.
Database opened.
SQL>