GRANT failed: password file missing or disabled

Hi,
I created password file using
orapwd FILE=orapwprj ENTRIES=30 (where prj is the instance name)
SQL> show parameter remote_login_passwordfile
NAME TYPE VALUE
remote_login_passwordfile string EXCLUSIVE
SQL> grant sysdba to rempar;
grant sysdba to rempar
ERROR at line 1:
ORA-01994: GRANT failed: password file missing or disabled

Command to be used as
orapwd file=password_file_name_with_complete path password=the_passwordBy default, the password file should be located in $ORACLE_HOME/dbs location for UNIX platform with password file format as "orapw<SID>"
For windows, the password file should be located in %ORACLE_HOME%\database location with password file format as "PWD<SID>"

Similar Messages

  • Trying to connect to target database...ORA-01994: GRANT failed: password

    I am trying to connect to a target database which on linux from a catalog database which is on Windows. I was initially having problems with our DEV database but eventually got it working. Now I have to register the QA database and I'm running into the same problems. Below is a list og things that I have tried:
    C:\>rman
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu May 10 17:01:51 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target sys/password@fprcqa
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    2. So I went to the target database (FPRCQA) and I checked the following:
    SYS@FPRCQA> select * from v$pwfile_users;
    no rows selected
    SYS@FPRCQA> grant sysdba to sys;
    grant sysdba to sys
    ERROR at line 1:
    ORA-01994: GRANT failed: password file missing or disabled
    3. Then I checked the passwordfile
    SYS@FPRCQA> show parameter pass
    NAME TYPE VALUE
    remote_login_passwordfile string[b] EXCLUSIVE
    4. Then I created a passwordfile in $ORACLE_HOME/dbs because it did not exist.
    [oracle@rh-staging dbs]$ orapwd file=orapwdFPRCQA password=password entries=300
    -rw-r----- 1 oracle oinstall 8385 Sep 11 1998 init.ora
    -rw-r--r-- 1 oracle oinstall 12920 May 3 2001 initdw.ora
    -rw-rw---- 1 oracle oinstall 1552 May 8 14:09 hc_FPRCQA.dat
    -rw-rw---- 1 oracle oinstall 24 May 8 14:09 lkFPRCQA
    drwxr-xr-x 63 oracle dba 4096 May 8 15:12 ..
    drwxr-x--- 2 oracle oinstall 4096 May 10 16:10 .
    -rw-r----- 1 oracle oinstall 5632 May 10 16:10 spfileFPRCQA.ora
    -rwSr----- 1 oracle oinstall 39424 May 10 16:14 orapwdFPRCQA
    5. Then I tried again to grant sysdba to sys and it gave me the same error as before.
    ALSO, I cannot connect to the the target database from the catalog database through sqlplus...as I get the same error of insufficient privs:
    C:\>set ORACLE_SID=fprcqa
    C:\>sqlplus /nolog
    SQL*Plus: Release 10.1.0.3.0 - Production on Thu May 10 17:11:41 2007
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> connect sys/password@fprcqa as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    Can anyone help please?

    Hello all;
    I created the files with following command in $ORACLE_HOME/dbs/
    orapwd file=orapwRCVDB password=sys entries=20
    remote_login_passwordfile=EXCLUSIVE
    $ ls -ltr orapw*
    -rwxrwxrwx 1 oracle dba 3584 Dec 22 15:29 orapwRCVDB
    but still I am facing similar error ..
    SQL> grant sysdba to system;
    ORA-01994: GRANT failed: password file missing or disabled
    so i checked ...
    SQL> select * from v$pwfile_users;no rows selected
    can anyone tell me where I am doing mistakes ? It's urgent !!
    atul.

  • FAILED: Upload Failed,local file missing

    Hi folks,
    Getting this error:
    FAILED: Upload Failed,local file missing ...
    FAILED: CHECKIN on activity act_w_PSPACE_snapconsult_2e_at_CORE_dev_inactive_u_gz_t_2009_03_25_11_03_01_GMT_4a8549b5-d76e-4feb-bd65-8d8e235b60c0 failed : Checking in activity failed: act_w_PSPACE_snapconsult_2e_at_CORE_dev_inactive_u_gz_t_2009_03_25_11_03_01_GMT_4a8549b5-d76e-4feb-bd65-8d8e235b60c0:operation failed
    Fine, but which file? Is there any log file to look for?
    Thanks

    Yes.
    I already reverted all deletions. But it seems to me that the studio didn't revert correctly. I deleted 2 applications inside a wd component. After revert, the studio just recreated the folder but not the file with .wdapplication extension. But i'm not sure if this is really the problem.
    Do you know if there is any log file which file the studio is missing? That kind of troublemanagement is really no fun at all. There has to be a log file just like the build log files, right?
    I mean, a can't believe that there is none.
    Thanx

  • Database recovery,password file missing

    Hi
    the operating system crashed .therefore i again installed oracle .
    i had cold backup of my database.but the but the pwd file was missing.please note that database was not in archived mode.and the dumps were too old.
    i tried to restored my database but because of missing password file ,i didn't
    succeed .i created another password in svrmgr but it didn't worked.
    please help me to restore the database which is oracle 8i.
    Thanx alot
    Tauqeer

    Hi
    the operating system crashed .therefore i again installed oracle .
    i had cold backup of my database.but the but the pwd file was missing.please note that database was not in archived mode.and the dumps were too old.
    i tried to restored my database but because of missing password file ,i didn't
    succeed .i created another password in svrmgr but it didn't worked.
    please help me to restore the database which is oracle 8i.
    Thanx alot
    Tauqeer You use the orapwd command to create the password file.
    $ orapwd
    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • Install fails because file missing from AppleMobileDeviceSupport.cab file

    I have iTunes on my Desktop PC and my wife's laptop, both running Windows 7 x64 Ultimate.  Automatic iTunes update failed on both with same error.  On trying to manually install latest iTunes downloaded from Apple UK website I get the following error message:
    "The file 'SyncServicesUI.Resources_English.lproj_Localizable.strings' cannot be installed because the file cannot be found in cabinet file 'AppleMobile DeviceSupport.cab'
    Any ideas on how to fix please?  Previous version of iTunes was working fine but attempted update seems to have killed it.   Wondering if I should try US version instead.

    My previous actions were:
    0. Tried the Download and Install -- Windows installer just sat there. No progress.
    1. Downloaded the jdk-1_5_0_07-windows-i586-p.exe file. Took 5 hours. Checked the file size: 64,949KB matched what the website said.
    2. Installed the jdk-1_5_0_07-windows-i586-p.exe file to my D drive in the jsdk1.5.0_07 folder.
    3. Set the path to the d:\jsdk1.5.0_07\bin folder.
    4. Tried to compile a java file. Received the "javac is not a recognized internal or external command." message.
    5. Used Window's Search to search all harddrives for javac.exe. Received two hits, but they were from an Oracle installation (version 1.1.3) -- been there several years.
    6. Thought it was a bad install, so uninstalled as directed.
    7. Repeated steps 2 through 6 three more times. Still no javac.exe
    8. Posted the message.
    9. Went back to download site and tried the Download and Install again. Took about twenty minutes before any progress was evident -- guess I didn't wait long enough before :^). Left the download all night (8 hours). This morning, accepted the license agreement, installed, searched for javac*.exe again. Found javacpl.exe, but only the Oracle javac.exe. Uninstalled Java.
    10. Uninstalled Oracle (thought the existence of a javac.exe in another location was confusing the installer).
    11. Installed from the downloaded file. Searched for javac*.* again. Found the javacpl.exe (two versions -- one in the bin, one in the jre) and a dll file in the C:\Windows folder. Still no javac.exe.
    HELP!!!!!!!!!!!

  • Password file and sysdba grant in 10g on AIX ...

    Hi,
    I am very familiar with password file, orapwd ...
    I installed oracle 10gR2 database on AIX, created a password file using orapwd (file name orapwdSID.ora under $ORACLE_HOME/dbs), set remote_login_passwordfile='EXCLUSIVE' in init.ora file.
    1 - When I select * from v$pwfile_users; I get 0 rows !!!
    2 - When I try to grant sysdba to an_user; I get ORA-01994: GRANT failed: password file missing or disabled
    Cause: The operation failed either because the INIT.ORA parameter REMOTE_LOGIN_PASSWORDFILE was set to NONE or else because the password file was missing.
    Action: Create the password file using the orapwd tool and set the INIT.ORA parameter REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE.
    any idea.
    thanks.

    Hi,
    I do not think so that this is a solution. because setting "Shared" means that all databases uses the same password file and only one user "SYS" is in this file (sysdba privilege) ...
    Not what I am looking for !
    regards.

  • Password file issue in Oracle 10g

    Hi,
    While trying connecting from SQL prompt using command
    SQL> CONNECT SYS/PASSWORD@CONNECT_STRING AS SYSDBA
    It gives error
    ORA-01031 insufficient privilege
    If SQL> CONNECT SYS/PASSWORD AS SYSDBA
    It works successfully??
    After connecting without using connect_string.
    Only one DB is running on this machine.
    Then SELECT * FROM V$PWFILE_USERS;
    0 ROWS RETURNED
    Recreated the pwd file same issue persists. What may be the reason?
    If SQL> GRANT SYSDBA TO SYS;
    ERROR ORA-01994: GRANT FAILED: PASSWORD FILE MISSING OR DISABLED
    Password file created using command
    orapwd file=/u01/app/oracle/product/10.2.0db_1/dbs/orapwPRIMDB password=pwd entries=5
    Please help me.
    Thanks in advance.
    Edited by: Bharat Kaushik on May 31, 2009 4:20 PM

    The first command is a 'remote connection'. To be able to connect as sysdba remotely, spfile remote_login_passwordfile should be set to exclusive.
    When there is no password file or the parameter is incorrect this results in ora-1031.
    The second command uses O/S authentication, and doesn't use the password file at all.
    O/S authentication is set up in sqlnet.ora.
    SYS has always SYSDBA, by design. Granting SYSDBA to SYS is redundant.
    Obviously in this directory name
    /u01/app/oracle/product/10.2.0db_1/dbs/
    there is a / missing and it should have been
    /u01/app/oracle/product/10.2.0/db_1/dbs/
    So you still have no valid passwordfile.
    You could have and should have easily spotted this yourself.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read the documentation.

  • ORA password file problem

    Hi,
    I have created password file while creating the database but now i am getting the error: ORA-01994: GRANT failed: password file missing or disabled.
    -rwxr-xr-x 1 oracle oinstall 3072 Feb 9 12:59 orapwEAMS01.ora
    i have re-created the file force=y and password parameter also "Exclusive"
    SQL> sho parameter password;
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    am i missing here anything?
    --Raman.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Try re-creating the password in ORACLE_BASE\ORACLE_HOME\DATABASE and named PWDsid.ORA

  • Cannot activate password file

    Hello,
    I need to enable remote login for sysdba / sysoper thus I've created a password file.
    &gt; orapwd file=orapwd.pwd password=super_secret entries=10The file orapwd.pwd was created successful in $ORACLE_HOME/dbs.Now in SQL*Plus
    SQL&gt; SELECT VALUE FROM v$parameter WHERE NAME = 'remote_login_passwordfile';
    VALUE
    EXCLUSIVE
    SQL&gt; GRANT sysdba TO sysuser;
    ERROR: at line 1:
    ORA-01994: GRANT failed: password file missing or disabledThis happens after a database restart too.I've even tried to switch back to a pfile instead of the spfile use to set the parameter to NONE and EXCLUSIVE back and forth.
    Any idea what else could be wrong?
    Thanks in advance
    Frank

    Yes, that was it, thanks
    The documentation library says:
    ------ snip ------
    The following command creates a password file named acct.pwd that allows up to 30 privileged users with different passwords. In this example, the file is initially created with the password secret for users connecting as SYS.
    orapwd FILE=acct.pwd PASSWORD=secret ENTRIES=30
    ------ snap ------
    ... and forgets to mention that the filename MUST BE orapw<SID> without any filename extension.
    Thanks again
    Frank

  • Orcale XE password file error?

    I have created many users and when I try to create another user it gives me.
    ORA-01996: GRANT failed: password file '' is full
    Is their away to find out max amount of passwords and the file that contains this .
    Also once I know this.
    Is their away to extend it thru using orapwd or anything else. Thanks

    As per metalink note, the problem is due to TSM Error relating to incorrect password settings for the TSM Media Manager.
    Fix
    ~~~~
    Contact TSM Vendor to assist in setting the TSM Media Manager Password correctly.

  • Formatting the encrypted hard drive or intalling OS again with PXE boot can change TPM owner password file?

    Hello,
    1) I realized that when MBAM bitlocker encryption start both Recovery key and TPM owner password file are send to MBAM server. If we change the computername of the notebook, we can find out Recovery key from MBAM server with the KeyID as we can read it from
    computer screen, but we can not find out TPM owner password file with the existing new computername information from MBAM server, so we have to know old names of all computers but it is impossible. So we have to do decryption and clearing TPM than we
    can again encrypted it with its new name. is it right?
    2) We will going to deploy mbam encryption to our notebooks. But sometimes when a person quit the job his notebook can given to another person or new employee and based to our procedure when a notebook will given to another user it should installed
    OS again with PXE boot. I would to know will it be enough to installing with this method again with a diffrent computer name or should I firstly clear its TPM than install OS with PXE to keep TPM owner password file missing as item 1?
    I hope i can explain what i mean :)
    Regards,
    SibelM

    I would suggest you to first decrypt the laptop and then follow the process:-
    - Clear the TPM
    - Encrypt the type.
    - Check for the encryption behavior.
    Cause I have found on some model that if the OS drive is encrypted, PXE boot fail on that machine even though I also did a direct PXE on an encrypted machine with clearing the TPM.
    TPM ownership password is a hash file that gets generated with a set of algorithm. SO each time when you PXE boot, by clearing the TPM, the TPM hash password for the TPM will change. This has been done for security measures.  
    Gaurav Ranjan

  • Password file may be missing or configured incorrectly.

    Hi All
    Platform:Windows Server 2003
    DB: 10.2.0.5.0/Single instance
    While creating the em repository I get the following:
    2010-aug-23 14:18:05 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\DWDEV\emca_2010-08-23_02-17-46-PM.log.
    2010-aug-23 14:18:06 oracle.sysman.emcp.EMConfig perform
    ALLVARLIG: Password file may be missing or configured incorrectly.
    Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\DWDEV\emca_2010-08-23_02-17-46-PM.log for more details.
    Could not complete the configuration. Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\DWDEV\emca_2010-08-23_02-17-46
    -PM.log for more details.
    Its clear what the problem is, I have tried to recreate the password file but I still get the same error.
    my steps
    1. shutdown the instance
    2. orapwd file=orapwDWDEV password=mypassword entries=10
    3. startup
    One thing I wonder is the name of the passwordfile, I saw in one post that the name should be orapw<sid>, I noticed that he old name
    was PWD<SID>. What controls the name (apart from the sid) ?
    Any ideas how to handle this is appreciated.
    Thanks
    Magnus

    It seems that I have misspelled the name.
    It works now.
    Stiil interested what makes the filename, the pwfile is named PWD<SID>.ora.
    Can I name it what I like ?
    /Magnus

  • SEVERE: Password file may be missing or configured incorrectly.

    Platform: windows xp 32 bit
    Oracle upgrade from 10.2.0.2 to 10.2.0.5 (pATCHSET 4)(P820632)
    WHEN using the DBUA i get the following on C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\ftdcdb\emca_2010-08-19_02-37-49-PM.log
    The dabatase is working fine (is and up and running), , i can log in, run sql queries, but i wanted to upgrade EM too, but i am not able to figure this out, any one has suggestions? Basically the problem is on The Enterprise Manager part.
    SEVERE: Password file may be missing or configured incorrectly.
    Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\ftdcdb\emca_2010-08-19_02-37-49-PM.log for more details.
    Aug 19, 2010 2:38:14 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Password file may be missing or configured incorrectly.
         at oracle.sysman.emcp.ParamsManager.checkPwdFile(ParamsManager.java:2633)
         at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:690)
         at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:255)
         at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:176)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:170)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:494)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1161)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:478)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:426)

    Recreate the password file..

  • Downloads fail - File & Font sync disabled OSX Mavericks

    this is more of a bug report than a question but im leaving it here for whoever can fix the problem.
    I am running OSX 10.9 (mavericks) and everytime i open the Creative cloud desktop application, it says at the bottom "File and Font syncing is Off - Resume sync"
    but when i resume, it takes a few seconds generally and then stops syncing and returns with that message again (also there is a pause icon on the cc menu bar icon)
    and i now have an update for Flash professional CC, but whenever i try to update, it prompts me for my password, then after i type it in, after a few seconds  it says "The update failed, the file appears to be corrupted, try again in a few minutes"
    but it never works...
    anyway! no other issues just wondering if there is a fix?
    - Connor

    Toggle_Norvell did you search the installation log for the word error?  Which Flash Professional CC update exactly are you trying to apply?  As a general suggestion you could remove your current installation, reinstall, and try applying the update again.  Without knowing the exact error though you are facing it is difficult to determine if this will resolve your current difficulties or not.  You may also want to review Installation failed. Error U44M1P7 | Updates - http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html which discusses a common error received while applying updates.
    For File sync difficulties you will need to work directly with our support team.

  • (Urgent) Missing Password File !

    Hi Fellows,
    My password file is lost and I have a offline backup of the
    database but not the password file. I have restored the database
    but when I start it up it says.
    ORA-01991: invalid password file 'D:\Oracle\Ora81
    \DATABASE\PWDsid.ORA'
    if any body knows how to solve this please let me know.
    I will appreciate sooner reply.
    Thanks in advance

    Run the orapwd program.

Maybe you are looking for

  • How do I find out where my screenshots are stored?

    My screenshots use to save on the desktop and now they don't. How do I find the new location where they are saved and change the screenshots back to automatically saving on the desktop?

  • How to enable a disabled iPod that won't connect to internet

    trying to enable my disabled 5th generation iPod touch. I have tried connecting to iTunes on the computer, which I couldn't get it to do anything. I then tried using the "Find my iPhone" website and erased the iPod. However, I got a message that says

  • Excel 2010 Strange Behavior

    One of our users is having trouble with Excel 2010. When she makes changes to a spread sheet that is used to track engineering project she often finds that entire rows in the spread sheet have been duplicated the next time she opens the spread sheet.

  • Perfomance Problems with PSE13

    I stored my Picture files on a NAS System from WD (EX2), it is connected via 1Mbit LAN to an Router. After Upgrading vrom PSE12 to PSE13 the start of the Editor via Organizer is uneccaptable slow and it occurs 3-4 Minutes until the Editor is loaded.

  • Has anyone else noticed issue with in and out points of Ratings?

    Hi, I have noticed that for some clips, the end point of a rating (i.e. Rejected) is the same as the in point of another rating (e.g. Favourite). How can this be? Is FCPX treating the out point as the frame after the selected section of a clip, rathe