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.

Similar Messages

  • Unable to take the printer files and printing issues in 10g reports

    Hi all
    recently i have migrated reports and forms to 10g. able to view reports thru browser properly when i am printing , alignment is getting disturbed. we have printer files , copied in forms directory as well as in reports directory.
    how to print the report output from browser to printer .
    all reports are character mode reports.
    plz help me to sort out the issue.
    venu

    Good Morning venu,
    We generate to File as PDF and we could print after saving in local or network folders.
    It works for us.
    If you have any more questions, please post it.
    Otherwise
    Mark Helpful or Correct accordingly
    Edited by: New Yorker on Nov 18, 2010 10:03 AM

  • .default files and Apache logs in 10g AS(10.1.2.3)

    Hi Friends,
    I am using Oracle 10g AS (10.1.2.3) and i have some .default files in my Middle Tier and Infra home like
    httpd.conf.default , access.conf.default.....
    Is it safe to remove these files?
    Will these files cause any Vulnerability issue on my server?
    Also will Apache Log files cause Vulnerability issue on my server?
    Please clarify
    Regards,
    DB

    Default files are there as a backup for those files. If you happen to modify your files without saving a copy then this would take you back to how a typical httpd.conf (for instance, or plsql.conf or sso.properties, etc) would look like.
    I do not think they are any greater source of vulnerability than any other backup files you have on your server. I do not delete them either and wouldn't from any of the servers that I administer.
    thanks,
    AMN

  • Password file required?

    I am attempting to install Application Express (htmldb and oracle http server) from the 10g Companion Disk. During the install, after I enter the connection information (including the SYS password), I get an Ora-01017 Invalid username/password error message. I have scoured the OTN and Metalink sites and found several notes that suggest setting up an Orcale password file and setting the parameter REMOTE_LOGIN_PASSWORDFILE=exclusive. The problem is that we do not use password files in our environment. Do htmldb/http server REQUIRE use of a password file. I can find nothing on this in the documentation. Please advise.

    To install APEX into the database you must run the apexins.sql script on the database on which you wish to load APEX.
    The script can be located at ORACLE_HOME/apex/apexins.sql.
    The scripts takes six arguments as parameters.
    password: Password you wish to give for your APEX schema
    apex_tablespace: The tablespace to hold APEX schema
    apex_file_tablespace: Tablespace to hold APEX files
    temp_tablespace: Temporary tablespace
    images: Virtual directory for Images
    connect: Connect stringThe last parameter "connect string" specifies a connect string for your target Oracle database. If the database is NOT on the server where the APEX software is located, you need to set that REMOTE_LOGIN_PASSWORDFILE parameter as you mentioned. This has nothing to do with APEX, it is just a requirement for non-local (remote) SYSDBA logins.
    It is best to copy the APEX software over to the server where the database resides and do a local install (where you can pass in NONE for that 6th parameter)
    Hope this helps.

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

  • Password file ,SPfile

    Hi
    I want to take back up of password file and spfile/pfile how?
    I am working in oracle 10g under solaris environment
    thanks
    raj

    Both the parameter (either pfile or spfile) and the password file should not be a big deal when backing them up, just copy them to a backup location.
    If you are using recovery manager make sure the controflile backup parameter is configured so you can ensure the spfile can be backed up by rman. If you are currently using pfile, you must manually backup this.
    In case you loose the password file, this can easily be rebuilt by means of the orapwd utlity. And in case you loose the pfile this can be rebuilt after the information of the non-default instance parameters, listed at your alertSID.log file.
    Another way to backup the spfile is by means of the sql command:
    CREATE PFILE [pfileSpec] FROM SPFILE [spfileSpec];
    This will create a text parameter file you can save anywhere you are allowed to.
    ~ Madrid

  • Ora-01990 error in opening the password file

    Hi,
    I created a password file by using orapwd utility. Then later on I modified the remote_login_passwordfile in the spfile by giving the command:
    sql> alter system set remote_login_passwordfile=exclusive
    scope=spfile.
    Then it is altered. Later on I shutdown the database and When I was trying to connect to the databse again, I am getting the following errors.
    ORA-01990 error openeing the passowrd file.
    ORA-27037 unable to obtain file status
    linux error:2 no such file or directory.
    Thanks in advance.

    Hi,
    I tried that also.It is giving ora-32001 write to spfile requested but no spfile specified at startup.
    First Manually I deleted the password file and I set the remote_login_passwordfile=none in the parameter file and again I started the instance just by giving
    sql>startup open pfile='OraHome1/dbs/initRADHI.ora'
    then I tried to modify the the Remote_Login_PASSWORDFILE thru alter system set command.then it is giving the above error. then I again shutdown the DB and again I started without specifying the parameter file or spfile just saying sql>startup. Then also it is not taking the SPFILE to startup. why is so? Then also same error I am getting?
    ora-32001 write to spfile requested but no spfile at startup. can anyone of you help me.
    Thanks,
    Have a nice day.

  • Issue with Password file / restore

    I have a big issue. My laptop [Win XP]had a hardware problem and I have no external backup of the data.
    The harddisk is still perfect and I have it now connected as external drive to another laptop [Win Vista].
    I now want to use / recover the password file and copy it from the external disk to the new laptop so I have all the passwords again.
    How can I do this?
    Where can I find the encripted file and where do I have to put it?
    Is this version dependant? I might have an older version on the old laptop [I think 3.4] and now I have 3.6.
    BIG THANKS in advance
    Arthur

    Password files recovery is covered in this article. <br /> http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • Create a new password file

    Please, how do I Create a new password file.
    i am trying to change dbid of my database, Do I need to delete the old password file, and create a new one by using the orapwd utility, or does orapwd utility overwrite the old one, thanks.

    You do not have to delete the old password file. No, you have to:
    test$ ls orapw*
    orapwGX
    test$ pwd
    /opt/oracle/Ora10gR2/dbs
    test$ orapwd file=/opt/oracle/Ora10gR2/dbs/orapwGX entries=5 password=none
    OPW-00005: File with same name exists - please delete or renameYoann.

  • ORA-01991: invalid password file

    I used producation backup file to restore in development side... but I get the following errors:
    RMAN> restore controlfile from "E:\RMAN\C-922101420-20090628-01.BCK";
    Starting restore at 29-JUN-09
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=14 devtype=DISK
    channel ORA_DISK_1: restoring controlfile
    channel ORA_DISK_1: restore complete
    replicating controlfile
    input filename=C:\ORACLE\ORADATA\HUBDB\CONTROL01.CTL
    output filename=C:\ORACLE\ORADATA\HUBDB\CONTROL02.CTL
    output filename=C:\ORACLE\ORADATA\HUBDB\CONTROL03.CTL
    Finished restore at 29-JUN-09
    RMAN> startup mount;
    database is already started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 06/29/2009 15:57:11
    ORA-01991: invalid password file 'C:\oracle\ora92\DATABASE\PWDhubdb.ORA'
    I don't have any ideas?
    Amy

    Dear Amy!
    Symptom:
    When trying to open (or mount) a database the following error is generated:
    ORA-01991: invalid password file '...PWDOrcl.ora'Where ‘Orcl’ is the SID of the database instance.
    Cause:
    Typically some corruption of the password file, or possibly the password file is for another database instance?
    Possible Remedies:
    If encountered when creating the database then it is because Oracle expects to create the password file but it already exists. In this instance database creation will have failed. Delete the password file and try again.
    If it is suspected that the password file is corrupt then try deleting it and recreating it:
    1. Delete the existing password file.
    2.Create a new/replacement password file:
    orapwd file=<path>\PWD<sid>.ora password=oracleUse the same path as given in the Oracle error. The password specified will be the new internal password.
    Yours sincerely
    Florian W.

  • 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-01017 error and re-create password file? seek advices.

    I used TOAD 9.5 to log in one Oracle 10g database with sys/password as sysdba. It worked fine always. However, today I tried to log in again and come across the ORA-01017 error. Invalid username/password. Then I went to windows server command line to log in as conn / as sysdba and also log in conn sys/password@sid as sysdba, I all logged in successfully. I checked the password file is in $oracle_home\database\. I logged in as normal user successfully.
    My question is: what caused this ORA-error? how to fix it? Is it necessary for me to re-create password file to fix this? Or there is other options? Thanks.

    First though is double check make sure you have no typo when inputting username/password,
    ORA-01017 is very specific error about wrong password, if you have problem with passwordfile you would likely to get ORA-01031: insufficient privileges
    You can change your sys password using alter user statement, Oracle will sync the password file.

  • Why does more users can login as sysdba than specified in password file

    I have multiple databases using same password file which has five entries for sysdba, but i have more than five users who have sysdba right and all of them can simultaneously login as sysdba, can any one explain why

    How do your users connect ? You may have any number of users connected locally as sysdba. Local connections are authenticated by OS, no password file is used.
    Moreover, the five entries of password file have to be intended as DISTINCT users, but you may have a much higher number of connections.

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

  • Forgot my SYS and SYSDBA password and used orapwd

    Hi all,
    I have successfully installed Oracle 11g and was able to create the ORCL database as well. I also run a script to create another database but there were tables that were auto-generated by the system such as the APPLY$_CHANGE_HANDLERS with many other tables names with "$". I was trying to DROP these tables but ORA-00604 and ORA-00942 errors kept appearing.
    I thought maybe I need to login as SYSDBA but I forgot the password during installation so I used the Oracle_Home\BIN\orapwd. CMD prompt appeared but quickly gone away.
    I appreciate any help:
    1. I need to change SYSDBA password
    2. I need to drop the unwanted tables created by the system.
    Thanks in advance

    918937 wrote:
    entering pw in the cmd prompt doesn't do a thing.Hm, it seems you use orapwd in a wrong manner, please read it's help message, it's quite simple to recreate pwd file.
    I cannot seem to connect to default ORCL database in the Oracle SQL Developer using the SYS, SYSDBA users. So I used the Oracle_Home\BIN\orapwd but as mentioned before the cmd prompt appeared for a split second.ofcause it would.
    I am still digging in the forums and google but could not find a definite solution~Solution is: recreate your password file by orapwd utility in command prompt.

Maybe you are looking for