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.

Similar Messages

  • 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>"

  • ProC Batch Connect To Database Without Password Files

    Post Admin
    This post relates to ProC. I cannot locate ProC forum, this looks closest. If not please advise.
    Question
    We have batch ProC program that runs overnight on unix OS. Presently connects to database using userid/password read from file. Security are not happy with existence of file containing userid/password. I am looking for alternatives.
    An approach used for sqlplus scripts and export/import is to connect as / as sysdba. This means must be run by OS user who has sysdba power. Are there any other options so ProC can connect without user/password in program or file that is read when run? PS - We do not have time at present to port to plsql inside database and schedule from database for this job.
    The equivalent in ProC appears to be
    strcpy(uid_pwd.arr,"/ IN SYSDBA MODE");
    uid_pwd.len=strlen(uid_pwd.arr);
    EXEC SQL CONNECT :uid_pwd;
    But I receive
    ORA-01017: invalid username/password; logon denied.
    Is my syntax okay?
    Update
    The syntax should be
    strcpy(uid_pwd.arr,"/");
    uid_pwd.len = strlen(uid_pwd.arr);
    EXEC SQL CONNECT :uid_pwd IN SYSDBA MODE;
    Apologies for inconvience
    Edited by: littlecat on Aug 3, 2010 2:26 PM

    Tom Shen wrote:
    The total project is migration database. The application system is Microsoft Dynamic AX system.
    We migrate the database from 32 bit system to 64 bit system and the method I used is expdp/impdp
    I confirm all the related user have created in new database with same password as the original one.
    But now we got one problem. When AX system start, it pop out the error message. In the event view the error is ORACLE error message "invalid username / password" the username is empty.
    I have checked with Microsoft engineer for the problem. He give me the suggestion is to use the windows authentication method without using username and password.
    So I want to know how to login database from client without username and password.log into DB as which DB user?

  • 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 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.

  • 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

  • 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

  • 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.

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    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.

  • How to create a password file for 9i database

    I just created a database 9.2.0.5 based on another database. I copied the password file to the new database. I got an error. How can I recreate one?
    Thanks a lot!
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 337204540 bytes
    Fixed Size 455996 bytes
    Variable Size 268435456 bytes
    Database Buffers 67108864 bytes
    Redo Buffers 1204224 bytes
    ORA-01991: invalid password file '/local/ORACLE/OraHome1/dbs/orapwilnktest'
    SQL>

    Do you think the password is the sys password?Time to go through the doc :
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/dba.htm#1227
    Nicolas.

  • (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.

  • How to know whether the current database is using a password file or not?

    How to know whether the current database is using a password file or not?

    The remote_password_file is the parameter that determines if you can use or not a password file. The values this parameter can have are NONE, SHARED, EXCLUSIVE. It is pretty obvious, if it is set to either SHARED or EXCLUSIVE the oracle instance has enabled the access through a password file for the SYSDBA and SYSOPER roles.
    ~ Madrid

  • The password file is getting corrupted after rebooting the standby database

    Hi,
    The password file is getting corrupted after rebooting the standby database.
    Since the databases are not in sync, I had to copy the pwfile from primary to standby to make 'em sync.
    (BUT.... the pwfile is not getting corrupted every time I reboot the standby by)
    Could somebody please explain the reason for the pwfile on the standby database getting corrupted while rebooting ?
    Env: Oracle 11g on Windows 7
    Thanks in advance

    Moderator Action:
    This thread was originally posted to the Oracle/Sun Servers HARDWARE forum.
    This is definitely not an issue related to any hardware components.
    ... it's now moved to Database General Questions, hopefully for closer topic alignment.

  • 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

  • Database Template File missing

    Hi everyone,
    I'm trying to set up a installation of OCS over multiple computers. The Infrastructre installation works fine withouth any error and all services are up and running. Now I'd like to install and set up the storage database. While running the DBCA, I get an error message stating, that the database layout template file with the extension .dfj is missing. Is this a common problem or could it be that something went wrong while unzipping the file?
    The template file for the Infrastructure database is located in both the unzipped installation files AND in the home directory for the Infrastructure.
    The installation of the information store also was successfull, but as stated above, i only get an error message while configurating the new database...
    Is it possible to tackle the problem in creating a standard new datbase with this assistant?
    thank you and happy new year in advance
    stefan

    Just bumping this thread because I am having the same problem. Is there some configuration setting I missed during installation or can I find this "Transaction_Processing.dfj" file somewhere else?
    Thanks for the help.

Maybe you are looking for