1.1 symptom description authorized by common usersSysdbaFailed to log on to database with the permission. The system displays the following error message:
% Sqlplus<Username>/<password >@< connect_string>As sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Nov 26 14:28:11 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
However
SysdbaIf you log on directly, the system prompts the following information:
% Sqlplus/as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Nov 26 14:28:35 2009
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, Real Application Clusters, Data Mining and Real Application Testing options
1.2 The possible cause is that the Oracle initialization parameter "REMOTE_LOGIN_PASSWORDFILE" is set to "NONE", resulting in failure to grant SYSDBA permissions to common users. 1.3 locate the idea and check the value of "REMOTE_LOGIN_PASSWORDFILE.
SQL> show parameter password;
The system displays the following information:
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_login_passwordfile string NONE
The query results show that the value of "REMOTE_LOGIN_PASSWORDFILE" is "NONE ". 1.4 procedure
OracleLog on to the host node. To
SysdbaThe user connects to the database.
% Sqlplus/as sysdba
Create a pfile on the host node using the spfile file.
SQL> create pfile = '/oracle/app/admin/ora11g/pfile/inittest. ora' from spfile;
After the creation is successful, the system prompts the following information:
File created.
Modify the parameters in the new pfile.
5. .....
6. *.remote_login_passwordfile='none'
.....
Change the value of "remote_login_passwordfile" to "exclusive ".
Shut down the database.
SQL> shutdown immediate
Start the database using the newly created pfile.
SQL> startup pfile = '/oracle/app/admin/ora11g/pfile/inittest. ora'
Create a spfile file using the pfile file.
SQL> create spfile from pfile;
Log out of the database.
SQL> quit
To
SqlplusLog on to the database again.
% Sqlplus<Username>/<password >@< connect_string>As sysdba
Log on successfully. The system displays the following information:
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Nov 26 14:28:35 2009
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, Real Application Clusters, Data Mining and Real Application Testing options
Perform the same operations as the host node on the slave node. 1.5 references
The Oracle initialization parameter "REMOTE_LOGIN_PASSWORDFILE" is used to set the password verification method for the Oracle database.