[ora10g@oracle ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 26 18:46:02 2015
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
SQL>
SQL> startup
ORA-27125: unable to create shared memory segment
Linux-x86_64 Error: 1: Operation not permitted
解决办法
[root@oracle ~]# more /proc/sys/vm/hugetlb_shm_group
0
[root@oracle ~]# echo 502 >/proc/sys/vm/hugetlb_shm_group
[root@oracle ~]# more /proc/sys/vm/hugetlb_shm_group
502
[root@oracle ~]# su - ora10g
[ora10g@oracle ~]$
[ora10g@oracle ~]$
[ora10g@oracle ~]$
[ora10g@oracle ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 26 18:52:21 2015
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 595591168 bytes
Fixed Size 2022600 bytes
Variable Size 167772984 bytes
Database Buffers 423624704 bytes
Redo Buffers 2170880 bytes
Database mounted.
Database opened.
参考:
Oracle 10g ORA-27125:unable to create shared memory segment 解决方法