oracle 启动报错ORA-27125解决方案

脚本:

oracle@edwdb:~> id
uid=1100(oracle) gid=1000(oinstall) groups=1000(oinstall),1200(dba)
oracle@edwdb:~> su - root
Password: 

由此可知 dba组的ID是1200,然后把1200加入到配置文件中:

/proc/sys/vm/hugetlb_shm_group 

用root用户执行:

echo 1200 > /proc/sys/vm/hugetlb_shm_group

成功:

oracle@edwdb:~> sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 21 23:28:59 2017

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 1174405120 bytes
Fixed Size                  2020288 bytes
Variable Size             285215808 bytes
Database Buffers          872415232 bytes
Redo Buffers               14753792 bytes
Database mounted.
Database opened.
SQL> 
SQL> exit

参考文章:http://www.eygle.com/archives/2011/12/hugepageshugetl.html

网上还有永久解决方案:

http://java-007.iteye.com/blog/1812280

仅此记录,以免忘记。

posted @ 2017-02-07 10:10  JOKER-ZHAO  阅读(2518)  评论(0编辑  收藏  举报