Weird result from ORA 01994 [message #433777] |
Fri, 04 December 2009 04:22 |
abdulaziz
Messages: 102 Registered: May 2008 Location: Douala
|
Senior Member |
|
|
Hello,
While trying to access a database remotely through RMAN, I got a set of errors whose cause were the fact that, the database I was trying to access didn't have password file authentication configured...that was true. I then decided to use a password file on that database and to grant the sysdba privilege to the user I was connecting remotely with. Unfortunately, Oracle threw the ORA 01994 error, GRANT Failed:Password file missing or disabled.
I ran a search on the net and all the solutions I got were saying, I should create a password file, and set the remote_login_passwordfile parameter to exclusive. I did, just that, but the error persists.
Below is how I created the password file:
orapwd file='/u01/app/oracle/product/10.2.0/db_1/dbs/orapwdSECOND' password=amore entries=5 force=y I added the parameter "force" because there was already a file named orapwsecond on that location.
Besides, when I ran the following , the value was "EXCLUSIVE". I did try adding the extension .ora to the password file, but nothing. I restarted the instance, changed the parameter manually, but still nothing.
My database is running on RHEL4. I tried to compare with Windows and I realize on windows, the passwordfile is located in the \%ORA_HOME\database directory but on RHEL4, it's located in the %/ORA_HOME/dbs directory and in addition, there is no database directory on RHEL4. Is it normal? What am I doing wrong? I did exactely what the solutions I got from the net suggested but the error remains. Any tips?
Thanks in advance.
[Updated on: Fri, 04 December 2009 04:33] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Weird result from ORA 01994 [message #433852 is a reply to message #433839] |
Fri, 04 December 2009 09:40 |
abdulaziz
Messages: 102 Registered: May 2008 Location: Douala
|
Senior Member |
|
|
hmmmm Michel, you were right!
Below is what I was doing :
orapwd file='/u01/app/oracle/product/10.2.0/db_1/dbs/orapwsecond' password=amore entries=5
I reviewed your second to the last post and I noticed you were suggesting I should lose the single quote. I did, but the problem remained.Then I used the following
orapwd file=/u01/app/oracle/product/10.2.0/db_1/dbs/orapwSECOND password=amore entries=5 that is, losing the single quote AND writing the ORACLE_SID in the orapw$ORACLE_SID parameter in capital letters. It worked.
Thank you for your assistance Michel.
|
|
|