码迷,mamicode.com
首页 > 数据库 > 详细

oracle11g 安装错误汇总

时间:2016-01-25 23:01:03      阅读:498      评论:0      收藏:0      [点我收藏+]

标签:

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,界面显示不全,看不到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>

oracle11g 安装错误汇总

标签:

原文地址:http://blog.csdn.net/mchdba/article/details/50583399

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!