遠端登入sys使用者報錯:ORA-01017: invalid username/password; logon denied
遠端登入sys使用者報錯:ORA-01017: invalid username/password; logon denied
今天有個客戶反應資料庫不能用sys使用者遠端登陸
情況如下:
SQL> conn sys/system123@xxxx as sysdba
ERROR:
ORA-01017: invalid username/password; logon denied
SQL> conn sys/system@xxx as sysdba
Connected.
1.重建密碼檔案
orapwd file=/oracle/app/11.2.0/db_1/dbs/orapwxxx1 password=system123 entries=5
orapwd file=/oracle/app/11.2.0/db_1/dbs/orapwxxx2 password=system123 entries=5
重建密碼檔案需要重啟資料庫
保險起見在資料庫中修改下sys密碼
SQL> alter user sys identified by system123
SQL> conn sys/system123@xxxx as sysdba
ERROR:
ORA-01017: invalid username/password; logon denied
遠端登陸依然不行
2.檢查remote_login_passwordfile引數
檢視資料庫,該引數值預設為none,如果要使sys遠端登入,必須要改為exclusive才可以。
修改該引數:
$ sqlplus "/ as sysdba"
SQL*Plus: Release 11.2.0.3.0 Production on Wed May 7 20:11:59 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, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> show prameter REMOTE_LOGIN_PASSWORDFILE
NAME TYPE
------------------------------------ ----------------------
VALUE
------------------------------
remote_login_passwordfile string
NONE
SQL>alter system set remote_login_passwordfile=exclusive scope=spfile;
RAC 環境兩邊都要重啟後生效。
$ sqlplus sys/"system123"@xxxxx as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Wed May 7 20:22:05 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, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> -------遠端方式成功登陸sys使用者
今天有個客戶反應資料庫不能用sys使用者遠端登陸
情況如下:
SQL> conn sys/system123@xxxx as sysdba
ERROR:
ORA-01017: invalid username/password; logon denied
SQL> conn sys/system@xxx as sysdba
Connected.
1.重建密碼檔案
orapwd file=/oracle/app/11.2.0/db_1/dbs/orapwxxx1 password=system123 entries=5
orapwd file=/oracle/app/11.2.0/db_1/dbs/orapwxxx2 password=system123 entries=5
重建密碼檔案需要重啟資料庫
保險起見在資料庫中修改下sys密碼
SQL> alter user sys identified by system123
SQL> conn sys/system123@xxxx as sysdba
ERROR:
ORA-01017: invalid username/password; logon denied
遠端登陸依然不行
2.檢查remote_login_passwordfile引數
檢視資料庫,該引數值預設為none,如果要使sys遠端登入,必須要改為exclusive才可以。
修改該引數:
$ sqlplus "/ as sysdba"
SQL*Plus: Release 11.2.0.3.0 Production on Wed May 7 20:11:59 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, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> show prameter REMOTE_LOGIN_PASSWORDFILE
NAME TYPE
------------------------------------ ----------------------
VALUE
------------------------------
remote_login_passwordfile string
NONE
SQL>alter system set remote_login_passwordfile=exclusive scope=spfile;
RAC 環境兩邊都要重啟後生效。
$ sqlplus sys/"system123"@xxxxx as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Wed May 7 20:22:05 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, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> -------遠端方式成功登陸sys使用者
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29371470/viewspace-1156279/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SYS使用者遠端登入報錯:ORA-01017: invalid username/password; logon deniedGo
- ORA-01017:invalid username/password; logon deniedGo
- sqlplus / as sysdba報錯ORA-01017: invalid username/password; logon deniedSQLGo
- AD Administration error:ORA-01017: invalid username/password; logon deniedErrorGo
- ORA-01017: invalid username/password; logon denied ORA-02063: preceding line from TESTGo
- 【DG】搭建DG時報錯:ORA-01017、ORA-17627、ORA-17629 invalid username/password
- 【YashanDB資料庫】YAS-02143 invalid username/password, login denied資料庫
- SYS使用者無法遠端登入ORA-01017、ORA-01031
- RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password;ErrorUXDatabase
- sys使用者遠端登入報ORA-01031 insufficient privileges
- 使用TortoiseHg克隆遠端目錄報錯"abort: Access is denied"
- sys不能遠端登入。ora-01031
- 禁止root使用者遠端登入
- ora-01031錯誤(在客戶端以SYS使用者登陸報錯)客戶端
- SYS使用者登入Oracle報錯ORA-01031: insufficient privilegesOracle
- MSSQL不能遠端登入--使用者 'sa' 登入失敗。 (Microsoft SQL Server,錯誤: 18456)SQLROSServer
- The password supplied with the username Domain\UserName was not correct. Verify that it was entered ...AI
- 啟動報錯:Access denied for user 'root'@'localhost' (using password:YES)localhost
- 19c登入pdb密碼報錯ORA-01017密碼
- ConfigureGC.pl Reports - Invalid Username/Password. (文件 ID 602750.1)GC
- Oracle遠端登入報錯:ora-01031:insufficient privilegesOracle
- SSH遠端登入原理
- sysdba不能遠端登入
- redis - 遠端登入指令Redis
- rocky one 遠端登入
- 除錯環境 寶塔 mysql root 遠端登入除錯MySql
- 報錯”ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)”Errorlocalhost
- solaris預設無法遠端root使用者登入
- 怎麼登入遠端伺服器 遠端登入VPS伺服器伺服器
- 【MySQL】5.6.x sha256_password外掛登入使用者時報錯MySql
- sqlplus as sysdb登入報ora-01017SQL
- Linux 遠端 ssh 登入Linux
- xmanger遠端登入LinuxLinux
- 用SSH KEY遠端登入
- X window遠端登入(轉)
- ssh遠端登入協議協議
- MySQL 登入資料庫報錯'ERROR 1045 (28000): Access denied for user'..'@'localhost''MySql資料庫Errorlocalhost
- ssh只能遠端登陸到普通使用者,不能以root遠端登陸