ORA-27125:unable to create shared memory segment 解決方法
在Oracle Linux 6.2 上安裝Oracle 10.2.0.1, 在安裝軟體的時候就忽略很多告警和確認資訊。在dbca 建instance的時候,又遇到了:
ORA-27125:unable to create shared memory segment
安裝被中斷。
rac2:/u02> oerr ora 27125
27125, 00000, "unable to create sharedmemory segment"
// *Cause: shmget() call failed
// *Action: contact Oracle support
解決方法如下:
[root@dbsrv ~]# id oracle
uid=500(oracle) gid=501(oinstall)groups=501(oinstall),502(dba),503(asmadmin),504(oper)
[root@dbsrv ~]# more/proc/sys/vm/hugetlb_shm_group
0
下面用root執行下面的命令,將dba組新增到系統核心中:
[root@dbsrv ~]# echo 502 >/proc/sys/vm/hugetlb_shm_group
--這裡的502 是上面的id 命令檢視出來的。
[root@dbsrv ~]# more /proc/sys/vm/hugetlb_shm_group
502
因為我dbca的程式沒有退出,直接執行最後一步,點finish繼續建庫。成功建立例項。 如果遇到例項名以存在的提示,刪除/etc/oratab 中對應的記錄即可。
hugetlb_shm_group 說明:
hugetlb_shm_group contains group id that isallowed to create SysV shared memory segment using hugetlb page
When a process uses some memory, the CPU ismarking the RAM as used by that process. For efficiency, the CPU allocate RAMby chunks of 4K bytes (it's the default value on many platforms). Those chunksare named pages. Those pages can be swapped to disk, etc.
Since the process address space are virtual, the CPU and the operating systemhave to remember which page belong to which process, and where it is stored.Obviously, the more pages you have, the more time it takes to find where thememory is mapped. When a process uses 1GB of memory, that's 262144 entries to lookup (1GB / 4K). If one Page Table Entry consume 8bytes, that's 2MB (262144 * 8)to look-up.
Most current CPU architectures support bigger pages (so the CPU/OS have lessentries to look-up), those are named Huge pages (on Linux), Super Pages (onBSD) or Large Pages (on Windows), but it all the same thing.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/751371/viewspace-776477/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 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 問題解決方法
- 啟動Tomcat 失敗(Unable to start cluster)及解決方法Tomcat
- SAPOSCOL not running (Shared memory not available)AI
- 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