ORA-28002

C:\>sqlplus scott/tiger

SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 23 15:29:23 2012

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

ERROR:
ORA-28002: the password will expire within 7 days

SQL> select * from dba_profiles;

PROFILE                        RESOURCE_NAME                    RESOURCE LIMIT
------------------------------ -------------------------------- -------- -----------------------
DEFAULT                        COMPOSITE_LIMIT                  KERNEL   UNLIMITED
DEFAULT                        SESSIONS_PER_USER                KERNEL   UNLIMITED
DEFAULT                        CPU_PER_SESSION                  KERNEL   UNLIMITED
DEFAULT                        CPU_PER_CALL                     KERNEL   UNLIMITED
DEFAULT                        LOGICAL_READS_PER_SESSION        KERNEL   UNLIMITED
DEFAULT                        LOGICAL_READS_PER_CALL           KERNEL   UNLIMITED
DEFAULT                        IDLE_TIME                        KERNEL   UNLIMITED
DEFAULT                        CONNECT_TIME                     KERNEL   UNLIMITED
DEFAULT                        PRIVATE_SGA                      KERNEL   UNLIMITED
DEFAULT                        FAILED_LOGIN_ATTEMPTS            PASSWORD 10
DEFAULT                        PASSWORD_LIFE_TIME               PASSWORD 1
DEFAULT                        PASSWORD_REUSE_TIME              PASSWORD UNLIMITED
DEFAULT                        PASSWORD_REUSE_MAX               PASSWORD UNLIMITED
DEFAULT                        PASSWORD_VERIFY_FUNCTION         PASSWORD NULL
DEFAULT                        PASSWORD_LOCK_TIME               PASSWORD 180
DEFAULT                        PASSWORD_GRACE_TIME              PASSWORD 7
I want to get rid of ORA-28002. What should I I have it please tell me, some users when logs (default profile) they told me they get above error. When I told alter user user_name identified by pw account_status.dba_users becomes "OPEN" of EXPIRED (GRACE).

Thank you.

Solution:

CHANGE the DEFAULT PROFILE LIMIT password_grace_time UNLIMITED;
ALTER PROFILE test LIMIT PASSWORD_LIFE_TIME UNLIMITED;
I would like to know if this is useful

Tags: Database

Similar Questions

  • ORA-28002: the password will expire within 7 days

    Hi all

    We use 11.1.0.6.0, we created a user 'BARCOM' 5/6 months ago. During this time, I was not aware of the default profile in ORACLE 11 g. Now, the case is that our user is in grace period and after 7 days, it's lock.

    Our developer here is hardcoded in its request the password. Thus, we are unable to change the password. Please suggest what to do now...


    Back earlier on this will be greatly appreciated...

    Regds
    Rahul

    Hello

    What is the grace of the time you have.
    Try to define grace as UNLIMITED or attempt to modify this field. By default, its going to take the SYSMAN default profile.

    Before we do something you can post details of our DEFAULT setting Prolfile.

    -Pavan Kumar N

    Published by: pounet on November 13, 2008 22:38

  • Disable ORA errors in sql script

    All,

    I am running a sql statement select script bash as the below one,
    string="user/pass@tns"
    tot=`sqlplus -s $string << EOF
    set echo off
    set feedback off
    set head off
    select count(*) from test_table;
    EOF
    `
    This affects the total of test_table for tot shell variable. Now I get the erro ORA below during the execution of this
    script
    ERROR: ORA-28002: the password will expire within x days
    Now the tot variable is assigned with count of test_table + ERROR: ORA-28002: the password will expire in x days.
    I need a way to get only the total number of rows without any string, set help command here? or should go for another way

    Barros says:
    Ok. I can reset the password, but however I want my real output (total number) in the variable and do not have these errors to be there in the variable. It is ultimately a failure my entire script.

    So, there are 2 possible solutions come to mind...

    1 change the account so that it doesn't have a time of expiration on this...

    http://docs.Oracle.com/CD/E11882_01/server.112/e10897/users_secure.htm#ADMQS12044

    or if this isn't the case because security in your company requires it expires periodically...

    2. do not your processes in a script, but rather make it all through a procedure in the database and use, a work of database programming if necessary etc. and then you don't have to worry about these messages of "login".

  • RMAN target / and sqlplus / as sysdba

    Hello

    Oracle Database 12 c Release 1 under Oracle Linux. 64 bit. Running on Virtual Box using Oracle OTN Developer day pre-defined VM.

    [oracle@localhost ~]$ sqlplus hr/oracle
    SQL*Plus: Release 12.1.0.1.0 Production on Sat May 23 14:50:17 2015
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    ERROR:
    ORA-28002: the password will expire within 7 days
    Last Successful login time: Sat May 23 2015 13:56:37 -04:00
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    PDB1@ORCL> select status from v$instance;
    STATUS
    ------------
    OPEN
    
    
    

    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 12.1.0.1.0 Production on Sat May 23 14:56:15 2015
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name:
    
    
    

    [oracle@localhost ~]$ rman target /
    Recovery Manager: Release 12.1.0.1.0 - Production on Sat May 23 14:57:32 2015
    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01017: invalid username/password; logon denied
    [oracle@localhost ~]$
    
    
    

    secondary groups are oper, s/n, oracle oinstall is the main group of the oracle user

    groupadd oper
    usermod -g oinstall -G dba,oracle,oper oracle
    

    that will allow me to connect to the user sys using sqlplus and rman with rman target /.

    ?

    Thank you

    I guess you TWO_TASK env var set, pointing perhaps to a service PDB name?

    echo $TWO_TASK

    unset TWO_TASK

    sqlplus / as sysdba

  • How can I list users whose password will expire soon?

    DB version: 11.2

    Platform: Oracle Linux 6.3

    The below mentioned user manhadm password will expire in 14 days. That is to say, it is in respect of the period of grace (PASSWORD_GRACE_TIME 14). He can still connect if.

    $ sqlplus manhadm/prtSmb23

    SQL * more: Production of the 11.2.0.3.0 version Thu Jun 19 16:30:49 2014

    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    ERROR:

    ORA-28002: the password will expire within 14 days

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, Real Application Clusters, Automatic Storage Management, OLAP,.

    Options of Data Mining and Real Application Testing

    SQL >

    Is there a way I can find all DB users whose password will expire soon?

    DBA_USERS. EXPIRY_DATE

  • change password of a user

    Hello

    I have a user which password must be changed. whenever I am connecting through sqldeveloper, it displays the message ORA-28002: the password will expire in 11 days.

    How do I take if I use alter user or a FNDCPASS to change this password. Please let me know.

    Kind regards
    Atif

    982868 wrote:
    Hello

    I have a user which password must be changed. whenever I am connecting through sqldeveloper, it displays the message ORA-28002: the password will expire in 11 days.

    How do I take if I use alter user or a FNDCPASS to change this password. Please let me know.

    Kind regards
    Atif

    Using SQL Developer and the error message you get this indicates that it is a user database and you must use the command "Change" to reset the password.

    How to keep the same password when the expiration time is reached and the change is necessary [98481.1 ID]
    Password management policy Oracle [ID 114930.1]
    OERR: ORA-28002, that the password will expire in %s days [50003.1 ID]
    ORA-28002 even if default Prpfile is limit UNLIMITED [ID 292093.1]

    Thank you
    Hussein

  • How to make the password does not expire?

    Hello
    About 175 days ago, I created a user. A few days ago the warning
    A database warning was encountered performing the requested operation:
    
    ORA-28002: the password will expire within 7 days
    28002. 00000 -  "the password will expire within %s days"
    *Cause:    The user's account is about to about to expire and the password
               needs to be changed
    *Action:   change the password or contact the DBA
    Vendor code 28002
    appear when connecting to the DB. I found the proposed solution that changed my user profile:
    ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
    After doing this the warning is still on display. I do anything more?
    Thanks in advance,
    Sandrine

    After doing this the warning is still on display.

    See password controlling aging and Expiration, where you can see

    You can set the parameter to UNLIMITED PASSWORD_LIFE_TIME, but this only affects accounts who have not entered their grace period. If the user has already entered the grace period, then he or she must change the password.

    By default, the grace period is 7 days.

  • Oracle Client 32-bit and 64-bit in the same Linux machine

    Dear,

    I have installed Oracle 64-bit server in my Linux box. The 64-bit client is sure to be installed also. But for some reason, I need to install the 32-bit client on the same machine and do the job as well as the 64-bit client.
    I downloaded the 32-bit package and installed successfully with the user ora32. Run the root.sh to implement the approx... The user who installed the original oracle server is oracle.

    For the oracle user, I was able to connect to the server.

    But for the user ora32, I failed to connect to the database with the following error.
    -error
    [ora32@fpru oracle] $. / Home/ora32/bin/oraenv
    ORACLE_SID = [ora32]?
    The basic Oracle for ORACLE_HOME=/u01/app/ora32/product/11.2.0/client_1 is/u01/app/ora32
    [ora32@fpru oracle] $ sqlplus

    SQL * more: version * Production 11.2.0.1.0 * Thu Feb 21 22:34:06 2013

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    Enter the user name: scott
    Enter the password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    -end error

    I checked the env for user ora32 and it looks right.

    [ora32@fpru oracle] $ echo $ORACLE_HOME
    */U01/app/ora32/product/11.2.0/Client_1*
    [ora32@fpru oracle] $ echo $ORACLE_SID
    ora32
    [ora32@fpru oracle] $ echo $PATH
    /usr/local/bin:/bin:/usr/bin::/usr/lib/jvm/jre-1.6.0-ibm.x86_64/bin::/ibm/softwares/cognos/c10_64/bin64:/opt/ibm/c4eb/bin:/home/oracle/bin:/usr/kerberos/bin:*/u01/app/ora32/product/11.2.0/client_1/bin*
    [ora32@fpru oracle] $ he 's/home/ora
    ora32 / oracle /.
    [ora32@fpru oracle] $ echo $LD_LIBRARY_PATH
    */U01/app/ora32/product/11.2.0/Client_1/lib*
    [ora32@fpru oracle] $ cat /u01/app/ora32/product/11.2.0/client_1/network/admin/tnsnames.ora
    ora32 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = fpru.spss.com) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.cn.ibm.com)
    )
    )

    [ora32@fpru oracle] $ ping fpru.spss.com
    PING fpru.spss.com (9.119.129.240) 56 (84) bytes of data.
    64 bytes from fpru.spss.com (9.119.129.240): icmp_seq = 1 ttl = 64 time = 0,031 ms

    I could connect to the db server using the following command, but I don't know what is the difference...

    [ora32@fpru oracle] $ sqlplus scott/tiger@ora32

    SQL * more: Production of release 11.2.0.1.0 Thu Feb 21 22:35:47 2013

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    ERROR:
    ORA-28002: the password will expire in 3 days



    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL >

    I modified the/etc/oratab to add this line: ora32:/u01/app/ora32/product/11.2.0/client_1:N
    ORCL:/U01/app/Oracle/product/11.1.0/Db_1:N--pour oracle user
    ora32:/U01/app/ora32/product/11.2.0/Client_1:N--for user ora32

    969543 wrote:
    Thanks for your help.

    So, if you use @ora32, this means that the connection between tcp/ip.

    If directory type sqlplus command, it will use IPC (interprocess communication). I understand?

    Fix

  • opmn was able to start oid

    OID 11.1.1.5 (environmental cluster)

    When I use opmnctl startall to start the service, I'll say there a timeout error, I tried to open the error log, but I can't find anything in
    then I go to the following path
    / U02/app/Oracle/Middlewarre/asinst_1/Diagnostics/log/OID/oid1

    Open the log file and found the below error
    [2012-10 - 03T 02: 49:08 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: [oidmon]: unable to connect to the database.
    retries again after 10 sec

    [2012-10 - 03T 02: 49:18 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: connect to the database, connect string is oiddb

    [2012-10 - 03T 02: 49:18 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: [gsdsiConnect] ORA-28002, ORA-28002: the password will expire within 7 days


    [2012-10 - 03T 02: 49:18 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: [oidmon]: unable to connect to the database.
    retries again after 10 sec

    [2012-10 - 03T 02: 49:28 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: connect to the database, connect string is oiddb

    [2012-10 - 03T 02: 49:28 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: [gsdsiConnect] ORA-28002, ORA-28002: the password will expire within 7 days


    [2012-10 - 03T 02: 49:28 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: [oidmon]: unable to connect to the database.
    retries again after 10 sec

    [2012-10 - 03T 02: 49:38 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: connect to the database, connect string is oiddb

    [2012-10 - 03T 02: 49:38 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: [gsdsiConnect] ORA-28002, ORA-28002: the password will expire within 7 days


    [2012-10 - 03T 02: 49:38 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: [oidmon]: unable to connect to the database.
    retries again after 10 sec

    [2012-10 - 03T 02: 49:48 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: connect to the database, connect string is oiddb

    [2012-10 - 03T 02: 49:48 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: [gsdsiConnect] ORA-28002, ORA-28002: the password will expire within 7 days


    [2012-10 - 03T 02: 49:48 - 45: 00] [OID] [NOTIFICATION: 16] [] [OIDMON] [host: dmmziappt1.ziic.net] [pid: 12111] [tid: 0] guardian: [oidmon]: unable to connect to the database.
    retries again after 10 sec


    can someone help me understand what this error is and why it is impossible to start the process of oid

    Hello

    Almost certainly the password for the ODS, the DB user for the scheme from the OID. Please see the Note 1064334.1 for more details (and a solution) for this message.

    Kind regards
    Colin

  • Importing data using SQL loader.

    Hi all

    I'm trying to import data from a txt file. I have created a CTL and the bat which I include below.

    CTL file
    LOAD DATA
    TRUNCATE
    INTO TABLE danint.VOIP
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    ( destination             INTEGER EXTERNAL
      destination_group       INTEGER EXTERNAL
      country                 CHAR,
      description             CHAR,
      off_peak_period         INTEGER EXTERNAL
      first_interval          INTEGER EXTERNAL
      next_interval           FLOAT EXTERNAL,
      first_price             DECIMAL EXTERNAL
      next_price              DECIMAL EXTERNAL
      off_peak_first_interval DECIMAL EXTERNAL
      off_peak_next_interval  DECIMAL EXTERNAL
      off_peak_first_price    DECIMAL EXTERNAL
      payback_rate            DECIMAL EXTERNAL
      forbidden               INTEGER EXTERNAL
      hidden                  INTEGER EXTERNAL
      discontinued            INTEGER EXTERNAL
      effective_from          DATE 'DD/MM/YYYY',
      formula                 INTEGER EXTERNAL
      report_date             DATE 'DD/MM/YYYY'
    )
    DATA
    995,,GEORGIA,Proper,,1,1,0.0795,0.0795,1,1,0.0795,0.0795
    995122,,GEORGIA,Sukhumi proper,,1,1,0.0795,0.0795,1,1,0.0795,0.0795
    9953,,GEORGIA,proper other,,1,1,0.0795,0.0795,1,1,0.0795,0.0795
    99532,,GEORGIA,Tblisi,,1,1,0.0668,0.0668,1,1,0.0668,0.0668
    9953226,,GEORGIA,Mobile Others,,1,1,0.0795,0.0795,1,1,0.0795,0.0795
    9953297,,GEORGIA,Tbilisi city,,1,1,0.0795,0.0795,1,1,0.0795,0.0795
    99544,,GEORGIA,Abkhazia,,1,1,0.3,0.3,1,1,0.3,0.3
    99555,,GEORGIA,Mobile Geocell,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99557,,GEORGIA,Mobile Geocell,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99558,,GEORGIA,Mobile Geocell,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99571,,GEORGIA,Mobile Others,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99574,,GEORGIA,Mobile Others,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99577,,GEORGIA,Mobile,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99577,,GEORGIA,Mobile,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99579,,GEORGIA,Mobile Others,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    9959,,GEORGIA,Mobile,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99593,,GEORGIA,Mobile,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99597,,GEORGIA,Mobile,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    99599,,GEORGIA,Mobile,,1,1,0.1528,0.1528,1,1,0.1528,0.1528
    30,,GREECE,Proper,,1,1,0.019,0.019,1,1,0.019,0.019
    BAT FILE
    REM LOADING VOIP Prices
    sqlldr system/manager@test control=C:\Library\Control\VOIP.CTL data=C:\Library\Data\VOIP.txt log=C:\Library\Log\VOIP.log rows=10000
    PAUSE
    TABLE
    -- Create table
    create table VOIP
    (
      destination             NUMBER,
      destination_group       NUMBER,
      country                 VARCHAR2(65),
      description             VARCHAR2(60),
      off_peak_period         NUMBER,
      first_interval          NUMBER,
      next_interval           NUMBER,
      first_price             NUMBER,
      next_price              NUMBER,
      off_peak_first_interval NUMBER,
      off_peak_next_interval  NUMBER,
      off_peak_first_price    NUMBER,
      off_peak_next_price     NUMBER,
      payback_rate            NUMBER,
      forbidden               NUMBER,
      hidden                  NUMBER,
      discontinued            NUMBER,
      effective_from          DATE,
      formula                 NUMBER,
      report_date             DATE
    )
    tablespace TEST
      pctfree 10
      initrans 1
      maxtrans 255
      storage
      (
        initial 560M
        next 1M
        minextents 1
        maxextents unlimited
      );
    I get the following error message, but the message seems meaningless, as the comma are in fact. Any ideas?


    ORA-28002: the password will expire in 6 days
    SQL * Loader-350: error of syntax in line 7.
    Expected ', 'or') ', found 'destination_group '.
    destination_group INTEGER EXTERNAL

    You are missing commas in the CTL file

    HTH
    Srini

  • Creating indexes and a default tablespace

    Hi Experts,

    Need your help to understand a basic tablespace clause when creating any object.
    I have a table owned by the user and reside on tuberculosis tablspace, table A has two indices i1 and i2, index i1 A user-owned and created by error index i2 belonging to user B.
    index i1 resides on the tb_index tablespace, i2 index created by mistake lies also on same tablespace tb_index.
    I have a question above given the scenario

    I2 index that was created by mistake lies in tablespace tb_index, despite mentioning any tablespace clause. How it can be created on the tb_index tablespace when the developer did not mention the tablespace.
    tablespace tb_index is neither database tablspace default is default not storage for user B.

    No idea about this help me a lot.

    Thank you

    Maybe something like that happening?

    SQL> conn / as sysdba
    Connected.
    SQL> conn test/test
    Connected.
    SQL> select * from user_indexes;
    
    no rows selected
    
    SQL> select table_name, tablespace_name from user_tables;
    
    TABLE_NAME                     TABLESPACE_NAME
    ------------------------------ ------------------------------
    TAB1                           USERS
    
    SQL> conn / as sysdba
    Connected.
    SQL> grant create any index to system;
    
    Grant succeeded.
    
    SQL> conn system/oracle
    ERROR:
    ORA-28002: the password will expire within 7 days
    
    Connected.
    SQL> conn test/test
    Connected.
    
    SQL> revoke index on tab1 from system;
    
    Revoke succeeded.
    
    SQL> conn system/oracle
    ERROR:
    ORA-28002: the password will expire within 7 days
    
    Connected.
    SQL> create index tidx on test.tab1(a);
    
    Index created.
    
    SQL> set pagesize 9999
    SQL> select index_name, table_name, tablespace_name, owner from all_indexes where table_name='TAB1'
      2  ;
    
    INDEX_NAME                     TABLE_NAME
    ------------------------------ ------------------------------
    TABLESPACE_NAME                OWNER
    ------------------------------ ------------------------------
    TIDX                           TAB1
    SYSTEM                         SYSTEM
    

    HTH
    Aman...

  • ORA-27300: OS dependent operating system: CreateThread failed with status: 8

    Hi all

    I'm looking for information on the guide follow error

    ORA-27300: OS dependent operating system: CreateThread failed with status: 8

    ORA-27301: OS Error Message: not enough memory is available to process this command.

    ORA-27302: an error occurred at: ssthrddcr

    Thank you
    Waqas

    Please don't be crazy on me, but in my opinion, this is the wrong place for your question. The fact is that Toshiba doesn't support Windows 2003 server for mobile computing. If you have problems try again with Microsoft.
    As a manufacturer of operating system, they should be able to offer an explanation for each error message. Sorry, but I see no connection between the problems described and Toshiba as a hardware manufacturer.

  • ORA-12154 tns could not resolve the specified correct identifier

    I am facing the following problem:

    labVIEW 2012 32 bits 64 bits of Windows 7, 10.2.0.1.0 oracle client (32-bit).

    I created a DSN from Data Sources (ODBC) (32-bit version of what in % windir%\syswow64\odbcad32.exe) pointing to an instance of Oracle 10 g.

    I have test the DSN in this way (IE. Data sources (ODBC) and the connection is successful (which means that the tnsnames.ora is correct).

    I use the "DB tools Open Connection.vi" in order to get connected to this database, passing as parameters the DSN above, the user name and password.

    I get the error:

    ADO error: 0x80040E4D
    Exception occurred in the Microsoft OLE DB provider for ODBC drivers:

    [Oracle] [ODBC] [Ora] ORA-12154: TNS could not resolve the specified correct identifier

    all will help much appreciated

    Thanks in advance

    Hello everyone.

    I already solved the problem (work until late Saturday).

    the solution was to install the latest version of the Oracle customer, namely: Oracle 11 g Release 2 CLIENT for Windows 32 (11.2.0.1.0).

    Now everything works OK.

    I also tested in Windows 7 32 bit (the .vi even and the same Oracle client). This will also OK.

    Thans a lot.

  • ORA-12154 for sqlplus username/password@TNS but tns ping works and sqlplus username@TNS works.

    Hello-

    I am facing the following question when I try to connect by using the command prompt sqlplus for Oracle 11.2.0.3 DB installed and running on HP - UX.

    The password is not all special characters & I also tried with the double quotes which did not work.

    Following want to work with username/password@TNSNAME because I'm trying to get my application to connect to the database, the schema mentioned because it uses the jdbc connection with the connection as (username/password@TNS:1521) string.

    C:\Users>sqlplus username/Pa55w0rd@DBNAME;
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:21:43 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    
    
    
    
    Enter user-name:
    C:\Users>tnsping DBNAME
    
    
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    016 07:21:57
    
    
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    
    
    Used parameter files:
    C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    
    
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DBNAME)))
    OK (50 msec)
    
    
    C:\Users>sqlplus username@DBNAME
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:22:05 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    Enter password:
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    SQL> show user
    USER is "username"
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64
    bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    C:\Users>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    content content of tnsnames.ora & sqlnet.ora:

    DBNAME =
    (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain)  (PORT = 1521))
        (CONNECT_DATA =
            (SERVER = DEDICATED)
            (SERVICE_NAME = DBNAME)
        )
    )
    

    # sqlnet.ora Network Configuration File: C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    
    
    # This file is actually generated by netca. But if customers choose to 
    # install "Software Only", this file wont exist and without the native 
    # authentication, they will not be able to connect to the database on NT.
    
    
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    
    
    
    
    
    
    
    

    Thanks in advance

    Hello

    sqlplus username/Pa55w0rd@DBNAME;

    Try it without the semicolon;

    sqlplus username/Pa55w0rd@DBNAME

    Regards Thomas

  • ORA-02089: COMMIT is not allowed in a session of subordinate.

    Hi all

    We call our Oracle stored procedure in a database link from a MS SQL database and get the following error...

    Error was not able to run native in bulk handling request: exec AddBookingToCRM @p_attribute1 = "other bulky ', @p_attribute2 = '1 ', @p_attribute3 ="Not specified", @p_attribute4 =" N/a", @p_attribute5 ="Not specified", @p_attribute8 = ' 1231', @p_attribute9 = ' 91665 ', @p_customer_title = 'Mr', @p_customer_firstname is 'Scott', @p_customer_surname = 'Burton', @p_customer_uprn = ' 64004572', @p_customer_area_code = ' 01234 ', @p_customer_phone = ' 567984' , @p_customer_email = ' [email protected]', @p_contact_title = 'Mr', @p_contact_firstname is 'Scott', @p_contact_surname = 'Burton', @p_contact_area_code = ' 01234 ', @p_contact_phone = ' 567984', @p_contact_email = ' [email protected]', @p_resolution_date = ' 2016-02-11 07:00 ' [SQL: exec AddBookingToCRM @p_attribute1 = "other bulky ', @p_attribute2 = '1 ' @p_attribute3 ="Not specified", @p_attribute4 =" N/a", @p_attribute5 ="Not specified", @p_attribute8 = ' 1231', @p_attribute9 = ' 91665' @p_customer_title = 'Mr'] [@p_customer_firstname = 'Scott', @p_customer_surname = 'Burton', @p_customer_uprn is '64004572 ', @p_customer_area_code = '01234', @p_customer_phone = ' 567984', @p_customer_email = ' [email protected]', @p_contact_title = 'Mr', @p_contact_firstname is 'Scott', @p_contact_surname = 'Burton', @p_contact_area_code is '01234', @p_contact_phone = ' 567984', @p_contact_email = ' [email protected]', @p_resolution_date = ' 2016-02-11 07:00 '] could not execute statement on remote server 'LLPGDEV '. "OraOLEDB.Oracle" provider OLE DB linked server 'LLPGDEV' returned message ' ORA-02089: COMMIT is not allowed in a session subordinate ORA-06512: at "XXCRM." XXCRM_CREATE_INCIDENT_DETAILS', line 376 ".

    Thank you very much

    Mike Williams.

    You must be in a comeback or XA transaction. This means that you can not call a procedure that has a COMMIT, because hiring the framework of a transaction is logically impossible. So remove the VALIDATION of the procedure. Which you should do anyway: to engage in a procedure is usually a bad thing.

Maybe you are looking for