ebs系統 客戶端使用 pl/sql developer 無法以sys使用者登入解決方法
應用是oracle ebs r12.1.1
資料庫的版本是 11.1.0.7.0
資料庫的版本是 11.1.0.7.0
OS版本 SunOS text 5.10 Generic_147440-09 sun4v sparc SUNW,T5240
已經在伺服器端建立了 orapwd檔案
已經在伺服器端建立了 orapwd檔案
建立的語法為
orapwd file=orapwvis11g password=test force=y ignorecase=y
-bash-3.2$ cd $ORACLE_HOME/dbs
-bash-3.2$ ls -rctl
total 218
-rw-r--r-- 1 oracle dba 12920 Jun 7 15:52 initdw.ora
-rw-r--r-- 1 oracle dba 2774 Jun 7 15:52 init.ora
-rw-r--r-- 1 oracle dba 19343 Jun 7 15:52 initR1211BL.ora.1026200834633
-rw-rw---- 1 oracle dba 1552 Jun 7 15:52 hc_DBUA0.dat
-rw-r--r-- 1 oracle dba 19528 Jun 7 15:52 initR1211XB4.ora.0142009231355
-rw-r----- 1 oracle dba 6656 Jun 7 15:52 spfileR1211XB4.ora.bak
-rw-r--r-- 1 oracle dba 0 Jun 7 16:01 VIS_ifile.ora
-rw-rw---- 1 oracle dba 1544 Jun 7 17:09 hc_VIS.dat
-rw-r----- 1 oracle dba 24 Jun 7 17:09 lkVIS
-rw-r--r-- 1 oracle dba 19515 Jun 7 17:18 initVIS_noaq.ora
-rw-r--r-- 1 oracle dba 0 Jun 7 17:18 VIS_text_ifile.ora
-rw-r--r-- 1 oracle dba 19469 Jun 8 11:12 initVIS.ora
-rw-r----- 1 oracle dba 1536 Jul 5 14:14 orapwvis11g
-bash-3.2$
伺服器端執行os認證
-bash-3.2$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Jul 5 16:26:02 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
SQL> show parameter REMOTE_LOGIN_PASSWORDFILE;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_login_passwordfile string EXCLUSIVE
SQL>
SQL> show parameter instance_name;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
instance_name string VIS
SQL>
SQL> show parameter db_name;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name string VIS
SQL>
bash-3.2$ ps -ef |grep smon
oracle 8896 1 0 18:18:03 ? 0:33 ora_smon_VIS
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
instance_name string VIS
SQL>
SQL> show parameter db_name;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name string VIS
SQL>
bash-3.2$ ps -ef |grep smon
oracle 8896 1 0 18:18:03 ? 0:33 ora_smon_VIS
-bash-3.2$ cd $ORACLE_HOME/network/admin
-bash-3.2$ pwd
/export/home2/oracle/VIS/db/tech_st/11.1.0/network/admin
-bash-3.2$ pwd
/export/home2/oracle/VIS/db/tech_st/11.1.0/network/admin
bash-3.2$ ls -rctl
total 6
-rw-r--r-- 1 oracle dba 187 Jun 7 15:51 shrept.lst
drwxr-xr-x 2 oracle dba 512 Jun 7 15:51 samples
drwxr-xr-x 2 oracle dba 512 Jun 11 11:22 VIS_text
total 6
-rw-r--r-- 1 oracle dba 187 Jun 7 15:51 shrept.lst
drwxr-xr-x 2 oracle dba 512 Jun 7 15:51 samples
drwxr-xr-x 2 oracle dba 512 Jun 11 11:22 VIS_text
-bash-3.2$ cd VIS_text/
-bash-3.2$ ls -rctl
total 14
-rw-r--r-- 1 oracle dba 2 Jun 7 17:16 listener_ifile.ora
-rw-r--r-- 1 oracle dba 2 Jun 7 17:16 sqlnet_ifile.ora
-rw-r--r-- 1 oracle dba 1212 Jun 7 17:17 listener.ora
-rw-r--r-- 1 oracle dba 1723 Jun 7 17:17 tnsnames.ora
-rw-r--r-- 1 oracle dba 625 Jun 7 17:17 sqlnet.ora
-rw-r--r-- 1 oracle dba 0 Jun 11 11:22 select
-bash-3.2$ more tnsnames.ora
VIS=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=text.yahgee.com)(PORT=1531))
(CONNECT_DATA=
(SID=VIS)
)
)
-bash-3.2$ ls -rctl
total 14
-rw-r--r-- 1 oracle dba 2 Jun 7 17:16 listener_ifile.ora
-rw-r--r-- 1 oracle dba 2 Jun 7 17:16 sqlnet_ifile.ora
-rw-r--r-- 1 oracle dba 1212 Jun 7 17:17 listener.ora
-rw-r--r-- 1 oracle dba 1723 Jun 7 17:17 tnsnames.ora
-rw-r--r-- 1 oracle dba 625 Jun 7 17:17 sqlnet.ora
-rw-r--r-- 1 oracle dba 0 Jun 11 11:22 select
-bash-3.2$ more tnsnames.ora
VIS=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=text.yahgee.com)(PORT=1531))
(CONNECT_DATA=
(SID=VIS)
)
)
然後在伺服器端執行如下操作,提示沒有許可權
bash-3.2$ sqlplus sys/test@VIS as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Fri Jul 6 10:09:22 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
Enter user-name:
然後衝命名了密碼檔案以後,以正常登入
bash-3.2$ cd $ORACLE_HOME/dbs
-bash-3.2$ ls -rctl
total 218
-rw-r--r-- 1 oracle dba 12920 Jun 7 15:52 initdw.ora
-rw-r--r-- 1 oracle dba 2774 Jun 7 15:52 init.ora
-rw-r--r-- 1 oracle dba 19343 Jun 7 15:52 initR1211BL.ora.1026200834633
-rw-rw---- 1 oracle dba 1552 Jun 7 15:52 hc_DBUA0.dat
-rw-r--r-- 1 oracle dba 19528 Jun 7 15:52 initR1211XB4.ora.0142009231355
-rw-r----- 1 oracle dba 6656 Jun 7 15:52 spfileR1211XB4.ora.bak
-rw-r--r-- 1 oracle dba 0 Jun 7 16:01 VIS_ifile.ora
-rw-rw---- 1 oracle dba 1544 Jun 7 17:09 hc_VIS.dat
-rw-r----- 1 oracle dba 24 Jun 7 17:09 lkVIS
-rw-r--r-- 1 oracle dba 19515 Jun 7 17:18 initVIS_noaq.ora
-rw-r--r-- 1 oracle dba 0 Jun 7 17:18 VIS_text_ifile.ora
-rw-r--r-- 1 oracle dba 19469 Jun 8 11:12 initVIS.ora
-rw-r----- 1 oracle dba 1536 Jul 5 14:14 orapwvis11g
-bash-3.2$ ls -rctl
total 218
-rw-r--r-- 1 oracle dba 12920 Jun 7 15:52 initdw.ora
-rw-r--r-- 1 oracle dba 2774 Jun 7 15:52 init.ora
-rw-r--r-- 1 oracle dba 19343 Jun 7 15:52 initR1211BL.ora.1026200834633
-rw-rw---- 1 oracle dba 1552 Jun 7 15:52 hc_DBUA0.dat
-rw-r--r-- 1 oracle dba 19528 Jun 7 15:52 initR1211XB4.ora.0142009231355
-rw-r----- 1 oracle dba 6656 Jun 7 15:52 spfileR1211XB4.ora.bak
-rw-r--r-- 1 oracle dba 0 Jun 7 16:01 VIS_ifile.ora
-rw-rw---- 1 oracle dba 1544 Jun 7 17:09 hc_VIS.dat
-rw-r----- 1 oracle dba 24 Jun 7 17:09 lkVIS
-rw-r--r-- 1 oracle dba 19515 Jun 7 17:18 initVIS_noaq.ora
-rw-r--r-- 1 oracle dba 0 Jun 7 17:18 VIS_text_ifile.ora
-rw-r--r-- 1 oracle dba 19469 Jun 8 11:12 initVIS.ora
-rw-r----- 1 oracle dba 1536 Jul 5 14:14 orapwvis11g
-bash-3.2$ cp orapwvis11g orapwVIS
-bash-3.2$
-bash-3.2$ rm orapwvis11g
-bash-3.2$ sqlplus sys/test@VIS as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Fri Jul 6 10:12:37 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
再次通過客戶端,用pl/sql developer 工具,以sys使用者身份登入系統成功。
因此,在手動建立密碼檔案的時候,必須要採用 'orapw例項名' 這種格式的檔名
不管db處於哪種狀態,客戶端都可以通過 pl/sql developer 工具 以sys身份登入 ,只是有些檢視訪問不了而已
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24862808/viewspace-734759/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 「Oracle」客戶端 PL/SQL DEVELOPER 安裝使用Oracle客戶端SQLDeveloper
- Steam客戶端無法登入怎麼辦 新裝w10系統steam客戶端登不上去怎麼解決客戶端
- Win10系統下eM客戶端無法啟動的解決方法Win10客戶端
- 解決mysql無法遠端登入的方法MySql
- win10系統下OneNote功能無法登入的解決方法Win10
- epic登入一直轉圈怎麼辦 快速解決epic客戶端無法登陸的問題客戶端
- 使用11g客戶端或pl/sql developer連線高版本Oracle 19c ORA-28040 ORA-01017客戶端SQLDeveloperOracle
- win10系統無法使用Microsoft Account賬戶登入系統怎麼辦Win10ROS
- PL/SQL Developer連線遠端Oracle資料庫SQLDeveloperOracle資料庫
- win10 64位系統登入不了優酷客戶端如何解決Win10客戶端
- sys使用者遠端登入報ORA-01031 insufficient privileges
- Win10系統開機登入提示無法載入使用者配置檔案如何解決Win10
- 解決ZBLOG PHP 程式無法登入後臺賬戶問題PHP
- PL2303在win10無法使用的解決辦法Win10
- mac google chrome無法登入的解決方法看這裡MacGoChrome
- win10系統下無法更改賬戶名稱的解決方法Win10
- 解決pl/sql developer中資料庫插入資料亂碼問題SQLDeveloper資料庫
- win10系統無法登入戰網怎麼辦_win10戰網登入不上去的解決方法Win10
- vnc登入工具,好用的vnc登入工具,具體登入vnc客戶端使用教程VNC客戶端
- pl developerDeveloper
- 5. Oracle連線和使用——5.2. PL/SQL DeveloperOracleSQLDeveloper
- 解決CentOS7系統無法使用中文輸入法的問題CentOS
- Win10系統禁用管理員帳戶後無法進入系統怎麼解決Win10
- VSCode彈窗無法應用,終端無法鍵入命令列解決方法VSCode命令列
- win10系統下郵件客戶端無法讀取qq郵件如何解決Win10客戶端
- win10系統登入微軟賬戶出錯無法登入怎麼辦Win10微軟
- win10系統無法修改管理員賬戶密碼的解決方法Win10密碼
- win10無法登陸到你的賬戶怎麼辦_win10顯示無法登陸到你的賬戶解決方法Win10
- 一個ssh無法遠端登入的問題跟蹤解決
- win10系統安裝ps提示無法寫入登錄檔值錯誤160解決方法Win10
- pl/sql developer的一個小問題SQLDeveloper
- win7系統下SQL2008使用者sa登入失敗如何解決Win7SQL
- win10為什麼無法登入到你的賬戶 win10顯示無法登入到你的賬戶的方法Win10
- 使用者登入前臺之後,無法退出如何解決?謝謝
- Linux 作業系統配置互信認證後,登入仍然需要輸入使用者密碼的解決辦法Linux作業系統密碼
- w10系統qq無法登陸怎麼解決_win10系統qq登陸不上處理方法Win10
- win10系統開機無法登入提示控制程式碼無效怎麼解決Win10
- 使用PLSQL客戶端登入ORACLE時報ORA-12502和ORA-12545錯誤的解決方案SQL客戶端Oracle
- win10系統下輸入法無法使用如何解決Win10