Wednesday, October 11, 2017

sqlplus "/as sysdba" ORA-01017: invalid username/password; logon denied

sqlplus /as sysdba

ORA-01017: invalid username/password; logon denied
[root@ORACLE ~]# su - oracle
[oracle@ORACLE ~]$ orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=oracle entries=10 force=y
[oracle@ORACLE ~]$ . oraenv
ORACLE_SID = [oracle] ? orcl
[oracle@ORACLE ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Dec 1 15:59:37 2015
Copyright (c) 1982, 2013, Oracle.  All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name: sys / as sysdba
Enter password: (oracle)
Connected to an idle instance.
USER is "SYS"
SQL>

No comments: