Resolved: ORA-01994: GRANT failed: password file missing or disabled

  • From: "Mandal, Ashoke" <ashoke.k.mandal@xxxxxxxxxxxxx>
  • To: "oracle@xxxxxxxxxxxxxxx" <oracle@xxxxxxxxxxxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 2 May 2012 09:07:55 -0500

Thanks everyone for your response on this issue. I was able to identify the 
problem. Here is what happened. I had a typo in the soft link created between 
$ORACLE_HOME/dbs to pfile(/dmasdev1/u01/app/oracle/admin/dmasdev1/pfile) 
directory.

Incorrect link  with extra character d: orapwddmasdev1 -> 
/dmasdev1/u01/app/oracle/admin/dmasdev1/pfile/orapwddmasdev1

Correct link: orapwdmasdev1 -> 
/dmasdev1/u01/app/oracle/admin/dmasdev1/pfile/orapwdmasdev1

Once I recreated the soft link by removing the extra character d in password 
file name it resolved the issue.

Ashoke

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Norman Dunbar
Sent: Wednesday, May 02, 2012 1:32 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: Re: ORA-01994: GRANT failed: password file missing or disabled

Morning Ashoke,

On 02/05/12 00:58, Mandal, Ashoke wrote:

> ERROR at line 1:
> ORA-01994: GRANT failed: password file missing or disabled ...
> Password file:
> UNIX>   ls -l 
> UNIX> /dmasdev1/u01/app/oracle/admin/dmasdev1/pfile/orapwdmasdev1
> -rwSr-----   1 oracle   oinstall    5120 Apr 30 11:17 
> /dmasdev1/u01/app/oracle/admin/dmasdev1/pfile/orapwdmasdev1-rwSr-----   1 
> oracle   oinstall    5120 Apr 30 11:17 orapwdmasdev1


The password file, should be in the location $ORACLE_HOME/dbs and should by 
default be named orapw<SID>. So your database will be masdev1 given the above.

At work, I keep my init<SID>.ora, spfile<SID>.ora and orapw<SID> files in a 
standard location and sym-link them as follows:

cd /srv/<APP>/oradata/<SID>/pfile
ln -s `pwd`/orapw<SID> $ORACLE_HOME/dbs/orapw<SID>

Obviously replacing <SID> with the appropriate database SID.


HTH

Cheers,
Norm.

--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

Company Number: 05132767
--
//www.freelists.org/webpage/oracle-l




[CONFIDENTIALITY AND PRIVACY NOTICE]

Information transmitted by this email is proprietary to Medtronic and is 
intended for use only by the individual or entity to which it is addressed, and 
may contain information that is private, privileged, confidential or exempt 
from disclosure under applicable law. If you are not the intended recipient or 
it appears that this mail has been forwarded to you without proper authority, 
you are notified that any use or dissemination of this information in any 
manner is strictly prohibited. In such cases, please delete this mail from your 
records.
 
To view this notice in other languages you can either select the following link 
or manually copy and paste the link into the address bar of a web browser: 
http://emaildisclaimer.medtronic.com

--
//www.freelists.org/webpage/oracle-l


Other related posts:

  • » Resolved: ORA-01994: GRANT failed: password file missing or disabled - Mandal, Ashoke