oracle11g 安装错误汇总
oracle11g安装错误总结:
1,运行./runInstaller报错例如以下:
You are atempting to install 64-bit Oracle on a 32-bit operating system,this is not support and will not work
查看uname显示确实64位
[oracle@oracle_master ~]uname -a
Linux 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,界面显示不全,看不到nextbutton
解决的方法:进去System–>Preferences–>Display–Resolution,设置成1360x768就能够了,然后apply应用下,就能够看到nextbutton了。
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>