Orapwd file=PWDmydb

Hi,
in 8.1.7 on Win server 2003 ,I try to create a password file (the file does not existe) :
C:\Documents and Settings\Administrator>orapwd file=PWDmydb passwor=oracle
But I receive this :
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.
What is wrong with my syntaxe ?
Many thanks.

passwor=oracleShouldn't it be password ?

Similar Messages

  • ORA-01017: invalid username/password; how to find out orapwd files 's pwd

    Hi, gurus,
    I have this error after I copied primary db orapwd files over to standby instance and tried to log in sys as sysdba :
    ORA-01017: invalid username/password; logon denied
    Is this means the sys password I provided is not the one generated as per orapwd utility?
    however I can log in to sys/password as sysdba if I set the oracle sid environemnt to that db.
    Anybody help here?
    Thanks.

    Hello;
    In that case you would have to change the SYS password at the Primary ( so you know it ) and then do the copy and rename again.
    Don't forget to stop apply on the standby and then shutdown and restart on the new password file. ( or you will have issues )
    Proof :
    Re: Transport service doesn't work with error  ORA-16191
    Best Regards
    mseberg
    Double check of my notes
    ORA-01017
    Change the sys password in the primary database using the alter system command, it updates the password file in the ORACLE_HOME of the primary database, it doesn't update password file in the standby database.
    In Oracle 10 you can create a password file. In Oracle 11 you must move a new copy to the standby.
    Edited by: mseberg on Jul 6, 2012 6:30 AM

  • I have only oradata folder. how i can create orapwd file.

    i have oracle 8.1.7 installed on oracle 2000 professional. my harddisk crashed but i have oradata file only.
    how i can create orapwd from that
    thanks and regard
    Rizwan

    user4305377 wrote:
    i have oracle 8.1.7 installed on oracle 2000 professional. my harddisk crashed but i have oradata file only.
    how i can create orapwd from that
    thanks and regardRizwan
    You don't need oradata folder to create the password file. All you need is the orapwd util to create it. Just do as follows,
    E:\>orapwd
    Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n>
      where
        file - name of password file (mand),
        password - password for SYS (mand),
        entries - maximum number of distinct DBA and     force - whether to overwrite existing file (opt),
    OPERs (opt),
      There are no spaces around the equal-to (=) character.
    E:\>orapwd file=<your file location> password=<your password here> enteries=5 force=NOracle would create the password file for you in the Databsae folder.
    HTH
    Aman....

  • Error in dbca with orapwd file

    dear all.
    i want to install 9204 64 bits in centos 4.8 64 bits
    i installed the rpms and when i want to create the database this show the next error:
    error in process: /u01/app/oracle/product/9.2.0/bin/orapwd
    My *.bash_profile* have the next lines:
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    # Oracle 9i
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/9.2.0; export ORACLE_HOME
    ORACLE_TERM=xterm; export ORACLE_TERM
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    ORACLE_OWNER=oracle; export ORACLE_OWNER
    ORACLE_SID=smigds export ORACLE_SID
    LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib; export CLASSPATH
    LD_ASSUME_KERNEL=2.4.19; export LD_ASSUME_KERNEL
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    I search for this error but i didn't find anything.
    Thanks a lot for your answers.

    Oracle Databaes 9.2.0.4 is so old it is in desupport mode and it has never been tested, supported, or certified on CentOS.
    My recommendation would be to get a supported operating system and use it with a currently supported and fully patched version of the product.
    For help with orapwd
    http://www.morganslibrary.org/reference/utilities.html#utop
    for a working demo.
    Ignore case, and NoSYSDBA are not available in ancient versions of the product.

  • HELP: Problem creating a new database in Oracle 9i

    I am having difficulty in creating a new database in Oracle 9i, on Windows 2000. I would be obliged if somebody can go through the posting below and guide me as to what mistake I am making or what is the source of the problem:
    I reproduce the steps taken by me.
    I have decide the database to be called Mydb. I have made the following directories:
    -- d:\mydb
    -- d:\mydb\data
    -- d:\mydb\control
    -- d:\mydb\log
    -- d:\mydb\bdump
    -- d:\mydb\cdump
    -- d:\mydb\udump
    -- d:\mydb\archive
    -- d:\mydb\pfile
    -- d:\mydb\scripts
    -- d:\mydb\exp
    I copied the initoracle.ora file to d:\mydb\pfile\initmydb.ora, and made the following changes to it:
    -- db_name = mydb
    -- instance_name = mydb
    -- control_files = ("d:\mydb\control\control01.ctl")
    -- background_dump_dest = d:\mydb\bdump
    -- core_dump_dest = d:\mydb\cdump
    -- user_dump_dest = d:\mydb\udump
    -- remote_login_passwordfile = exclusive
    Also, I created a text file called d:\Oracle\Ora90\DATABASE\initmydb.ora with the following contents:
    ifile=d:\mydb\pfile\initmydb.ora
    At DOS prompt, I run the following command:
    set oracle_sid=mydb
    I run the ORAPWD utility to create internal password file at the command prompt.
    d:
    cd \oracle\ora90\database
    orapwd file=pwdmydb.ora password=panther entries=25
    I create a Windows service for the database as follows:
    oradim -new -sid mydb -startmode a -pfile d:\mydb\pfile\initmydb.ora
    I get connected:
    sqlplusw /nolog
    connect sys/change_on_install as sysdba
    startup nomount # pfile=d:\mydb\pfile\initmydb.ora
    create database mydb
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    datafile 'd:\mydb\data\system.dbf' size 325m REUSE
    AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    undo tablespace undotbs datafile 'd:\mydb\data\undo01.dbf' size
    200m reuse
    AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    default temporary tablespace temptbs
    CHARACTER SET WE8MSWIN1252
    NATIONAL CHARACTER SET AL16UTF16
    logfile group 1 ('d:\mydb\log\log1.log') size 1m,
    group 2 ('d:\mydb\log\log2.log') size 1m,
    group 3 ('d:\mydb\log\log3.log') size 1m;
    Now I get the following error:
    create database mydb
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    The data files, control file, redo log files are all created. But the above error comes, and I am unable to start the database. What is the reason?
    Thanks in anticipation.
    PS

    Hi DENIS,
    I have executed the following commands (which are in a script file),
    1. sqlplus /nolog
    2. connect sys/change_on_install as sysdba
    3. create database ...
    4. ...
    When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
    How to rectify this problem.
    Thanks in advance,
    Kiran

  • How to open orapwd tool to create password file?

    Hi Guys,
    I got information as
    orapwd
    orapwd file=password_file_name password=the_secret_password
    orapwd file=password_file_name password=the_secret_password entries=n
    There is a default location and name for password files. When a password file is created, it should be created in that location.
    n specifies the maximum number of distinct DBAs and OPERs that can be stored in the password file.
    orapwd is a command line tool to create password files.
    How to open orapwd tool to create password file?
    Thanks
    Jim

    Hi
    ORAPWD is a oracle utility to craete a password file to identify users that can use the SYSDBA and SYSOPER privileges when connecting to the database.Its not a GUI utility.It is run on the cmd(in windows) abd on the terminal(in unix).
    To create the password file the command is
    orapwd file=filename  password=password entries=max_users
    You can refer to below links
    [http://download-uk.oracle.com/docs/html/A97297_01/ch1_admin.htm#sthref215]
    [http://www.oracleutilities.com/OSUtil/orapwd.html]
    HTH
    Anand

  • Orapwd - unable to find error file

    i have executed
    orapwd file=pwdfile password=password
    and an error has occurred. I cant find any documentation mentioning this error file at all. is there any tips on where to find this? or more probable how do i create one?
    i have checked that the ORACLE_HOME and ORACLE_SID are correct so that shouldnt be the problem

    entries is optional so i have left that out.
    the error that is being is displayed is "unable to find error file"
    i am able to log into the database as a user that is part of the dba group. using conn / as sysdba
    however as a normal user if i try conn sys/password as sysdba it says i have insufficient provileges. password being what i tried to set up in password file
    $ORACLE_HOME/dbs is where i am storing the password file
    Message was edited by:
    craig

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

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

  • Two instances installation, grant sysdba failed because passwd file

    Hi
    I have a two instances Oracle 11g installation.
    Instance 1: ORATEST
    Instance 2: ORADESA
    So, i want add SYSDBA grant to ORADESA system user.
    [oracle@oracletesting dbs]$ echo $ORACLE_SID
    ORADESA
    [oracle@oracletesting dbs]$ echo $ORACLE_HOME
    /u01/app/oracle/product/11.2.0.3/desa/dbhome_1
    [oracle@oracletesting dbs]$ sqlplus /nolog
    SQL> conn /as sysdba
    Connected.
    SQL> show parameter password;
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQL> grant sysdba to system;
    grant sysdba to system
    ERROR at line 1:
    ORA-01994: GRANT failed: password file missing or disabled
    Ok, i recreate passwd file.
    [oracle@oracletesting dbs]$ rm $ORACLE_HOME/dbs/orapworaDESA
    [oracle@oracletesting dbs]$ orapwd file=$ORACLE_HOME/dbs/orapworaDESA password=xxx entries=5
    [oracle@oracletesting dbs]$ ls -all
    total 84
    drwxr-xr-x. 2 oracle oinstall 4096 Mar 28 10:57 .
    drwxr-xr-x. 71 oracle oinstall 4096 Mar 7 16:23 ..
    -rw-rw----. 1 oracle oinstall 1544 Mar 26 15:45 hc_oradesa.dat
    -rw-rw----. 1 oracle oinstall 1544 Mar 28 10:20 hc_ORADESA.dat
    -rw-r--r--. 1 oracle oinstall 2851 May 15 2009 init.ora
    -rw-r--r--. 1 oracle oinstall 68 Mar 26 15:45 initORADESA.ora
    -rw-r-----. 1 oracle oinstall 24 Mar 26 11:17 lkORADESA
    -rw-r-----.  1 oracle oinstall  2048 Mar 28 10:57 orapworaDESA
    -rw-r--r--. 1 oracle oinstall 48880 Mar 26 14:15 rmdup_oradesa.dat
    -rw-r-----. 1 oracle oinstall 3584 Mar 26 15:14 spfileoradesa.ora
    [oracle@oracletesting dbs]$ sqlplus /nolog
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Mar 28 10:59:54 2013
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    SQL> conn /as sysdba
    Connected.
    SQL> grant sysdba to system;
    grant sysdba to system
    ERROR at line 1:
    ORA-01994: GRANT failed: password file missing or disabled
    Obviously something is wrong, but I do not know.
    Thanks

    [oracle@oracletesting dbs]$ rm $ORACLE_HOME/dbs/orapworaDESA
    [oracle@oracletesting dbs]$ orapwd file=$ORACLE_HOME/dbs/orapworaDESA password=xxx entries=5
    [oracle@oracletesting dbs]$ ls -all
    total 84
    drwxr-xr-x. 2 oracle oinstall 4096 Mar 28 10:57 .
    drwxr-xr-x. 71 oracle oinstall 4096 Mar 7 16:23 ..
    -rw-rw----. 1 oracle oinstall 1544 Mar 26 15:45 hc_oradesa.dat
    -rw-rw----. 1 oracle oinstall 1544 Mar 28 10:20 hc_ORADESA.dat
    -rw-r--r--. 1 oracle oinstall 2851 May 15 2009 init.ora
    -rw-r--r--. 1 oracle oinstall 68 Mar 26 15:45 initORADESA.ora
    -rw-r-----. 1 oracle oinstall 24 Mar 26 11:17 lkORADESA
    -rw-r-----. 1 oracle oinstall 2048 Mar 28 10:57 orapworaDESA
    -rw-r--r--. 1 oracle oinstall 48880 Mar 26 14:15 _rm_dup_oradesa.dat
    -rw-r-----. 1 oracle oinstall 3584 Mar 26 15:14 spfileoradesa.oraYour password file format is wrong. It should be "orapwSID" and yours is "orapworaSID" which is wrong.
    Thanks,
    Navneet

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

  • How to create a password file?

    Dear buddies,
    I tried these steps but getting error.
    Please advice on how should I go about it.
    in my pfile: REMOTE_LOGIN_PASSWORDFILE = shared
    C:\Documents and Settings\administrator>orapwd file=D:\oracle\admin\u
    at password=mydba
    OPW-00001: Unable to open password-file
    C:\Documents and Settings\administrator>orapwd file='D:\oracle\admin\
    uat' password=mydba
    OPW-00001: Unable to open password-fileWhere am I making a mistake?
    Thanks.
    Nith
    Edited by: user645399 on Dec 16, 2010 4:33 PM
    Edited by: user645399 on Dec 16, 2010 4:37 PM
    Edited by: user645399 on Dec 16, 2010 4:37 PM
    Edited by: user645399 on Dec 16, 2010 4:37 PM

    Dear oradba,
    I tried but it failed:
    SQL> $orapwd file='D:\oracle\admin\uat\pwdfile' password=mydba
    OPW-00001: Unable to open password-file
    SQL>and also this
    SQL> $orapwd file='D:\oracle\admin\uat\pwdfile.txt' password=possedba
    OPW-00001: Unable to open password-fileThanks.
    Nith
    Edited by: user645399 on Dec 16, 2010 4:45 PM

  • Is missing oratab file causing this issue?

    OS Version : AIX 5.3
    DB Version : 10g Release 2
    I've just finished installing Oracle 10g R2 software(without a starter database). I want to create a database using a CREATE DATABASE script.But when i tried to log in as SYS i got the following error
    SQL> connect sys as SYSDBA
    Enter password:
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    $ export ORACLE_SID=oradb4
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 28 06:07:20 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-01031: insufficient privilegesSo i created a password file using the following command
    orapwd file=orapwdb4 password=mypassword entries=15But i am still getting ERROR: ORA-01031: insufficient privileges
    In AIX the oratab file is present in /etc directory. But i can't find the oratab file in this location.Has this anything to do with the error i'm getting above? Do i have to run some other scripts to create oratab file. I had run roopre.sh at the initial stage of installation (according to the Oracle Documentation)

    Your account is not the in the Unix dba group.
    By default Oracle is linked with the dba group.
    Any user in the dba group has sysdba privilege.
    The password file has nothing to do with it.
    Users in the dba group don't use the password file unless you disable the mechanism, by editing sqlnet.ora and making sure
    sqlnet.authentication_services=(none)
    However, this is not the default.
    You have a faulty install because /etc/oratab doesn't exist.
    More may be wrong, more likely is wrong.
    In order to avoid troubleshooting a faulty install, please ditch it, and start all over again, this time reading the installation manual please.
    Sybrand Bakker
    Senior Oracle DBA

  • Password file creation error

    Hi
    I am trying to create my password file and getting the following error, any idea please.
    C:\>orapwd file='C:\app\oracle\product\11.1.0\db_1\database\pwdorcl.ora' entries
    =5
    Enter password for SYS:
    OPW-00001: Unable to open password-file
    C:\>Oracle 11.1.0 on windows xp
    Thanks

    orapwd -help
    Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n> nosysdba=<y/n>
      where
        file - name of password file (mand),
        password - password for SYS (mand),
        entries - maximum number of distinct DBA,
        force - whether to overwrite existing file (opt),
        nosysdba - whether to shut out the SYSDBA logon (opt for Database Vault only).
      There are no spaces around the equal-to (=) character.Does the OS user have necessary permissions to open file?

  • 10g1 Linux x86 silent install  orapwd remote_login_passwordfile  ORA-01031

    I have completed a silent install of 10g1 EE on Linux x86 followed by emca on command line, executed orapwd to create orapwdSID file in $ORACLE_home/dbs with password for sys, set remote_login_passwordfile =EXCLUSIVE, am able to sqlplus connect / as sysdba on the server, but still get ORA-01031 insufficient privileges when logging in through OEM.
    I have read an awful lot of posts about this. I am not in a position to use a DBCA GUI installation.
    Any thoughts?
    Peter

    there is no line in my sqlnet.ora for sqlnet.authentication_services
    I added your suggestion
    sqlnet.authentication_services= (none)
    still got error 01031
    but did find that I had named the orapwd file incorrectly as orapwd<sid> instead of orapw<sid>
    I also found that trying to register a sys password containing an @ seemed to confuse the orapwd utility no matter whether I enclosed it in double quotes or not
    so my workaround was to alter user sys identified by dummypassword
    and then run orapwd using dummypassword
    finally alter user sys identified by "mydesiredp@sswd" using doublequotes to escape the @
    which successfully updates the orapw<sid> file
    thanks for your help and suggestion
    Peter

Maybe you are looking for

  • New MBP 2012 came with Mountain Lion, I would like to revert to Lion.

    Hello! I've recently bought a new MBP 15" ( not retina ) and it came with Mountain Lion. As I use Pro Tools, and lots of third party plugins and I know that it isn't all very compatible yet, I've decided to install Lion instead. So I connected my new

  • Error while loading the data from excel to database.

    Hi, I am using PL/SQL developer to load the data from excel to database. I will set the data source in the control panel and will proceed through ODBC importer in pl/sql developer to import the data. What exactly the error is when i click the filenam

  • Windows 8 upgrade on Portege Z930

    Hallo! Just got my Portege Z930 PT235E with Windows 7 Pro preinstelled and Winds 8 DVD. I tried to upgrade to Windows 8 but unsecessful. Starting from boot I get message that this is not bootable dvd. Also tried to start setup under Windows 7 but the

  • Silly question, but hopefully easy

    Where is the setting to only sync the songs with checkmarks next to them? I can't seem to find it and I thought it was in preferences??? I have days I want to hear George Carlin, but not every day if you get my drift.

  • Java code to check connection to OIM 11g Remote Manager

    Hi, I need to check if the remote manager is running or not, for that I am making an API call: What RMS data needs to be passed as argument to the below method? RemoteManagerOperationsIntf rmObj = (RemoteManagerOperationsIntf)Platform.getService(Remo