环境概述
ASM管理软件:11.2.0.4
ORACLE软 件: 11.2.0.4
操 作 系 统:redhat6
该环境是借用了asm管理软件来提升IO性能,并没有安装集群软件。
故障现象:启动数据库时报错,alert日志没有任何信息,提示如下
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/db11g/spfileptgk.ora'
ORA-17503: ksfdopn:10 Failed to open file +DATA/db11g/spfileptgk.ora
ORA-01017: invalid username/password; logon denied
SQL>
故障排查:初步怀疑是客户修改了oracle权限导致,排查发现$ORACLE_HOME/bin/oracle权限并不是6751,随后将权限修复。
chmod 6751 $ORACLE_HOME/bin/oracle
或者用
setasmgidwrap -o $ORACLE_HOME/bin/oracle
权限修复后再次启动错误继续报错,错误提示ora-01031。
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/db11g/spfileptgk.ora'
ORA-17503: ksfdopn:10 Failed to open file +DATA/db11g/spfileptgk.ora
ora-01031 insufficient privileges
SQL>
看到这个提示故障原因就很明显了,用户无权限,检查oracle用户发现用户少了2个组
#检查用户组属发现,orace用户少了2个用户组
id oracle
uid=1200(oracle) gid=1000(oinstall)groups=1000(oinstall),1201(oper)
#修改用户组属
usermod -G asmdba,dba oracle
id oracle
uid=1200(oracle) gid=1000(oinstall)groups=1000(oinstall),1200(dba),1201(oper),1300(asmdba)
将oracle加入dba、asmdba组后再次启动数据库就正常了。
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




