Linux 6.2 安裝Oracle 10g ORA-27125:unable to create shared memory segment
在Oracle Linux 6.2 上安裝Oracle 10.2.0.1, 在安裝軟體的時候就是很曲折的過程。
首先是安裝ORACLE軟體的時候,作業系統版本不支援。修改Linux作業系統版本:
[root@localhost01 ~]# vi /etc/system-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)
改成:
[root@localhost01 ~]# vi /etc/system-release
Red Hat Enterprise Linux Server release 4.2 (Santiago)
在dbca
建instance的時候,又遇到了:
ORA-27125:unable to create shared memory segment
安裝被中斷。
# oerr ora 27125
27125, 00000, "unable to create sharedmemory segment"
// *Cause: shmget() call failed
// *Action: contact Oracle support
解決方法如下:
[root@localhost01 ~]# id oracle
uid=500(oracle) gid=501(oinstall)groups=501(oinstall),502(dba),503(asmadmin),504(oper)
[root@rac2 ~]# more /proc/sys/vm/hugetlb_shm_group
0
下面用root執行下面的命令,將dba組新增到系統核心中:
[root@localhost01 ~]# echo 502 >/proc/sys/vm/hugetlb_shm_group
--這裡的502 是上面的id 命令檢視出來的。
[root@rac2 ~]# more /proc/sys/vm/hugetlb_shm_group
502
然後重新DBCA,成功建立例項。 如果遇到例項名以存在的提示,刪除/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-1169973/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux 10g --ORA-27125: unable to create shared memory segmentLinux
- 解決ORA-27125: unable to create shared memory segment
- ORA-27125:unable to create shared memory segment 解決方法
- ORA-27125:unable to create shared memory segment 解決方法?
- DBCA建立ASM報錯ORA-27125: unable to create shared memory segmentASM
- linux 6.1安裝oracle 10g出現 ora-27125和hugepage記載LinuxOracle 10g
- ORACLE 10G Client For Linux RedHat 6.2Oracle 10gclientLinuxRedhat
- Linux 6.2 安裝infobrightLinux
- Oracle Shared Pool Memory ManagementOracle
- Oracle Linux 5.5 安裝Oracle 10gLinuxOracle 10g
- linux下安裝oracle 10gLinuxOracle 10g
- redhat linux 6.2 安裝配置GUIRedhatLinuxGUI
- 【ERROR】win2003安裝oracle10g報錯 unable to create an item...ErrorOracle
- 32位Linux下安裝Oracle 10gLinuxOracle 10g
- redhat6.2安裝oracle11.2.0.3RACRedhatOracle
- Oracle 10g RAC for linux 的完全解除安裝Oracle 10gLinux
- 在Linux下安裝Oracle 10g的方法LinuxOracle 10g
- LINUX下解除安裝ORACLE 10g資料庫LinuxOracle 10g資料庫
- Linux RHEL 5 安裝ORACLE 10g資料庫LinuxOracle 10g資料庫
- Unable to create git index lockGitIndex
- Create Logical Standby For Oracle 10GOracle 10g
- [轉]ABAP Memory/SAP Memory/Shared Buffer/DatabaseDatabase
- 安裝Oracle 10g RAC是否需要安裝HACMPOracle 10gACM
- 安裝Oracle 10g RAC是否需要安裝HACMP?Oracle 10gACM
- ISO 映象安裝oracle 10gOracle 10g
- oracle 10g rac 解除安裝Oracle 10g
- oracle 10g ubuntu 9.04 安裝Oracle 10gUbuntu
- Oracle 10g AWR安裝使用Oracle 10g
- Oracle 10g 靜默安裝Oracle 10g
- Linux (RHEL 5.4)下安裝 Oracle 10g R2LinuxOracle 10g
- RedHat Enterprice Linux 5.4 下安裝Oracle 10gRedhatLinuxOracle 10g
- 在RedHat LInux5上安裝Oracle 10g dbRedhatLinuxOracle 10g
- 在 Linux x86 上安裝 Oracle RAC 10gLinuxOracle
- linux下安裝oracle 10g 的艱難之旅(轉)LinuxOracle 10g
- Oracle - ORA-01652: unable to extend temp segment by 128 in tablespace TEMPOracle
- Mac 下載安裝redis 6.2MacRedis
- 使用 VMware 在 Oracle Enterprise Linux 上安裝 Oracle RAC 10gOracleLinux
- 安裝11.2.0.1資料庫軟體報[FATAL] [INS-32035] Unable to create資料庫