[[email protected] ~]$ 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
解决办法
[[email protected] ~]# more /proc/sys/vm/hugetlb_shm_group
0
[[email protected] ~]# echo 502 >/proc/sys/vm/hugetlb_shm_group
[[email protected] ~]# more /proc/sys/vm/hugetlb_shm_group
502
[[email protected] ~]# su - ora10g
[[email protected] ~]$
[[email protected] ~]$
[[email protected] ~]$
[[email protected] ~]$ 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 解决方法
时间: 2024-10-04 07:51:25