sqlplus/rman登录报权限错误ORA-01031/ORA-04005/0RA-00554

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sqlplus/rman登录报权限错误ORA-01031/ORA-04005/0RA-00554相关的知识,希望对你有一定的参考价值。

安装Weblogic误操作对Oracle用户属组进行了修改

--本地sqlplus登录报错权限问题???

[[email protected] admin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Sat May 5 01:28:39 2018

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

ERROR:
ORA-01031: insufficient privileges

--本地RMAN 登录还是报权限问题

[[email protected] admin]$ rman target /

Recovery Manager: Release 11.2.0.4.0 - Production on Sat May 5 01:10:30 2018

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges

--故障缘由推断: Oracle无法登录  使用软件,本地登录排除口令文件文件,是否是操作系统环境变量、权限问题,环境变量有问题,报错不同,此现象是无法运行Oracle的程序软件SQLPLUS/ RMAN ,因此查询操作系统用户
[[email protected] admin]$ id oracle
uid=502(oracle) gid=500(oinstall) groups=500(oinstall),1100(weblogic)

--发现Oracle属主存在异常

[[email protected] ~]# gpasswd -d oracle weblogic
Removing user oracle from group weblogic
[[email protected] ~]# id oracle
uid=502(oracle) gid=500(oinstall) groups=500(oinstall)
[[email protected] ~]# usermod -d /home/oracle/ -G dba oracle
[[email protected] ~]# id oracle
uid=502(oracle) gid=500(oinstall) groups=500(oinstall),502(dba)















以上是关于sqlplus/rman登录报权限错误ORA-01031/ORA-04005/0RA-00554的主要内容,如果未能解决你的问题,请参考以下文章

权限错误导致的ssh登录失败

怎么解决上传文件时winSCP报错误码3

ABP 用swagger UI测试API报401无权限访问问题

Gitee之SSH与HTTPS免密(权限)配置

oracle sys 权限不足

oracle12C 创建用户却不能登录,01017错误