OPW-00001 – Unable to open password-file

Like many of us, we need to recreate the password file from time to time.  Today I had to change the name of a database with the NID tool.  As part of the process I needed to  create a new password file.

The command is simple:

$ORACLE_HOME\bin\orapwd file= ‘<location/filename>’ password=<password>

I typed in the command at the command line and was getting the error: OPW-00001.  I kept scratching my head, then it dawned on me; I needed to but single-quotes (‘) around the file location/name.

Always remember this and you’ll always be successful when trying to recreate a password file for oracle.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Pardy DBA

ORA-00001: unique constraint (ORA.BLOG_TAGLINE_PK) violated

Martin Widlake's Yet Another Oracle Blog

Oracle performance, Oracle statistics and VLDBs


Heli's thoughts on Database Designing, Oracle SQL Developer Data Modeler, User Groups etc.

Julian Dontcheff's Database Blog

The good DBA is one who learns from his mistakes, the best DBA is one who learns from other DBA's mistakes

Martins Blog

Trying to explain complex things in simple terms

The Data Warrior

Changing the world, one data model at a time. How can I help you?

Maaz Anjum's Blog

A life yet to be lived...


Stuff that interests me, if not you!

Uwe Hesse

about Database Technology

%d bloggers like this: