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.

Tags: Oracle Development

Similar Questions

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

  • 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

  • Create the remote database using dblink view

    Hello

    I have a small question for you.

    Is it possible to create the remote database using dblink view? Following syntax error

    create discover ViewName@DbLinkDame (ColumnName) as
    (select 1 double)

    "ORA-00905: lack of keyword.

    Is this possible at all?
    And particularly - is this possible when the remote database is MSSQL and I use heterogeneous services?

    I really appreciate your help
    Best regards
    Wojtek

    Published by: wojpik on October 21, 2009 03:59

    This is a workaround for a remote Oracle database (use the queue of work), however:

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:597877500346143250

    but I have no idea if something similar is possible for MSSQL...

  • Resolved - getting error when connecting to the remote database to the host

    Hello

    I try to connect to the remote form of database host and get error. Can someone please help.

    I've seen a few threads about similar issues, but I am not able to solve this problem.

    I use Oracle Apps 12.2.0, Linux 5.1, Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit, using SQL Developer to connect.

    I am able to connect using SQL Developer in distance and using the same credentials in SQL Developer host, but in error

    Status: Failure-Test failed: IO Error: Connection reset

    The host

    I am able to ping remote, but cannot tnsping

    The tnsping error-

    Use settings files:

    C:\app\oracle\product\12.1.0\dbhome_2\NETWORK\ADMIN\sqlnet.ora

    EZCONNECT adapter used to resolve the alias

    Try to contact (DESCRIPTION = (CONNECT_DATA = (SERVICE_NAME =)) (ADDRESS = (PROTO

    (COL = TCP)(HOST=192.168.1.102) (PORT = 1521)))

    AMT-12547: TNS: lost contact

    Here are more details

    I have added the following in the TNSNAMES file. ORA file

    SCREW =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.102)(Port= 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = SCREW)

    )

    )

    I have added the following in the listener

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.102)(PORT = 1521))

    )

    )

    Finally - the firewall is disabled in Linux Machine

    Can you ping the server IP (or nomhote.nomdomaine) address of the client machine?

    What is the error you get when you issue "tnsping SCREWS" of the client machine?

    You have added the following entry to your client's tnsnames.ora file?

    +++++++++++++++++++++

    SCREW =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.102)(Port= 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = SCREW)

    )

    )

    +++++++++++++++++++++

    Can you reproduce the problem with sqlplus? If so, please see (11.5.10 news: run SQL * Net access for guests (Doc ID 291897.1)).

    If the problem with SQL Developer only, please see (SQLDeveloper receives ' java.sql.SQLRecoverableException: IO Error: Connection reset "and ORA - 609 database alert (Doc ID 1483287.1)).

    Thank you

    Hussein

  • Take the backup of the user database using oracle forms 6i

    I need backup user database using oracle forms 6i. Is this possible?

    Yes.

    Try

    When press the button trigger

    DECLARE
        un                VARCHAR2(30);
        pw                VARCHAR2(30);
        db                VARCHAR2(30);
        con_str        VARCHAR2(100);
        --
        data_file    VARCHAR2(100);
        log_file    VARCHAR2(100);
        cmd_line    VARCHAR2(200);
        ALT NUMBER;
    BEGIN
        IF :CONTROL.file_name IS NULL THEN --- take a file location
            IF SHOW_ALERT('FILE_NAME') = ALERT_BUTTON1 THEN
                RAISE FORM_TRIGGER_FAILURE;
            END IF;
        END IF;
        --
        un    := GET_APPLICATION_PROPERTY(USERNAME);
        pw    := GET_APPLICATION_PROPERTY(PASSWORD);
        db    := GET_APPLICATION_PROPERTY(CONNECT_STRING);
        con_str    := un||'/'||pw||'@'||db;
        --
        data_file    := :CONTROL.file_name||'\'||un||
                                 TO_CHAR(SYSDATE, 'DDMMYYYY')||'.dmp';
    
        cmd_line    := 'exp userid='||con_str||' file='||data_file;
        HOST(cmd_line);
        --
    
        ALT:=SHOW_ALERT('MULTI_BACKUP');
        IF ALT=ALERT_BUTTON1 THEN
            RAISE FORM_TRIGGER_FAILURE;
        ELSE
            EXIT_FORM;
        END IF;
    
    END;
    
  • ORA-12560 error adapter, connect to the remote database

    I started to learn Oracle for the last week or two, and certainly my installation process was a bit special. In the end, I try JBoss to connect to the database, but for now, I just want to try a simpler installation.

    I use Instant Client on Windows 7 with Oracle 11.2 running on a RedHat 5 virtual machine. When I connect with the following...

    sqlplus sys@domain:1521/sid

    It crashes, it's finally time. When I use...

    sqlplus sys as sysdba @domaine: 1521/sid

    It asks for my password, then gives me the error of the adapter, after I get it.

    My listener status is:

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on February 21, 2012 16:27:16

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
    STATUS of the LISTENER

    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start date February 20, 2012 15:28:54
    Operating time 1 days 0 h 58 min 21 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /var/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
    The listener log file /var/app/Oracle/diag/tnslsnr/SSC-redhat64/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=domain) (PORT = 1521)))
    Summary of services...
    "Sid" service has 1 instance (s).
    "Sid" instance, status UNKNOWN, has 1 operation for this service...
    Service 'sid.domain' has 1 instance (s).
    "Sid" instance, State LOAN, has 1 operation for this service...
    Service 'sidXDB.domain' has 1 instance (s).
    "Sid" instance, State LOAN, has 1 operation for this service...
    The command completed successfully


    My main reason to use Instant Client is simply to test the connection to the database remotely. What other information should I post? Any help would be much appreciated.

    >

    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

    Try with quotes around the part of login id, for example

    C:\>sqlplus user@'hostname/test'

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

  • steps to connect to the remote database

    Hello Experts,

    could someone tell me how can I connect a remote 10gdatabase (in windows200) to my windows XP client?

    Thank you...

    user4487322 wrote:
    While performing the TEST of the nodes TNSPING (server), it works fine. I just copied the same and stuck to the client... is nothing else to do...

    It happens because:

    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vipserver003) (PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = vipserver004) (PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = test.world)
    )
    )

    She is entered for the RAC database, and you use the vip host name entries.

    Are you able to ping machine vipserver003 you?

    Can put you vipserver003, vipserver004 entries in your hosts file.
    File C:\windows\system32\drivers\etc\hosts.

    Concerning
    Rajesh

  • Need help, unable to connect to the ODBC database using the SQL Toolbox!

    Hi all

    I'm playing around with the evaluation of SQL Toolkit (2.2 + patch) and I'm having trouble.

    I ran the example 'connect' program and it seems to work fine.

    However, I try to write my own program, and I get the same message:

    "Service connection BD: (return value ==-10 [0xFFFFFFF6])."

    Native error - 2147467259 code 0x80004005

    The message is different from time to time, but the return value is constant.

    I use Microsoft SQL Server 2012 and MySQL.

    For MySQL, I installed the last Connector ODBC, 5.3.4. Inside the Control Panel / Data Sources (ODBC), I have a DSN called test_mysql in DSN user and system DSN.

    I ran a test on the connection and the test passes. I don't know if I have to use the ansi or unicode driver, I tried both with the same success.

    I do not know I had properly configured the SQL Server connection and who will try again.

    My Code CVI is quite simple:

    hdbc = connection BD ("DSN = test_mysql");

    Whenever I get a - 10 BD. Either I have something configured wrong or am I missing something.

    Does anyone have any suggestions?

    Update 2:

    After getting off the phone with Technical Support, the problem has been identified!

    LabWindows SQL Toolkit requires 32 bits DNS. My PC is a 64-bit, so my default DNS Manager in 64-bit.

    I needed to use the DNS Manager 32-bit when you work with the box tool.

    Once I created my DNS connections using the 32-bit version of the Datga ODBC Source manager, everything worked fine.

    See this technical note:

    http://digital.NI.com/public.nsf/allkb/E7984C0DA0F0E65086257694005B4CB7

  • Connecting to a remote database (slowed down) with the password file authentication

    Hi all

    I was wondering if it is possible to connect to a remote database is stopped (idle instance) as user sys with sysdba privileges? It is said in the Oracle book - one to page 210 in the section - operating system and the file password authentication:

    Connection with authentication by password file or operating system is always possible, any State of the instance and the database are in and it is necessary to issue commands to START or STOP.

    Above indicates that it is possible, but I can't do it.

    I managed to connect to the remote database that was in mode nomount (see below for more details).

    When I first tried to connect to a remote database (idle instance) using the password file authentication, it gave due to error:
    sqlplus sys@ORCL as sysdba
    SQL * more: Production of the version 11.2.0.3.0 Fri dec 21 13:59:28 2012

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

    Enter the password:
    ERROR:
    ORA-12514: TNS:listener is not currently of service requested in connect
    descriptor of

    Enter the user name:

    After the start of the database in nomount mode I was getting following error:
    sqlplus sys@ORCL as sysdba
    SQL * more: Production of the version 11.2.0.3.0 Fri dec 21 13:48:36 2012

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

    Enter the password:
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections

    Enter the user name:

    Then I added the clause (UR = A) my listener.ora file and after that it work and I was able to connect:
    sqlplus sys@ORCL as sysdba
    SQL * more: Production of the version 11.2.0.3.0 Fri dec 21 14:04:49 2012

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

    Enter the password:

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


    SQL >

    I have all the entries of necessairly in tnsnames.ora on my local host.

    Also, I have no problems when connecting as user sys with sysdba when the DB is open, but can't get it working on an idle instance.

    I know I can use OS authentication but want to know if there is a mistake in the book or I'm doing something wrong.

    Kind regards
    Dawid

    Edited by: 978239 2012-12-21 06:24

    I was wondering if it is possible to connect to a remote database is stopped (idle instance) as user sys with sysdba privileges?

    You can, but you need to statically register the database with the listener.

  • Error connecting to the remote computer.

    Hello

    I am able to connect to the VIRTUAL LAN, but when connecting to the remote computer using mstsc, I get the error below 'a problem caused blocking the program works correctly. Windows will close the program and notify you if a solution is available. »

    Here are my details of machine:

    Name of the operating system Microsoft Windows 7 Home Basic
    Version 6.1.7601 Service Pack 1 Build 7601
    System model Inspiron N5010
    System Type x 64-based PC

    Antivirus:
    internet security Kaspersky 2012

    Please come back if you need furthur information.

    Could you please getback me ASAP.

    Thank you & best regards

    Anil.

    Hi Anil,

    You try to connect a Windows 7 Home Basic?

    You cannot use Remote Desktop connection to connect to computers that are running Windows 7 Starter Edition, Windows 7 Home Basic or Windows 7 Edition Home Premium.

    See the following Microsoft article.

    Remote Desktop connection: frequently asked questions

    Keep us updated on the status of the issue.

  • connect to the remote mysql through dreamweaver database

    I have no problem building the database locally, but by my own curiosity I wanted to connect to a remote database, I have on the server. Here's the head scratcher... I can connect via MySQL Administrator (mysql gui tools), but not Dreamweaver, using the same information. Is that because Dreamweaver requires port 3306 by default? I use a different port for security reasons. If it is because Dreamweaver strength 3306, how can I change this when you create a database connection in the application menu.

    I found using the domain name of the site Web with the port has worked.

    example: domain.com:8888

  • How to use refcursor type returned from the remote database in the local database

    Can anyone say is how they use the refcursor use type returned from remote database in the local database using dblinks.

    See MOS ID 750126.1 doc ORA-24338 when trying to return a Refcursor over a database link.

Maybe you are looking for

  • OfficeJet 7612: Double-sided printing

    I just bought this printer and the installation was pretty smooth.  However when I print double-sided, bound on long edge (and yes I checked and I followed the instructions) it prints the back backwards.  Can't seem to find a cure for this.  Anyone h

  • How to DISABLE the keyboard entry Alt + NUMPAD digital ASCII.

    Hello The default behavior of Windows 7 (and as far as I know all the previous versions) is to enter the ASCII codes to the ALT keyboard + keypad. For example, Alt + 230 will produce "µ". If NUMLOCK is turned on or not makes no difference. In additio

  • Often window opens in a program named taskeng.exe

    Original title: Taskeng.exe Very frequently during a session, a window appears in a program named taskeng.exe.  The window does not contain information.  Sometimes it disappears by Hello.ADB at other times I have to close it from the task bar.  How c

  • I'm unable to install a printer - print spooler does not

    I have a problem with the PC.  No printer is displayed in the Control Panel printer page. When I try to add a printer the message tells me that the print spooler does not work.  Can I also book error code: "error 0x000006e". I tried all the usual bug

  • BlackBerry Smartphones bbm chat truncated text copy

    'copy' bbm chat gives the truncated text message. How can I recover all the contents of the cat?