首页 > 代码库 > oracle11g 安装错误汇总

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 ~]
<script type="math/tex" id="MathJax-Element-7"> 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 ~]</script>

解决的方法:
直接vim runInstaller,将以下的exit 0;凝视掉
if [ $UNAME = “Linux” ]; then
if [ -e $GETCONF ]; then
value=http://www.mamicode.com/$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>

<script type="text/javascript"> $(function () { $(‘pre.prettyprint code‘).each(function () { var lines = $(this).text().split(‘\n‘).length; var $numbering = $(‘
    ‘).addClass(‘pre-numbering‘).hide(); $(this).addClass(‘has-numbering‘).parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($(‘
  • ‘).text(i)); }; $numbering.fadeIn(1700); }); }); </script>

oracle11g 安装错误汇总