Connection to the PROD database error: ORA-20

Salvation of DBA

When running custom reports, I get the following error.

Connection to the PROD database error: ORA-20

When I run the same report again, it works fine.

Please tell me why it behaves like this? and advice me please how to fix this.

Best regards

Suresh,

Follow the recommendations of the following note to set the initialization of the PROCESS parameter correctly.

Note: 216205,1 - parameters to initialize database for Oracle Applications Release 11i
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=216205.1

Another possible solution is to give your opinion on tune your custom code.

Tags: Oracle Applications

Similar Questions

  • SharePoint [IM002] connect to the navision database error

    original title: sharepoint error

    When I tried to connect the navision database. I get an error message ' ERROR [IM002] [Microsoft] [ODBC Driver Manager] Data source name not found and no default driver specified ". My connection string is:
    DSN = Microsoft Dynamics NAV database"

    Please, help me to delete this task.

    Thanks in advance

    Hi,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/sharepoint2010general/threads

  • Connection to the external database error

    Try to connect space Horizon to an external vFabric Postgres database. Does anyone know the syntax with an example? I can't find any documentation on where to find the uuid of the database.

    I was able to go beyond that. Not being not a DBA, I didn't know that the uuid to a Postgres database is simply the name of the comic.

  • DOUBLE DB: ORA-17629: unable to connect to the remote database server

    [oracle@ora11g1 ~] $ export ORACLE_SID = sales
    [oracle@ora11g1 ~] $ rman target sys/sales@sales

    Recovery Manager: release 11.2.0.1.0 - Production Wed Jun 5 13:00:15 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: SALES (DBID = 690066655)

    RMAN > Connect auxiliary sys/salestby2@salestby2

    connected to the auxiliary database: SALES (not mounted)

    RMAN > CURRENT SPFILE DATABASE of TARGET duplicate FOR THE EVE OF the DATABASE
    2 > DB_NAME SET = 'sales '.
    3 > SET DB_UNIQUE_NAME = "salestby2".
    4 > control_files='/u02/oradata/salestby2/control01.ctl','/u02/oradata/salestby2/control02.ctl SET'
    5 > SET DB_FILE_NAME_CONVERT = "/ u02/oradata/sales /", "/ u02/oradata/salestby2 / '.
    6 > SET LOG_FILE_NAME_CONVERT = "/ u02/oradata/sales /", "/ u02/oradata/salestby2 / ';

    From duplicate Db 5 June 13
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 20 type of device = DISK

    content of Script memory:
    {
    backup that copy reuse
    TargetFile ' / auxiliary format of the u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsales
    ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsalestby2' targetfile
    ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesales.ora' auxiliary format
    ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora';
    clone of SQL 'alter system set spfile = "/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora";
    }
    execution of Script memory

    From backup 5 June 13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 58 type of device = DISK
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 05/06/2013 13:05:26
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-01017: name of user and password invalid. connection refused
    ORA-17629: unable to connect to the remote database server
    continue other job steps, not a not working will not re-run
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 05/06/2013 13:05:27
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 05/06/2013 13:05:27
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-01017: name of user and password invalid. connection refused
    ORA-17629: unable to connect to the remote database server

    Welcome to the oracle forums!

    Please take the time to go through [url https://forums.oracle.com/forums/ann.jspa?annID=1535] FAQ PAGE

    Always after 4 version oracle numbers and details of the OS.

    Post any request outside has put between.

      \
    

    Tags

    Mark your questions answers if you give the answer

    Password for the SYS user on primary and standby must be the same. Copy the master password for the backup server

    SCP $ORACLE_HOME/dbs/orapwv112 : /u01/app/oracle/product/11.2/dbs/orapwdupv112

  • ORA-17629: unable to connect to the remote database server

    Hello

    I have put Dataguard in place with primary and 1 physical standby for learning/test database:

    I do NOT plan the unloading of RMAN backups on the physics of the day before.

    Recorded the primary database with RMAN and when "resync catalog db_unique_name all;" is issued.
    I get the following error:
    ---------------------------------------------------------------------------------------------------------------------
    RMAN > catalog resync db_unique_name all;
    from full resynchronization of the recovery catalog
    full complete Resync
    resynchronization of data base with DB_UNIQUE_NAME ASTTESTB
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failed to db_unique_name resynchronization command at 28/09/2011 11:34:23
    ORA-17629: unable to connect to the remote database server
    ORA-17628: Oracle 17629 error returned by remote Oracle Server
    ------------------------------------------------------------------------------------------------------------------
    Configuration of RMAN for the main proceedings are the following:

    RMAN > show all to db_unique_name asttest;

    RMAN settings for database with db_unique_name ASTTEST are:
    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP # by default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
    CONFIGURE DB Nom_unique "asttest" CONNECT IDENTIFIER ' ASTTEST. UMDNJ. EDU'; _
    CONFIGURE DB "Asttestb" of nom_unique CONNECT IDENTIFIER "asttestb"; _
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/oracle/product/11.2.0/dbhome_1/dbs/snapcf_asttest.f'; # by default

    Configuration of RMAN for instance physical standby are:

    RMAN > show all to db_unique_name asttestb;

    RMAN settings for database with db_unique_name ASTTESTB are:
    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
    CONFIGURE DB Nom_unique "asttest" CONNECT IDENTIFIER ' ASTTEST. UMDNJ. EDU'; _
    CONFIGURE DB "Asttestb" of nom_unique CONNECT IDENTIFIER "asttestb"; _
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/oracle/product/11.2.0/dbhome_1/dbs/snapcf_asttest.f'; # by default

    ----------------------------------------------------------------------------------------------------------------------

    When I tested missing missing datafile and control file scenario on the primary database, it worked (Advisor to recover data)

    However, missing datafile scenario does not work on the physics of the day before.
    Here are the steps I followed:
    ********************************************
    1 renamed a file of physical data - in standby mode:

    bash - $3.2 ls - ltr

    Total 107832

    -rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log

    -rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf

    -rw - r - 1 oracle oinstall 52436992 5 Oct 11:00 rmandg_data01.dbf

    bash - $3.2 mv rmandg_data01.dbf rmandg_data01.dbf_old

    bash - $3.2 ls - ltr

    Total 107832

    -rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log

    -rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf

    -rw - r - 1 oracle oinstall 52436992 5 Oct 11:00 rmandg_data01.dbf_old


    2. restore the datafile (find the data file # view v$ recover_file):
    RMAN > restore datafile 5;



    From restoration to 5 October 11

    Segmentation fault


    3. in spite of the error, published "recover datafile command.

    4 RMAN > recover datafile 5;



    From pick up to 5 October 11

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 10 type of device = DISK

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at 05/10/2011 12:00:40

    RMAN-06094: datafile 5 must be restored.


    5. manually copy the physical primary datafile - in standby mode, & then problem recover RMAN command:
    bash - $3.2 scp oracle@msudrainier:/ora03/oradata/asttest/rmandg_data01.dbf.

    rmandg_data01.dbf 100% 50 MB 16.7 MB/s 00:03

    bash - $3.2 ls - ltr

    Total 159096

    -rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log

    -rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf

    -rw - r - 1 oracle oinstall 52436992 5 Oct 11:49 rmandg_data01.dbf_old

    -rw - r - 1 oracle oinstall 52436992 5 Oct 12:01 rmandg_data01.dbf


    RMAN > recover datafile 5;



    From pick up to 5 October 11

    using channel ORA_DISK_1



    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at 05/10/2011 12:01:59

    RMAN-06067: RECOVER the DATABASE required with a backup control file or created


    6. of course RMAN commands have failed to restore the missing data file;
    So I renamed the file to original and rebooted repeat services applies - this restore the data file and now the configuration state of the DG is normal.
    *********************************************************************************

    Not quite sure if I'm still he hands the right way or if the error above is related to RMAN not able to synchronize with the physics of the day before.

    The documentation I want to talk to is here (1 paragraph):

    [http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJDFBDD | http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJDFBDD]


    Any pointers/direction and advise is greatly appreciated.

    Best regards
    NK

    I got it!

    /home/oracle:STANDBY >$ORACLE_HOME/bin/rman target sys/ catalog /@rcatalog
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Oct 7 14:12:10 2011
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: PRIMARY (DBID=1562898590, not open)
    connected to recovery catalog database
    
    RMAN> resync catalog from db_unique_name all;
    
    resyncing from database with DB_UNIQUE_NAME PRIMARY
    starting full resync of recovery catalog
    RMAN output not resynced for database with DB_UNIQUE_NAME PRIMARY
    full resync complete
    

    If the necessary connection string a target/sys and a catalogue

    RMAN target sys / catalog /@rcatalog

    I did my standby

    Will try the primary

    Best regards

    mseberg

    Work on both. Great question!

    connected to target database: PRIMARY (DBID=1562898590)
    connected to recovery catalog database
    
    RMAN> resync catalog from db_unique_name all;
    
    starting full resync of recovery catalog
    full resync complete
    
    resyncing from database with DB_UNIQUE_NAME STANDBY
    RMAN output not resynced for database with DB_UNIQUE_NAME STANDBY
    
    RMAN> 
    

    Published by: mseberg on October 7, 2011 14:16

    Thanks a ton for sticking to it. I'll add this little thing to my web site.

    Published by: mseberg on October 7, 2011 14:22

  • RMAN-04004: recovery catalog database error: ORA-12170: TNS: connect the ti

    Hello:

    Last night ' RMAN backup error: ' RMAN-04004: recovery catalog database error: ORA-12170: TNS: Connect timeout.

    I can sqlplus to the target database and the catalog database. The listener is in place. What is the problem? What should I check?

    Thanks in advance for your help.

    in the oratest/orapass@rmandb1 CATALOG,.

    rmandb1 is the name of the service. normally the name of the service and the name of db are kept same.

    check rmandb1 tnsping where you try to run ' RMAN TARGET / CATALOG oratest/orapass@rmandb1 "command.

    as optput will get the ip address of the server on which db is resident, no port, Protocol

    as

    ---------

    [Oracle@RAC3 ~] $ tnsping orcl

    AMT Ping utility for Linux: Version 10.2.0.5.0 - Production on December 23, 2011 21:12:20

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

    Use settings files:
    /opt/app/Oracle/product/DB/10.2.1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac3.rajesh.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (10 ms)
    -------------------------------

    Here the HOST = rac3.rajesh.com is the present db Server

    Published by: Rajesh.Rathod on December 23, 2011 07:43

  • ORA-02019: description of the connection to the remote database not found

    Hi all

    10.2.0.4 on solaris 10.

    I can tnsping and connect to a tnsentry in tnsnames.ora from the server, but when I use the same in dblink, get the error below:
    ORA-02019: description of the connection to the remote database not found. Here's the scenario. any idea?
    medt01:medtora:/medt/oracle/product/102/network/admin$ tnsping medcon
    
    TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 09-NOV-2011 23:49:23
    
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    
    Used parameter files:
    /medt/oracle/product/102/network/admin/sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.102)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = medcon)))
    OK (20 msec)
    medt01:medtora:/medt/oracle/product/102/network/admin$ sqlplus medts_ed/medfcv@medcon
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Nov 9 23:49:31 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    medt01:medtora:/medt/oracle/product/102/network/admin$ sqlplus medts_ed/medfcv@medcon
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Nov 9 23:59:54 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    medt01:medtora:/medt/oracle/product/102/network/admin$ tnsping medcon
    
    TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 10-NOV-2011 00:00:02
    
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    
    Used parameter files:
    /medt/oracle/product/102/network/admin/sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.102)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = medcon)))
    OK (0 msec)
    medt01:medtora:/medt/oracle/product/102/network/admin$ sqlplus medts_ed/medfcv@medcon
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 10 00:00:07 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    medt01:medtora:/medt/oracle/product/102/network/admin$ sqlplus medc_pl/medxcdsw3
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 10 00:00:17 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    
    SQL> create database link med2con connect to medts_ed identified by medfcv using  'medcon' ;
    
    Database link created.
    
    SQL> select * from medc@med2con;
    select * from medc@med2con
                                *
    ERROR at line 1:
    ORA-02019: connection description for remote database not found

    Try this,

    SQL > create database link med2con connect to medts_ed identified by using medfcv ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.102)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = medcon)))';

    SQL > select * from medc@med2con;

  • RMAN-04005: target database error: ORA-01031: insufficient privileges

    Try to duplicate db
    I checked the orapwd file looks ok.

    Oracle: tulpcorpadb03$ rman TARGET sys/***@wcmp AUXILIARY.

    Release of Recovery Manager: 9.2.0.8.0 - 64 bit Production

    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04005: target database error:
    ORA-01031: insufficient privileges

    I findout, this is prod db and not allowed to bounce to change, any other solution do rman duplicate work without changing it?

    SQL > show parameter password

    VALUE OF TYPE NAME
    -----------
    Remote_login_passwordfile string NONE

    SQL > connect virtue sysdba;
    Connected.
    SQL > select * from v$ pwfile_users;

    no selected line

    The auxiliary node must always have access to the backupset.

  • Unable to connect to the remote database

    Hi all

    Please find below the details of the environment: -.

    VM: VirtualBox VM 4.3.6

    OS: CentOS 6.4

    Database: Oracle 11.2.0.1 (3 installed DB COSP1, Cost1, RMANDB)

    I am able to tnsping three DBs all: -.

    [oracle@diamond ~] $ tnsping rmandb

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 19 February 2014 14:21:14

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

    Setting files:/u02/app/oracle/product/11.2.0.1/db_1/network/admin/sqlnet.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(Host = diamond.example.com) (Port = 1532))) (CONNECT_DATA = (SID = RMANDB)))

    OK (10 ms)

    [oracle@diamond ~] $

    However, when I am trying to connect via sqlplus or rman catalog, it throws the following error: -.

    [oracle@diamond ~] $ sqlplus rmancat/rmancat@rmandb

    SQL * more: Production release 11.2.0.1.0 Wed Feb 19 14:20:37 2014

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

    ERROR:
    ORA-12505: TNS:listener is not currently of SID given in connect
    descriptor of

    Enter user name:

    =========================================================================================

    RMAN > Connect catalog rmancat/rmancat@RMANDB

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-04004: recovery catalog database error: ORA-12505: TNS:listener is not currently of SID given in connect descriptor

    RMAN > exit

    ============================================================================================

    Please suggest how I can make this connection.

    sourav_biswas wrote:

    [oracle@diamond ~] $ ps - ef | grep-i pmon

    Oracle 2369 1 0 19:57?        00:00:00 ora_pmon_rmandb

    Oracle 2498 1 0 19:59?        00:00:00 ora_pmon_cosp1

    Oracle 2614 2301 20:00 0 pts/0 00:00:00 grep pmon-i

    only two databases are actually up to the present

    with * NIX questions

    ORACLE_SID = cosp1 is different from ORACLE_SID = COSP1

    When tnsnames.ora contains ORACLE_SID = COSP1 is NEVER connected to the instance named "cosp1." who is running as described above.

  • Connection to the remote database using Oracle 11 g Builder

    Hi all

    This could me stupid question, but I have installed Oracle Forms and reports 11g on Win 7 machine. I copied the file "tnsnames.ora' on the record ' ORACLE_HOME/Network/Admin". We use Oracle EBS R12 and I want to create a new report using 11 g.

    Using the report wizard after providing a simple query, we need to connect to the database. And even after the entry of TNS, I am getting error connecting to the database, following
    "REP-0501: the specified database can be connected.
    "ORA-12154: TNS: could not resolve the connect identifier specified.

    I am able to connect to the same database using the Report Builder (10.1.2.0). Is there another place where I need to set the TNS entry? How can I solve this error? Please guide...

    Kind regards
    Priyanka

    Hello

    In forms and reports 11g, default defined in tnsnames.ora is: ORACLE_INSTANCE\config.
    Please note that the ORACLE_INSTANCE is not the same as ORACLE_HOME.
    Example:
    ORACLE_HOME = D:\Oracle\Middleware\as_1
    ORACLE_INSTANCE = D:\Oracle\Middleware\instances\asinst_1

    If you set the admin TNS_ADMIN variable in the registry, you can point to a new location for tnsnames.ora

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

  • RMAN-04006: auxiliary database error: ORA-12504: TNS:listener has not been

    HIII...

    I was doing my dataguard configuration, my primary side is a 2 node RAC and my stand by is a single node.
    IM using the database and 11 GR 2 grid infrastructure.

    When I try to connect to the rating system standy priamry using RMAN im getting the following error.

    [*[*Oracle@Rac2 ~] rman target $ / auxiliary sys / sys@to_std *.

    Recovery Manager: release 11.2.0.1.0 - Production on Thu Sep 29 20:39:04 2011

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: RAC (DBID = 2346715690)
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04006: auxiliary database error: ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA


    My tnsnames.ora file is as follows

    to_std =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp (PORT = 9999))(HOST=datagrd))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = STB.msftpnq.com)
    )
    )


    and my listsner.ora file is as follows

    list_std =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp (PORT = 9999))(HOST=datagrd))
    )
    )
    SID_LIST_list_std =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = STB.msftpnq.com)
    (SID_NAME = STB)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    )
    )


    Please can someone help me to solve the issue.


    Thanks in advance.

    change the string Service_name in the tnsnames.ora file in the following and try again

    (SERVICE_NAME = STB) will be replaced by (SERVICE_NAME = STB.msftpnq.com)

  • OBIEE to connect to the configuration database

    Hi, I have configured OBIEE and the only problem I have connects to an Oracle 10g database version, where the data is located. I can open the BI Server repository using the client administration tool and when I choose a database object and choose Show data... in the Properties menu for the connection pool object, it does not connect. I have triple checked that the tnsnames.ora on the UNIX file is correct. Do I need to configure a file to point to the tnsnames.ora file? I guess that's my problem.

    I installed on a Unix Solaris OBIEE platform. This is the error I get when you try to run a query in the responses:
    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 17001] Oracle error code: 12170, message: ORA-12170: TNS: Connect timeout occurred at the call of the OIC OCIServerAttach. [nQSError: 17014] Cannot connect to the Oracle database. (HY000)

    Any help would be greatly appreciated.

    Thanks in advance!

    Mike

    You need to set the environment variables for the BI Server 3 find your Oracle client correctly in a Linux/Unix server. Here are the ones I use, you will need to change accordingly to your environment:

    export ORACLE_HOME=/opt/app/oracle/product/10.2.0.3
    Export TNS_ADMIN = / var/opt/oracle
    export LD_LIBRARY_PATH = $ORACLE_HOME/lib32: $LD_LIBRARY_PATH

    The TNS_ADMIN variable should point to where you have your tnsnames.ora, ldap.ora etc. These could be in the ./network/admin folder or as in our case in a specific folder the DBAs have installation to keep them separate in the client's file. Now, you need to know where to put these variables. OBIEE installation guide suggests using the script./OracleBI/setup/user.sh to do this, we prefer to put this on a special environment file which is executed when the user who runs the OBIEE connections. We would like to keep separate files OBIEE, so we know that it will not be lost if we upgrade to a new version or remove installation and install again.

  • Informatica Workflow not able to connect to the source database.

    Hello

    I completed the installation of OBI Apps.All test connections are working properly and I have also configured the relational connection in Informatica Workflow.The passwords, user name and connect string are correct. Tasks that need to connect to the source database fail always when I run an ETL. I checked the logs of these workflow session and he gave me following error:

    READER_1_1_1 > DBG_21438 Reader: Source is [UPG11i], [obiee] users
    READER_1_1_1 > CMN_1761 Timestamp event: [Fri Sep 05 18:01:37 2008]
    READER_1_1_1 > RR_4036 error connection to the database]
    Database driver error...
    Function name: logon
    ORA-12154: TNS: could not resolve the connect identifier specified

    Database driver error...
    Function name: connect
    [Database error: unable to connect to the database using the user [obiee] and the connection string [UPG11i].]

    DAC, I am able to connect to the databases. There seems to be a problem in relational connections. What are the drivers involved and where they should be installed.

    Help, please.

    Thank you and best regards,
    Soumya.

    It seems that the TNS Informatica file is pointing to is not the appropriate for your database entry. The the more safe thing to do is to verify that all the settings Oracle containing information in the source database.

  • Unable to connect to the local database (without using the tnsname)

    Hi guys
    I have 2 database running on the local computer.

    Db1 SID - orcl (install 1)
    DB2 SID - unicode (later installation)


    Today I stop the basic unicode and stop its respective services.

    on the back
    I did a sqlplus scott/tiger, I got an error
    ORA-12560: TNS:protocol adapter error

    That's why
    I did a
    Set ORACLE_SID = orcl

    and I still get the same error.
    -------------------------------------------------

    So I'm the other way around. I orcl database stop, stop its services and database unicode to START and its services.

    I disassembled the ORACLE_SID environment variable.

    Now, I have in the command prompt
    sqlplus scott/tiger

    I am connected to the unicode database!
    -------------------------------------------------

    Now I ORCL stop unicode data and start...

    and I have a
    sqlplus scott/tiger@ORCL...

    I HAVE no problem to connect to it...
    --------------------------------------------------

    May I ask why should I provide the TNSname ORCL database and I do not for the UNICODE of the databases...
    Both are local on my database.

    What's wrong?

    Moreover, I am on XP.
    Thank you!

    Set ORACLE_SID = orcl
    sqlplus / as sysdba;
    sys@ORCL > exit

    Set ORACLE_SID = unicode
    sqlplus / as sysdba;
    sys@Unicode > exit

    Well, we know that both your DBs are working properly.

    So out of curiosity, I did cela tests...
    (1) connect the two database and stop
    (2) stop their services
    (3) start only ORCL service
    (4) close and reopen the command prompt to delete the var of environment ORACLE_SID

    sqlplus / as sysdba;
    Error: ORA-12560: TNS: Protocol adapter error

    (5) now I stop service ORCL
    (6) (and I start the service of UNICODE)

    then I deliver

    sqlplus / as sysdba;
    sys@Unicode >

    It seems quite normal. In your registry value ORACLE_SID is, most likely, unicode, the last created: check it out, and if so, you can connect to unicode DB without setting ORACLE_SID, while you will need to set to connect to DB orcl.

    When you have more than one DB, you set the ORACLE_SID environment variable before connecting either you use connection strings.

  • RC-40201: unable to connect to the TEST database running adcfgclone.pl appsTier

    Hi Experts,

    While performing a cloning my instance of R12, I got RC-40201 error when I ran "adcfgclone.pl appsTier.

    [appltst@oracleupk bin] $ perl adcfgclone.pl appsTier

    Copyright (c) 2002 Oracle Corporation

    Redwood Shores, California, USA

    Applications Oracle rapid Clone

    Version 12.0.0

    adcfgclone Version 120.31.12010000.1

    Enter the password for APPS:

    Running:

    / data/appl_top/apps/apps_st/comn/clone/bin /... / JRE/bin/Java-Xmx600M - cp /data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext EI/data/appl_top/apps/apps_st/comn/clone/bin /... /Context/Apps/CTXORIG.xml-valider - pairsfile /tmp/adpairsfile_24425.lst-stade/data/appl_top/apps/apps_st/comn/clone 2 > /tmp/adcfgclone_24425.err; ECHO $? > /tmp/adcfgclone_24425.res

    Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log

    Provide the values required for the creation of the new file APPL_TOP context.

    Target System Hostname (virtual or normal) [oracleupk]:

    SID data system target: TEST

    Target database system [oracleupk] server node:

    Target system Base Directory: / data / appl_top

    Target system tools ORACLE_HOME directory [/ data/appl_top/apps/tech_st/10.1.2]:

    Target Web ORACLE_HOME directory system [/ data/appl_top/apps/tech_st/10.1.3]:

    Target system APPL_TOP directory [/ data/appl_top/apps/apps_st/appl]:

    Target system COMMON_TOP directory [/ data/appl_top/apps/apps_st/comn]:

    Target system Instance home directory [/ data/appl_top/inst]:

    Target system service root [activated]:

    Target Web Entry Point [active] System Services:

    Target [active] System Web Application Services:

    Target [active] Batch Processing Services system:

    Other Services target system [off]:

    You want to preserve the display [oracleupk:0.0] (y/n)? : n

    Target display system [oracleupk:0.0]: oracleupk:1.0

    System Target Pool [0-99] port: 80

    Audit of the pool of port 80

    fact: Port 80 pool is free

    Report file is located at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst

    Information available at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst complete port

    RC-40201: unable to connect to the TEST database.

    Create the new file APPL_TOP context of:

    /Data/APPL_TOP/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp

    The new context APPL_TOP file was created:

    / Data/APPL_TOP/inst/Apps/TEST_oracleupk/Appl/admin/TEST_oracleupk. XML

    Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log

    Check the context Clone logfile /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log for more details.

    Clone of fast running with the command:

    Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method

    Running:

    Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method

    Apps for password:

    Start application layer apply - Fri Oct 12 15:01:20 2013

    / données/appl_top/apps/apps_st/comn/clone/bin /... /jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/data/appl_top/apps/apps_st/comn/clone/ jlib/Oui/share.jar:/data/appl_top/apps/apps_st/ Comn/clone/jlib/Oui/srvm.jar:/Data/APPL_TOP/Apps/apps_st/COMN/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier EI /data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml-/data/appl_top/apps/apps_st/comn/clone - scene showProgress

    Password APPS: log file located at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log

    -79% completed

    ERROR when executing apply...

    Fri Oct 12 15:07:47 2013

    ERROR: Cannot run /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl

    Contents of the log file: -.

    [AutoConfig error report]

    The following report lists the errors autoconfig met in each

    execution phase.  Errors are grouped by directory and by phase.

    The format of the report is:

    < file name > < phase > < eventually return code >

    [INSTALLATION STAGE]

    AutoConfig could not successfully run the following scripts:

    Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install

    adgendbc.sh INSTE8_SETUP 1

    afcpnode.sh INSTE8_SETUP 1

    afgcsreg.sh INSTE8_SETUP 1

    txkWfClone.sh INSTALL_SETUP 1

    [PROFILE PHASE]

    AutoConfig could not successfully run the following scripts:

    Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi /data/appl_top/inst/apps/TEST_oracleupk/admin/scripts/adexecsql.pl sqlfile = / data/appl_top/inst/apps/TEST_ oracleupk/admin /. install

    afwebprf. SQL INSTE8_PRF 1

    amscmprf. SQL INSTE8_PRF 1

    amswebprf. SQL INSTE8_PRF 1

    bisadmprf. SQL INSTE8_PRF 1

    bisdblrp. SQL INSTE8_PRF 1

    clnadmprf. SQL INSTE8_PRF 1

    cncmprf. SQL INSTE8_PRF 1

    cseadmprf. SQL INSTE8_PRF 1

    csfadmprf. SQL INSTE8_PRF 1

    csiadmprf. SQL INSTE8_PRF 1

    eamadmprf. SQL INSTE8_PRF 1

    fteadmprf. SQL INSTE8_PRF 1

    ibywebprf. SQL INSTE8_PRF 1

    icxwebprf. SQL INSTE8_PRF 1

    oksfrmprf. SQL INSTE8_PRF 1

    wshadmprf. SQL INSTE8_PRF 1

    Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install

    adadmprf.sh INSTE8_PRF 1

    admk80ln.sh INSTALL_PRF 1

    afadmprf.sh INSTE8_PRF 1

    afcpctx.sh INSTE8_PRF 1

    afcpgsm.shINSTE8_PRF1
    igccmprf.shINSTE8_PRF1
    jtfictx.shINSTE8_PRF1
    okladmprf.shINSTE8_PRF1
    txkJavaMailerCfg.shINSTE8_PRF1
    txkWebServicescfg.shINSTE8_PRF1

    [APPLY PHASE]

    AutoConfig could not successfully run the following scripts:

    Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi/data/appl_top/inst/apps/TEST_oracleupk/admin/install
    adadmat.plINSTE8_APPLY1

    Fate of 31 stateful auto-configuration

    RC-50014: Fatal: failed to run the auto configuration service

    Asked by oracle.apps.ad.clone.ApplyApplTop

    ERROR: AutoConfig completed with errors. Check the logfile at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log for more details.

    ApplyApplTop completed successfully.

    # Check the race situation AutoConfig of ApplyApplTop

    WARNING: The autoconfiguration service has completed with errors.

    Please help me solve this problem, your prompt response will be highly appreciated.

    -Thank you

    Ankur

    Audit of the pool of port 70

    fact: Port pool 70 is free

    You used port 70 for the node of the database layer, so you will need to use the same port pool (70 instead of 80) when running "perl adcfgclone.pl appsTier.

    Thank you

    Hussein

Maybe you are looking for

  • My search does not work

    My search box will not get me anything - it just started doing this. I just upgraded to firefox 9. Work or Bing, Google or Yahoo. In addition, I noticed that copy data on the web, what I write takes forever and get jumbled words and letters and I hav

  • Export multiple property of a digital test limits as an expression

    I am able to import and export the limits of the digital with expressions and several digital tests with expressions. What about using the charger of property for expressions within limits for multiple digital tests? Step.Result.Measurement [0]. Limi

  • Set the string for LabView dll parameter

    Hello I created a simple vi LV 2010 (departure vi), which reads the identification of an oscilloscope. Then I take this vi and incorporate it into a dll of LabView. I have test the dll calling LabView (RunFrom dll). Basically, it seems to work, but l

  • can I burn a dvd 2.3:1 using windows dvd create? __

    can I burn a dvd 2.3:1 using windows dvd create? I don't see how to make 16:9 and 4:3. If I had a divx file that was 2.3:1 How could I burn and keep proportions?

  • Out of sync Q5 Q5 blackBerry battery meter

    HelloAfter the recent update of the operating system to 10.3.2.2474, I ve found that I am not able to delete some SMS (text messages) when I try to put an end to the same, it does not remove. When I remove it, it goes but reappears after the reboot.I