oracle11g安裝錯誤總結:
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
解決辦法:進去System–>Preferences–>Display–Resolution,設置成1360x768就可以了,然後apply應用下,就可以看到next按鈕了。
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>