遇到 ORA-27121 錯誤
ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
Linux Error: 13: Permission denied
主要是因為oracle安裝程序沒有給oracle這個可執行程序設置正確的setuid。這樣設置一下:
$ cd $ORACLE_HOME/bin
$ chmod 6751 oracle
結果類似這樣就行了。
$ ls -l $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 oracle oinstall 23352783 Aug 14 2001 /home/oracle/app/oracle/product/8.1.6/bin/oracle
這個錯誤的典型現象:使用oracle用戶一切正常,但是在使用其它用戶時,使用sqlplus無法登錄,報告上面的錯誤!