Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Re: Wrong or bad password file

azizAug 27 2012 — edited Sep 11 2012
Spec:
Windows 2008 Server
Oracle 11g r2

I can successfully create a password file in my production Oracle 11g database on Windows 2008 server, but each time I tried to add / grant sysdba to an account, I get the following error.
ERROR at line 1:
ORA-01994: GRANT failed: password file missing or disabled
Here was my unsuccessful solution:

1. set the remote_login_passwordfile to none
alter SYSTEM SET remote_login_passwordfile=none scope=spfile;
2. restart database to take changes in account
3. delete password file.
4. recreate the new password file :
ORAPWD FILE=F:\Oracle_Prod\product\11.2.0\dbhome_1\database\PWDahrPROD.ora ENTRIES=10

5.alter system set remote_login_passwordfile=exclusive scope=spfile;
6.restart database to take changes in account

SQL> show parameter password

NAME TYPE VALUE
------------------------------------ ----------- ----------
remote_login_passwordfile string EXCLUSIVE

grant sysdba to SYSMAN

Same error as above.
Any idea?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2012
Added on Aug 27 2012
9 comments
1,974 views