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-27125:unable to create shared memory segment 解決方法
- 解決ORA-27125: unable to create shared memory segment
- Linux 10g --ORA-27125: unable to create shared memory segmentLinux
- DBCA建立ASM報錯ORA-27125: unable to create shared memory segmentASM
- Linux 6.2 安裝Oracle 10g ORA-27125:unable to create shared memory segmentLinuxOracle 10g
- ORA-1652: unable to extend temp segment by 128 in tablespace錯誤的解決方法
- ORA-27100: shared memory realm already exists解決方法
- 轉貼:xhost unable to open display解決方法
- Unable to generate a temporary class (result=1)解決方法
- Unable to create git index lockGitIndex
- [轉]ABAP Memory/SAP Memory/Shared Buffer/DatabaseDatabase
- 解決MYSQL工具mysqldump 遇到 Out of memory 方法MySql
- sudo 出現unable to resolve host 解決方法
- Unable to execute dex: Multiple dex files define 解決方法
- ORA-27101 Shared memory realm does not exist錯誤解決方案
- ORA-27100 shared memory realm already exists錯誤解決
- ORA-27125錯誤解決
- Oracle Shared Pool Memory ManagementOracle
- ora-27100:shared memory realm already exists錯誤的解決
- SMON: about to recover undo segment 1 的錯誤提示解決方法
- oninit -vy 出錯: Fatal error in shared memory creation 以及 shared memory already existsError
- 【ERROR】ORA-27102: out of memory 解決方法Error
- ORA-1652: unable to extend temp segment errors In RACError
- sudo時出現unable to resolve host 的解決方法
- java.lang.OutOfMemoryError: unable to create new native thread如何解決JavaErrorthread
- ftp_rawlist: Unable to create temporary file.FTP
- Fatal error in launcher: Unable to create process using '"'Error
- ORA-27102: out of memory 問題解決方法
- SAPOSCOL not running (Shared memory not available)AI
- 啟動Tomcat 失敗(Unable to start cluster)及解決方法Tomcat
- Rac中使用create pfile from spfile後的解決方法
- Unable to create index.lock File exists錯誤Index
- ORA-1652: unable to extend temp segment by 256 in tablespace PSAPTEMPAPT
- Mysql的error while loading shared libraries解決方法MySqlErrorWhile
- linux解決xhost: unable to open displayLinux
- linux解決xhost unable to open display‘’Linux
- 【Android-tips】 Unable to execute dex: Multiple dex files define 解決方法Android
- Unable To Create Database Using ASM ORA-15055DatabaseASM