Oracle啟動出現ORA-27125錯誤

來源:互聯網
上載者:User

環境:
作業系統:RedHat 5.3 64bit
Oracle版本:Release 10.2.0.1.0

今天啟動一台測試的Oracle資料庫時,出現如下錯如資訊:
SQL> startup
ORA-27125: unable to create shared memory segment
Linux-x86_64 Error: 1: Operation not permitted

通過報錯資訊可以知道是由於無法建立共用記憶體從而導致無法啟動Oracle。通過google查詢了下發現出現這個問題和Linux的hugetbl有關係,可以通過如下兩種方法來解決這個問題:
①、直接手動修改/proc/sys/vm/hugetlb_shm_group
# more /proc/sys/vm/hugetlb_shm_group
0
#  id oracle
uid=504(oracle) gid=505(oinstall) groups=505(oinstall),504(dba)
# echo 504 > /proc/sys/vm/hugetlb_shm_group

②、修改核心
# more /proc/sys/vm/hugetlb_shm_group
0
#  id oracle
uid=504(oracle) gid=505(oinstall) groups=505(oinstall),504(dba)
# vim /etc/sysctl.conf
···
vm.hugetlb_shm_group  = 504
# sysctl -p

注意只能通過root修改,將dba組的id添加到內科既可,修改完成之後重啟Oracle即可。

SPFILE 錯誤導致資料庫無法啟動(ORA-01565)

ORA-01172、ORA-01151錯誤處理

ORA-00600 [2662]錯誤解決

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.