Oracle所有者不是dba 引起sqlplus / as sysdba 登入報錯ORA-01031
標題: Oracle所有者不是dba 引起sqlplus / as sysdba 登入報錯ORA-01031
作者:lōττéry©版權所有[文章允許轉載,但必須以連結方式註明源地址,否則追究法律責任.]
環境:
[oracle@sinosoft admin]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 16 14:46:47 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
....
----檢查
[root@sinosoft ~]# id oracle
uid=501(oracle) gid=1302(oinstall) 組=1302(oinstall)
【源於本人筆記】 若有書寫錯誤,表達錯誤,請指正...
SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 16 14:46:47 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
....
[oracle@sinosoft ~]$ sqlplus lottery/lottery -- 普通使用者沒問題
SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 16 14:53:27 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 16 14:53:27 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
----檢查
uid=501(oracle) gid=1302(oinstall) 組=1302(oinstall)
[root@sinosoft ~]# usermod -g oinstall -G dba,oper,asmdba,asmadmin oracle
[root@sinosoft ~]# id oracle
uid=501(oracle) gid=1302(oinstall) 組=1302(oinstall),1200(asmadmin),1201(asmdba),1300(dba),1301(oper)
[root@sinosoft ~]# su - oracle
[oracle@sinosoft ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 16 14:52:32 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
[root@sinosoft ~]# id oracle
uid=501(oracle) gid=1302(oinstall) 組=1302(oinstall),1200(asmadmin),1201(asmdba),1300(dba),1301(oper)
[root@sinosoft ~]# su - oracle
[oracle@sinosoft ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 16 14:52:32 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
【源於本人筆記】 若有書寫錯誤,表達錯誤,請指正...
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28602568/viewspace-1375239/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- sqlplus / as sysdba無法登入的奇怪報錯SQL
- sqlplus / as sysdba登入提示ORA-01031: 許可權不足SQL
- sqlplus / as sysdba 登入報許可權不足 for windowsSQLWindows
- sqlplus sys/oracle@orcl as sysdba無法登入SQLOracle
- sqlplus / as sysdba報錯ORA-01031: insufficient privileges的原因分析SQL
- sqlplus -prelim / as sysdba強制登入SQL
- Oracle遠端登入報錯:ora-01031:insufficient privilegesOracle
- windows 下用 as sysdba登陸報錯Windows
- 再談ORA-01031 when sqlplus '/as sysdba'SQL
- SYS使用者登入Oracle報錯ORA-01031: insufficient privilegesOracle
- linux環境下sqlplus sys/sys@ORCL as sysdba報錯 ORA-01031: insufficient privilegesLinuxSQL
- sysdba登入oracle的schema是sysOracle
- Oracle禁止connect / as sysdba方式登入Oracle
- sqlplus "/ as sysdba" 連不上,報ora-01031:insufficient privileges解決方法SQL
- AIX 未開啟AIO引起SQLPLUS登陸報錯exec(): 0509-036AISQL
- sqlplus本地登入報錯ORA-12545SQL
- sqlplus “/ as sysdba”登入的時候提示沒有許可權SQL
- Oracle 軟體克隆後sysdba登入提示沒有許可權ora-01031: insufficient privilegesOracle
- 以sysdba身份登入oracle報ORA-1031許可權不足錯誤之完美分析Oracle
- sysdba不能遠端登入
- Oracle dba角色和sysdba的區別Oracle
- 【ORACLE】oracle 使用者(sysdba)遠端登入和口令認證Oracle
- Oracle中sqlplus登入報錯SP2-0667和SP2-0750探究OracleSQL
- sqlplus / as sysdba 提示許可權不足(ORA-01031)問題處理SQL
- sqlplus -prelim/ as sysdba用法SQL
- 隨筆 sqlplus / as sysdbaSQL
- 在windows上以sysdba登陸oracleWindowsOracle
- oracle--job執行報錯--ORA-01031Oracle
- SQL> conn sys/sys@vm_sigle as sysdba; 報ORA-01031: insufficient privileges錯誤SQL
- sqlplus 可以登入 plsql 不能登入SQL
- dba和sysdba的區別
- sysdba,dba,sysoper的區別
- sysdba和dba的區別
- sqlplus登入資料庫報錯ORA-12547: TNS:lost contactSQL資料庫
- sqlplus / as sysdba報錯ORA-01017: invalid username/password; logon deniedSQLGo
- 淺談oracle 使用者(sysdba)遠端登入和口令認證Oracle
- ORACLE軟體克隆完成後sysdba登入提示沒有許可權Oracle
- Oracle的SYS使用者登入報許可權不足(ORA-01031: insufficient privileges)Oracle