安装Weblogic误操作对Oracle用户属组进行了修改
--本地sqlplus登录报错权限问题???
[oracle@enmo 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 登录还是报权限问题
[oracle@enmo 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 ,因此查询操作系统用户
[oracle@enmo admin]$ id oracle
uid=502(oracle) gid=500(oinstall) groups=500(oinstall),1100(weblogic)
--发现Oracle属主存在异常
[root@enmo ~]# gpasswd -d oracle weblogic
Removing user oracle from group weblogic
[root@enmo ~]# id oracle
uid=502(oracle) gid=500(oinstall) groups=500(oinstall)
[root@enmo ~]# usermod -d /home/oracle/ -G dba oracle
[root@enmo ~]# id oracle
uid=502(oracle) gid=500(oinstall) groups=500(oinstall),502(dba)