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
Similar Messages
-
Dear All,
I have changed the PWD file on oracle 9.2.04 under linux redhat advance server 2.1. but when i start to open database by issuing dbstart, i get
ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
ORA-27037: unable to obtain file status
Linux Error: 2 : no such file or directory
additional information: 3
How to solve the problems?
thanks and regard
ERHai all...
I did it all..
but still I got
ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
ORA-27037: unable to obtain file status
Linux Error: 2 : no such file or directory
additional information: 3
Help me...
Thanks
regard
ER -
Problem setting up user ids to use the Oracle password file.
I want to set up my database users so that a password file is used for connecting to the database. I have completed these steps successfully.
BTW - DB is 11.2.0.3 on AIX power 64
1. Created the password file for the database using the orapwd command. Allowing 20 entries. Confirmed the file was created in the $ORACLE_HOME/dbs directory
2. Created a database user, sbrower
CREATE USER SBROWER IDENTIFIED BY <password> DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK ;
GRANT DBA TO SBROWER;
ALTER USER SBROWER DEFAULT ROLE ALL;
GRANT UNLIMITED TABLESPACE TO SBROWER;
ALTER USER SBROWER QUOTA UNLIMITED ON USERS;
3. Connected to the database as SYS and granted sysoper to SBROWER
4. Using putty, ssh'ed into the server where the database resides.
5. Set the oracle variables (ORACLE_HOME, ORACLE_BASE, etc.) and PATH
6. Was able to connect to the database using sqlplus / as syoper
THE PROBLEM
For another user, EA_RDX_ORACLE1, I follow the same steps (2-6) bu when I execute step 6, it does not allow the connection
ERROR:
ORA-01031: insufficient privileges
but, if I use sqlplus ea_rdx_oracle1/thepassword as sysoper it works
Looking at v$pwfile_users on the database:
USERNAME SYSDBA SYSOPER SYSASM
SYS TRUE TRUE FALSE
SBROWER FALSE TRUE FALSE
EA_RDX_ORACLE1 FALSE TRUE FALSE
3 rows selected.
There is one thing that is different for the ea_rdx_oracle1 id's:
- The users who use this id, use a took called CyberVault to check out the id. The password for the id changes each time the id is checked out; however, the way the id is set up on the DB servers, us user does not have to enter the password when they log in (ssh).
I have sent an email to our unix admin asking his how the id was set up so that it can ssh into the server. It is not included in the list of users in any group in the /etc/ogroup file and it is not included in the /etc/opassword file.The OS authentication ( sqlplus / as sysdba ) does not require the password file.
The problem may be related to the OS user you are connecting to that server - it is not a member of OSDBA group ( usually DBA ). -
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. -
Login problem through password file
Hi all
i am using oracle 11g release 1 on CENTOS LINUX 5.
i have a login problem AS
login at OS authentication is sucessful as
SQL> connect sys as sysdba
Enter password:
Connected.
SQL>
but when i login from password file as
SQL> connect sys/oracle@stan as sysdba
ERROR:
ORA-01031: insufficient privileges
SQL>
i created new password file as
orapwd file=$ORACLE_HOME/dbs/orapwSTAN.ora password=oracle entries=5
opertaing system authentication are given as
[oracle@testserver ~]$ id
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba) context=user_u:system_r:unconfined_t
any help is appreciatedThe name of the password file isn't random.
The SID is case sensitive, and the password file in Unix has no extension!
So if the filename is wrong, the passwordfile will not be used.
This filename looks wrong, at least the .ora bit should be removed.
Sybrand Bakker
Senior Oracle DBA -
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. -
Problems with the Password File Authentication
Hi,
I try to implement the Password File Authentication in my PC (Window XP). I did :
a) orapwd file:=C:\oracle\ora92\dbs\orapw.pwd password=sys2003 entries=5
b) I set the REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE
c) I created a user "willer" (With SYSTEM login)
d) I tried to give the sysdba privilege to the user willer :
SQL> grant sysdba to willer;
grant sysdba to willer
ERROR at line 1:
ORA-01031: insufficient privileges
e) I tried to connect like a sysdba with the user SYS end password sys2003 but :
SQL> connect sys as sysdba;
Enter password: *******
ERROR:
ORA-12560: TNS:protocol adapter error
Warning: You are no longer connected to ORACLE.
SQL>
How can I do to login with the SYS login to give the sysdba privilege to my user willer ? And why I can't log into my database with the SYS login ?
Thank you for your response because I am very lost....
Eric WillerHi,
Thank you for your response...
I deleted all my databases in my PC and reconstructed just one (certific), after that I followed your instruction and now I can connect into the database with the sys as sysdba login. But I just have one stangeness : I created a user willer and gave to him the sysdba privilege, when i log into the database with this user I can log on like a sysdba with wich ever user I want, even if the user doesn't exist.
Exemple :
Personal Oracle9i Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Welcome to SQL*Plus!
You are connected to CERTIFIC.ORACLE.DATABASE as WILLER
SQL> connect nicole as sysdba;
Enter password:
Connected.
SQL>
I don't need to improve a password and I have never created the user nicole.
I don't understand.... What's wrong ?
I try with another user, I just created a serge user with just the create session privilege. I can log on with this user like a sysdba :
Welcome to SQL*Plus!
You are connected to CERTIFIC.ORACLE.DATABASE as SERGE
SQL> connect serge as sysdba
Enter password:
Connected.
SQL>
Thank you for your response...
Eric Willer -
Password file auth - error ORA-01990: error opening password file '/p00/ora
Hi, Im setting up password file auth on our existing database.
Ive run this
orapwd file=orapwdt04.pwd password=secret entries=5
then set this in the .ora file
remote_login_passwordfile=exclusive
But when I restart the dabase im getting this error
ORA-01990: error opening password file '/p00/oraprod/9.2.0/dbs/orapw'
How / where do I tell the database to look for the password file.
Im running on AIX and Oracle 9.2.0.6
thanks for looking.password filename must be in the format of orapw<sid> and location of the file $ORACLE_HOME/dbs
-
ORA-01990: error opening password file
After I unset NLS_LANG ( can you explain this ??? )
I am able to start the create database command. BUt
what happens than I do not understand.
SVRMGR> connect internal
Connected.
SVRMGR> startup nomount pfile =
/home/oracle/admin/peter/pfile/initpeter.ora
ORACLE instance started.
Total System Global Area 35298704 bytes
Fixed Size 64912 bytes
Variable Size 18284544 bytes
Database Buffers 16777216 bytes
Redo Buffers 172032 bytes
SVRMGR> CREATE DATABASE "peter"
maxdatafiles 254
maxinstances 8
maxlogfiles 32
character set US7ASCII
national character set US7ASCII
DATAFILE '/home/oracle/oradata/peter/system01.dbf' SIZE 175M
logfile '/home/oracle/oradata/peter/redo01.log' SIZE 500K,
'/home/oracle/oradata/peter/redo02.log' SIZE 500K;
2> 3> 4> 5> 6> 7> 8> 9>
CREATE DATABASE "peter"
ORA-01501: CREATE DATABASE failed
ORA-01990: error opening password file
'/home/oracle/product/8.1.5/dbs/orapw'
SVRMGR> exit
where do I get this file or how to create it ?
nullpeter schlaeger (guest) wrote:
: After I unset NLS_LANG ( can you explain this ??? )
: I am able to start the create database command. BUt
: what happens than I do not understand.
: SVRMGR> connect internal
: Connected.
: SVRMGR> startup nomount pfile =
: /home/oracle/admin/peter/pfile/initpeter.ora
: ORACLE instance started.
: Total System Global Area 35298704 bytes
: Fixed Size 64912 bytes
: Variable Size 18284544 bytes
: Database Buffers 16777216 bytes
: Redo Buffers 172032 bytes
: SVRMGR> CREATE DATABASE "peter"
: maxdatafiles 254
: maxinstances 8
: maxlogfiles 32
: character set US7ASCII
: national character set US7ASCII
: DATAFILE '/home/oracle/oradata/peter/system01.dbf' SIZE 175M
: logfile '/home/oracle/oradata/peter/redo01.log' SIZE 500K,
: '/home/oracle/oradata/peter/redo02.log' SIZE 500K;
: 2> 3> 4> 5> 6> 7> 8> 9>
: CREATE DATABASE "peter"
: ORA-01501: CREATE DATABASE failed
: ORA-01990: error opening password file
: '/home/oracle/product/8.1.5/dbs/orapw'
: SVRMGR> exit
: where do I get this file or how to create it ?
I responded to your previous post. Look in ORACLE_HOME/bin for
orapwd. Run this.
null -
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?
AmyDear 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. -
ORA-01991 invalid password file 'string'
Hi all
I am getting the message ORA-01991 invalid password file 'string' .
do i need to create a new password file.
If so what is the syntax and where to write the syntax.
can something be done which avoids creating the new password file.orapwd file=<filename> password=<password> entries=5
by default password file lcoations are
$Oracle_Home\database with the name of 'PWD' followed by ISD name.
eg.
PWDisd9i.ora -
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
MagnusIt 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 -
Hai,
Here i am facing one problem. I put remote_login_passwordfile = exclusive in init<sid>.ora.
It means it has to use password file.
But how come i could connect to internal with out using password.
$ svrmgrl
Oracle Server Manager Release 3.1.6.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
Oracle8i Release 8.1.6.0.0 - Production
JServer Release 8.1.6.0.0 - Production
SVRMGR> connect internal
Connected.
SVRMGR>
Even i put remote_login_passwordfile = none also i could connect internal with out using password.
What is the difference.
I read in oracle documentation that if we put remote_login_passwordfile = none it will use operating system authentication, if remote_login_passwordfile = exclusive then it will follow password file.
Please give me clear explanation please.
Waiting for reply,
Priya.
nullSetting REMOTE_LOGIN_PASSWORDFILE to NONE signifies that Oracle should ignore any password file. In such a scenario, the privileged users must be authenticated by the operating system. Setting the parameter to EXCLUSIVE signifies that the password file can be used by only one database. In your case it happens because the OS user has got the correct privileges. That is why you are able to connect as internal when this is set to None.
-
Connecting to remote database (idle) with Password File Authentication
Hi all,
I was wondering if it's possible to connect to a remote database that is shut down (idle instance) as sys user with sysdba privileges? In the book Oracle - All in One on page 210 in the section - Operating System and Password File Authentication it says:
Connection with operating system or password file authentication is always possible, no matter what state the instance and database are in, and is necessary to issue STARTUP or SHUTDOWN commands.
Above indicates that it's possible but I'm unable to do so.
I managed to connect to remote database that was in nomount mode (see below for details).
When I first tried to connect to a remote database (idle instance) using password file authentication it was giving following error:
sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 13:59:28 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name:
After starting the database to nomount mode I was getting following error:
sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 13:48:36 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Enter user-name:
So I added the clause (UR=A) to my listener.ora file and after that it work and I was able to connect:
sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 14:04:49 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
I have all necessairly entries in tnsnames.ora on my local host.
Also I have no problems when connecting as sys user with sysdba when the DB is open but can't get it work on an idle instance.
I know that I can use operating system authentication but want to know if there is a mistake in the book or I'm doing something wrong.
Regards,
Dawid
Edited by: 978239 on 2012-12-21 06:24978239 wrote:
Hi all,
I was wondering if it's possible to connect to a remote database that is shut down (idle instance) as sys user with sysdba privileges? In the book Oracle - All in One on page 210 in the section - Operating System and Password File Authentication it says:
Connection with operating system or password file authentication is always possible, no matter what state the instance and database are in, and is necessary to issue STARTUP or SHUTDOWN commands.
Above indicates that it's possible but I'm unable to do so.
I managed to connect to remote database that was in nomount mode (see below for details).
When I first tried to connect to a remote database (idle instance) using password file authentication it was giving following error:
sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 13:59:28 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptorSince the database is down, the only way the listener is going to know of it is if you create a static registration by adding an entry for the db in the SID_LIST section of listener.ora
>
Enter user-name:
After starting the database to nomount mode I was getting following error:
sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 13:48:36 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Enter user-name:
So I added the clause (UR=A) to my listener.ora file and after that it work and I was able to connect:
sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 14:04:49 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
I have all necessairly entries in tnsnames.ora on my local host.
Also I have no problems when connecting as sys user with sysdba when the DB is open but can't get it work on an idle instance.
I know that I can use operating system authentication but want to know if there is a mistake in the book or I'm doing something wrong.
Regards,
Dawid
Edited by: 978239 on 2012-12-21 06:24 -
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.
Maybe you are looking for
-
Hard Drive Failure on HP DV 6000 Pavilion laptop - Need Data Recovery Help HP Pavilion DV 6108 NR, RG365UA, purchased in late 2006 at Best Buy, with Windows XP, upgraded to Service Pack 3. It has a Fujitsu hard disk, 60 gigabyte, partitioned into C:
-
AC adapter compatibility of Satellite L25-S1192
I took my Satellite L25 into the shop to have it fixed and when I got it home its fine, except I think the shop gave me back the wrong AC adapter because my machine does not recognize it (no lights). The one they gave me back is a model number API1AD
-
Error while faxing the remittance advice through payment run
Hi, Message number (XS 826) " Cannot Process message : No route From ******(User) to *****(Faxnumber). ", Under what circumstances this error message comes while faxing the remittance advice through payment run, and also how to rectify that? Regards,
-
Display Acceptance at origin in Purchase Order
Hello Experts, I am into SAP ECC 6.0 system. There is a requirement from our client to use Acceptance at origin process. I have understood the process from various threads which are available on sdn. When I am checking my Purchase Order this field is
-
How to make TreeByNestingTableColumn when data is coming by RFC
Hi , I have a requirement in my project that i need to populate the TreeByNestingTable from the data that is coming from backend( importing Adaptive RFCs). Also, on selection of a row having a node , i need to open some view & on selection of row hav