升级19c后sys远程无法登录
作者:互联网
**远程登录:**
```
[oracle@localhost ~]$ sqlplus sys/oracle@orcl as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Thu Jun 17 19:28:24 2021
Version 19.11.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
```
**检查参数**
```
SQL> show parameter remote_login_passwordfile
NAME TYPE VALUE
------------------------------------ --------------------------------- ------------------------------
remote_login_passwordfile string EXCLUSIVE
SQL> select * from v$pwfile_users;
no rows selected
```
rman恢复,没有复制密码文件,重建密码文件
```
$ cd $ORACLE_HOME/dbs
$ orapwd file=orapwORCL password=ORA#19recv entries=30 force=y
```
标签:登录,密码文件,0.0,sys,SQL,passwordfile,password,19c 来源: https://blog.51cto.com/hunt1574/2919320