ORA-27125:unable to create shared memory segment 解決方法?
安裝oracle 10g,出現了下列錯誤。10G的一個缺陷啊
ORA-27125:unable to create shared memory segment安裝被中斷。
root@wg:/u02> oerr ora 27125
27125, 00000, "unable to create sharedmemory segment"
// *Cause: shmget() call failed
// *Action: contact Oracle support
解決方法如下:
[root@wg ~]# id oracle
uid=500(oracle) gid=501(oinstall)groups=501(oinstall),502(dba),503(asmadmin),504(oper)
[root@wg~]# more/proc/sys/vm/hugetlb_shm_group
0
下面用root執行下面的命令,將dba組新增到系統核心中:
[root@wg ~]# echo 502 >/proc/sys/vm/hugetlb_shm_group
--這裡的502 是上面的id 命令檢視出來的。
[root@wg ~]# more /proc/sys/vm/hugetlb_shm_group
502
這樣啟動資料庫,問題消失;但是如果系統重啟了,還需要執行上面的命令,治標不治本。一勞永逸的辦法就是修改檔案sysctl.conf,方法如下:
[root@wg ~]# vi /etc/sysctl.conf
....
vm.hugetlb_shm_group=501------------------ 等號兩邊一定不能有空格
....
[root@wg ~]# sysctl -p
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29893219/viewspace-1852744/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-27121: unable to determine size of shared memory segment
- Oracle Shared Pool Memory ManagementOracle
- sudo 出現unable to resolve host 解決方法
- 【ERROR】ORA-27102: out of memory 解決方法Error
- ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
- Fatal error in launcher: Unable to create process using '"'Error
- sudo時出現unable to resolve host 的解決方法
- ftp_rawlist: Unable to create temporary file.FTP
- PostgreSQL DBA(95) - PG 12 Partition(out of shared memory)SQL
- GPU程式設計(五): 利用好shared memoryGPU程式設計
- impdp ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'
- win10執行pubg提示fail to create最佳解決方法Win10AI
- Win10系統玩cf出現out of memory的解決方法Win10
- 帝國CMS更新時提示Fatal error: Allowed memory size of的解決方法Error
- 完美解決xhost +報錯: unable to open display
- java.lang.OutOfMemoryError- unable to create new native thread 問題排查JavaErrorthread
- Ubuntu Cannot allocate memory 錯誤解決方案Ubuntu
- Shared_memory從Python3.8移植到Python3.7/3.6Python
- git pull報“unable to update local ref”解決方案Git
- 解決Ubuntu報錯 E: Unable to locate package yumUbuntuPackage
- Unable to load native-hadoop library for your platform解決HadoopPlatform
- git拉取程式碼報錯filename too long unable to create fileGit
- [FATAL] [INS-32012] Unable to create directory: /u01/app/19.3.0/grid,APP
- ORA-31633: unable to create master table "SYSTEM.SYS_EXPORT_FULL_XX"ASTExport
- win10電腦藍屏終止程式碼memory management的解決方法Win10
- 解決滾動警告:Unable to preventDefault inside passive event listenerIDE
- oracle 19c 無法create table解決Oracle
- cenots7.6系統報“fork:Cannot allocate memory” 報錯的解決方法(實操)
- libcudart.so.8.0: cannot open shared object file解決方案DartObject
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- Unable to save settings: Failed to save settings. Please restart PyCharm解決AIRESTPyCharm
- yii2 Unable to verify your data submission錯誤解決
- win10電腦藍色畫面終止程式碼memory management的解決方法Win10
- 安裝11.2.0.1資料庫軟體報[FATAL] [INS-32035] Unable to create資料庫
- Linux 無許可權建立資料夾( 報錯:Unable to create ... directory.)Linux
- create-react-app搭建vw-layout解決方案ReactAPP
- [題解]CF1073E Segment Sum
- 解決辦法:ORA-00845: MEMORY_TARGET not supported on thi
- valet install 報 Unable to determine linked PHP. 的解決辦法PHP