You intend to use only password authentication and have used the password file utility to create a password file as follows:
$orapwd file=$ORACLE_HOME/dbs/orapwDB01 password=orapass entries=5
The REMOTE_LOGIN_PASSWORDFILE initialization parameter is set to NONE. You created a user and granted only the SYSDBA privilege to that user as follows:
CREATE USER dba_user IDENTIFIED BY dba_pass; GRANT sysdba TO dba_user;
The user attempts to connect to the database as follows:
connect dba_user/dba_pass as sysdba;
Why does the connection fail?
You issue the following queries to obtain information about the redo log files: SQL> SELECT group#, type, member FROM v$logfile;
GROUP# TYPE MEMBER
1 ONLINE /databases/DB01/ORADATA/u02/log1a.rdo 1 ONLINE /databases/DB01/ORADATA/u03/log1b.rdo 2 ONLINE /databases/DB01/ORADATA/u02/log2a.rdo 2 ONLINE /databases/DB01/ORADATA/u03/log2b.rdo 3 ONLINE /databases/DB01/ORADATA/u02/log3a.rdo 3 ONLINE /databases/DB01/ORADATA/u03/log3b.rdo
SQL> SELECT group#, sequence#, status FROM v$log;
GROUP# SEQUENCE# STATUS 1 250 INACTIVE 2 251 CURRENT 3 249 INACTIVE
You immediately issue this command:
ALTER DATABASE DROP LOGFILE MEMBER '/databases/DB01/ORADATA/u03/log2b.rdo';
Why does the command fail?