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客戶端登不上去怎麼解決客戶端
- GitHub Windows客戶端無法登入GithubWindows客戶端
- PL/SQL developer 遠端連線資料庫 客戶端配置SQLDeveloper資料庫客戶端
- Win10系統下eM客戶端無法啟動的解決方法Win10客戶端
- 解決mysql無法遠端登入的方法MySql
- ora-01031錯誤(在客戶端以SYS使用者登陸報錯)客戶端
- 使用遠端桌面功能登入系統,常常遇到類似“由於帳戶限制,你無法登入”的提示的解決辦法
- 水煮八《——客戶端以sysdba登入設定客戶端
- SYS使用者可以登入,其他使用者無法登陸的問題處理
- PL/SQl Developer使用SQLDeveloper
- PL/SQL Developer 使用SQLDeveloper
- epic登入一直轉圈怎麼辦 快速解決epic客戶端無法登陸的問題客戶端
- OpenSSH普通使用者無法登入的幾種情況的解決方法
- symantec10.1企業版部分客戶端無法更新 解決方法客戶端
- sql無法開啟使用者預設資料庫,登入失敗,使用者‘sa’登入失敗,錯誤:4064的解決方法SQL資料庫
- win10系統下OneNote功能無法登入的解決方法Win10
- win10 64位系統登入不了優酷客戶端如何解決Win10客戶端
- pl/sql developer使用技巧SQLDeveloper
- Winform客戶端引用WCF客戶端後,部分類無法正常使用ORM客戶端
- 不安裝Oracle客戶端也能使用PL/SQL instantclientOracle客戶端SQLclient
- PL/SQL Developer-中文註釋亂碼的解決辦法SQLDeveloper
- solaris預設無法遠端root使用者登入
- 怎樣解決遠端桌面由於帳戶限制導致無法登入
- 64位作業系統下安裝pl/sql developer 並登入oracle12c作業系統SQLDeveloperOracle
- win10系統無法使用Microsoft Account賬戶登入系統怎麼辦Win10ROS
- SYS使用者無法遠端登入ORA-01017、ORA-01031
- Linux - Ftp客戶端安裝、建立Ftp使用者和登入LinuxFTP客戶端
- 網易新聞客戶端iOS版昨現故障:使用者無法使用客戶端iOS
- 使用Oracle客戶端wallet實現匿名登入Oracle客戶端
- 64位Windows7下PL/SQL Developer無法連線WindowsSQLDeveloper
- Ucenter後臺登陸驗證碼CCCC的解決方法無法登入解決辦法
- PLSQL Developer 客戶端沒有TNS監聽,無法連線資料庫SQLDeveloper客戶端資料庫
- 64位機器上使用PL/SQL Developer 連線不上Oracle的解決辦法SQLDeveloperOracle
- “使用者sa登入失敗,該使用者與可信sql server連線無關聯”錯誤解決方法SQLServer
- Win10系統開機登入提示無法載入使用者配置檔案如何解決Win10
- Windows10系統無法切換輸入法的解決方法Windows
- 該帳戶當前被鎖定,所以使用者 'sa' 登入失敗。系統管理員無法將該帳戶解鎖。