NSV0: Failed to connect to remote database orcl. Error is ORA-12514

sGetting error on data guard broker configuration. redologs shiping properly, withot any problems.
Database: 11gR2 , Linux 64-bit
[root@redhat ~]# su - oracle
[oracle@redhat ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 18 17:39:07 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> connect /as sysdba
Connected.
SQL> connect sys/oracle@primarydb as sysdba
Connected.
SQL> connect sys/oracle@physicaldb as sysdba
Connected.
SQL>
*/etc/hosts file contents on all nodes*
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1     localhost.localdomain     localhost
192.168.1.232     redhat          redhat
192.168.1.234 rac1          rac1
primary database (drcorcl.log)
2010-06-18 17:41:39.972 02010001 1362743835 DMON: CTL_GET_STATUS forwarded to site physicaldb for processing
2010-06-18 17:41:41.044 NSV1: Site physicaldb returned ORA-16664.
2010-06-18 17:41:41.045 02010001 1362743821 DMON: Database physicaldb returned ORA-16664
2010-06-18 17:41:41.045 02010001 1362743821 for opcode = CTL_GET_STATUS, phase = NULL, req_id = 1.1.1362743821
2010-06-18 17:41:41.045 02010001 1362743821 DMON: CTL_GET_STATUS operation completed
2010-06-18 17:41:41.050 01000000 1362743836 DMON: MON_PROPERTY operation completed
2010-06-18 17:41:41.054 01010001 1362743837 DMON: MON_PROPERTY operation completed
2010-06-18 17:41:41.058 01010001 1362743838 DMON: MON_PROPERTY operation completed
2010-06-18 17:41:41.062 01010001 1362743839 DMON: CTL_GET_STATUS operation completed
2010-06-18 17:41:56.045 NSV1: Site physicaldb returned ORA-16664.
2010-06-18 17:41:56.045 02010001 1362743835 DMON: Database physicaldb returned ORA-16664
2010-06-18 17:41:56.045 02010001 1362743835 for opcode = CTL_GET_STATUS, phase = NULL, req_id = 1.1.1362743835
2010-06-18 17:41:56.046 02010001 1362743835 DMON: CTL_GET_STATUS operation completed
physical standby database (drcorcl.log)
2010-06-17 00:41:30.410 drcx: could not find task req_id=1.1.1362743821 for PROBE.
2010-06-17 00:41:45.411 drcx: could not find task req_id=1.1.1362743835 for PROBE.
2010-06-17 00:42:00.546 NSV0: Failed to connect to remote database orcl. Error is ORA-12514
2010-06-17 00:42:00.547 NSV0: Failed to send message to site orcl. Error code is ORA-12514.
2010-06-17 00:42:00.547 DMON: Database orcl returned ORA-12514
2010-06-17 00:42:00.547 for opcode = HEALTH_CHECK, phase = BEGIN, req_id = 1.1.1362743840
2010-06-17 00:42:15.414 drcx: could not find task req_id=1.1.1362743840 for PROBE.
2010-06-17 00:43:15.548 NSV0: Failed to connect to remote database orcl. Error is ORA-12514
2010-06-17 00:43:15.549 NSV0: Failed to send message to site orcl. Error code is ORA-12514.
2010-06-17 00:43:15.549 DMON: Database orcl returned ORA-12514
2010-06-17 00:43:15.549 for opcode = HEALTH_CHECK, phase = BEGIN, req_id = 1.1.1362743841
Standby Lintener file contents
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521))
ADR_BASE_LISTENER = /oradisk/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DNAME = physicaldb)
(ORACLE_HOME = /oradisk/oracle/product/11.2.0/db)
(SID_NAME = orcl)
(SID_DESC =
(GLOBAL_DNAME = physicaldb_DGMGRL)
(ORACLE_HOME = /oradisk/oracle/product/11.2.0/db)
(SID_NAME = ORCL)
Primary database Listener contents
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.232)(PORT = 1521))
ADR_BASE_LISTENER = /oradisk/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DNAME = orcl)
(ORACLE_HOME = /oradisk/oracle/product/11.2.0/db)
(SID_NAME = orcl)
(SID_DESC =
(GLOBAL_DNAME = orcl_DGMGRL)
(ORACLE_HOME = /oradisk/oracle/product/11.2.0/db)
(SID_NAME = orcl)
TNSNAMES.ora on all nodes
PRIMARYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.232)(PORT = 1521)))
(CONNECT_DATA =(SID = orcl))
LISTENER_PHYSICALDB =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.234)(PORT = 1521))
PHYSICALDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.234)(PORT = 1521)) )
(CONNECT_DATA =(SID = orcl))
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.232)(PORT = 1521)))
(CONNECT_DATA =(SERVER = DEDICATED)(SID = orcl) )
)

Don't use the old syntax 'SID=...' in tnsnames.ora, use 'SERVICE_NAME=...' . Make sure 'SERVICE_NAME' is exactly the same returned by 'lsnrctl status' on both nodes.
Primary and standby cannot talk to each other currently through the listener:
ORA-16664: unable to receive the result from a database
Cause: During execution of a command, a database in the Data Guard broker
configuration failed to return a result.
Action: Check Data Guard broker logs for the details of the failure. Fix any
possible network problems and try the command again.
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action: - Wait a moment and try to connect a second time.
- Check which services are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
- If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
- Check for an event in the listener.log file.
Werner

Similar Messages

  • Failed to connect to remote database DMWEB_SITE1. Error is ORA-12533

    hello Gurus,
    I don't get what's hapenning with my Standby database
    I've follwoed the procedure as usual to recreate my standby as usually (works fine) exception this time
    I've created a separat listener so tha I've configured a local_listener
    in Site 1 Ok
    Site 2 I get error message below in my dataguard trace File ...
    NSV0: Failed to connect to remote database DMWEB_SITE1. Error is ORA-12533
    DG 2010-01-08-15:56:32 0 2 0 NSV0: Failed to send message to site DMWEB_SITE1. Error code is ORA-12533.
    DG 2010-01-08-15:56:32 0 2 707758231 DMON: DMWEB_SITE2 unable to contact primary for DRC version check
    When I try to enable the dataguatrd configuration it succed but the Site2 remains Disable.
    My Local Listener :
    LISTENER_DMWEB.world =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)(HOST=srvldbp03.int.imd.ch)(PORT=1523))
    (ADDRESS=(PROTOCOL=TCP)(HOST=srvldbp13.int.imd.ch)(PORT=1523))
    Txs for any Help
    Rgds
    Carlos

    yes i've check Both Adress
    The tnsnames in Both Sites is :
    DMWEB_SITE1.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp03.int.imd.ch)(PORT = 1523))
    (CONNECT_DATA = (SERVICE_NAME = DMWEB_SIET1)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED))
    DMWEB_SITE2.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13.int.imd.ch)(PORT = 1523))
    (CONNECT_DATA = (SERVICE_NAME = DMWEB_SITE2)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED))
    *********** FROM SITE 1
    [oracle@srvldbp03 admin]$ tnsping DMWEB_SITE1.world
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp03.int.imd.ch)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = DMWEB_SIET1)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED)))
    OK (0 msec)
    [oracle@srvldbp03 admin]$ tnsping DMWEB_SITE2.world
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13.int.imd.ch)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = DMWEB_SITE2)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED)))
    OK (10 msec)
    [oracle@srvldbp03 admin]$
    ******** FROM SITE 2
    [oracle@srvldbp13 bdump]$ tnsping DMWEB_SITE1
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp03.int.imd.ch)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = DMWEB_SITE1)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED)))
    OK (0 msec)
    [oracle@srvldbp13 bdump]$ tnsping DMWEB_SITE2
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13.int.imd.ch)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = DMWEB_SITE2)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED)))
    OK (0 msec)
    [oracle@srvldbp13 bdump]$
    In Both Database the Parameter LOCAL_LISTENER=LISTENER_DMWEB
    When I check Dataguard Configuration
    SITE 1 is OK
    SITE 2 is disabled and the trace shows this Ora:12533 Error

  • Failed to connect to remote application (fatal error)

    Symptom:
    After building a debuggable application (EXE), I tried to connect to it by:
    1.  Running the EXE
    2.  Operate » Debug Application or Shared Library...
    The IDE tried to connect to the EXE and then posted this dialog:
    After clicking OK, my Connection Status looked like this:
    Explanation:
    It turns out you cannot debug an application if there are any subVIs without diagrams.  In my case, I'm calling someone else's VI in ONE location.  That VI happens to NOT have a diagram.
    In case someone ever sees this puzzling "fatal error" dialog during connection, watch out for VIs where the diagrams have been removed.
    Work Around:
    Use a DDS (Diagram Disable Structure) to comment out the VI w/o diagram.  Then, build your application and debug it.  Enable the DDS case with the VI before building the final application.
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs

    Tell me about it.  If you know how to convert hBitmap (DDB) to a LabVIEW image cluster PLEASE let me know.  This is the *only* downside of the G Toolbox...
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs

  • Distribution manager failed to create the defined share or folder on distribution point and failed to connect to remote distribution point

    We have recently upgraded remote distribution point to SCCM 2012 R2 CU4. when i try to distribute the package getting the error on the distribution point configuration status "Distribution manager failed to create the defined share or folder on distribution
    point and failed to connect to remote distribution point"
    Errors on the package transfer log file.
    CWmi::Connect() could not connect to \\XXXXXXXX.COM\root\SCCMDP. error = The operation completed successfully.. Will try FQDN
    CWmi::Connect() failed to connect to \\XXXXXXX.COM\root\SCCMDP. error = The RPC server is unavailable.
    Failed to connect to the DP WMI namespace on the remote DP

    Thanks Sandys for your suggestions.
    i have tried wbemtest from site server(Secondary site) and remote DP server. Receiving the "The RPC
    server is unavailable" from both ends.
    error:0x800706ba - The RPC server is unavailable

  • Connection to remote database failed

    I have configured the cman.ora file and changed the connection
    string for the java applet, but I encountered the error
    "The NT Adapter could not establish the connection" when I tried
    to connect to remote database from JDev2.0(beta).
    Any ideas of what are the possible causes for this?
    At the cman.ora file, the setting are:
    cman = (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=<web_host_ip>)(PORT=1610))
    (ADDRESS=(PROTOCOL=tcp)(HOST=<db_host_ip>)(PORT=1521))
    cman_profile = (parameter_list=
    (MAXIMUM_RELAYS=1024)
    (LOG_LEVEL=1)
    (TRACING=yes)
    (RELAY_STATISTICS=yes)
    (SHOW_TNS_INFO=yes)
    (USE_ASYNC_CALL=yes)
    (AUTHENTICATION_LEVEL=0)
    At the java applet the connection statement are:
    DriverManager.registerDriver (new
    oracle.jdbc.driver.OracleDriver());
    Connection conn =
    DriverManager.getConnection ("jdbc:oracle:thin:" +
    "@(description=(address_list=" +
    "(address=(protocol=tcp)(host=<web_host_ip>)(port=1610))" +
    "(address=(protocol=tcp)(host=<db_host_ip>)(port=1521)))" +
    "(source_route=yes)" +
    "(connect_data=(sid=<orasid>)))", "<user>", "<id>");
    The error at the dos prompt running from JDev2 are:
    java.sql.SQLException: The NT Adapter could not establish the
    connection
    at oracle.jdbc.dbaccess.DBError.check_error(Compiled
    Code)
    at oracle.jdbc.driver.OracleConnection.<init>(Compiled
    Code)
    at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at test.Applet1.jbInit(Compiled Code)
    at test.Applet1.init(Compiled Code)
    at sun.applet.AppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    Thanks,
    Eye Gee
    null

    I am able to connect to the remote database using SQL*plus but
    does it means it is using CMAN connection?
    How do I test the CMAN connection from SQL*plus? Any example for
    me to follow?
    Thanks,
    Eye Gee
    mark tomlinson (guest) wrote:
    : Have you tried using the CMAN connection from something like
    : SQL*plus to verify that it is configured correctly? Everything
    : looks correct, so it might be hiding an actual NET error
    : underneath.
    null

  • Connecting to remote database (idle) with Password File Authentication

    Hi all,
    I was wondering if it's possible to connect to a remote database that is shut down (idle instance) as sys user with sysdba privileges? In the book Oracle - All in One on page 210 in the section - Operating System and Password File Authentication it says:
    Connection with operating system or password file authentication is always possible, no matter what state the instance and database are in, and is necessary to issue STARTUP or SHUTDOWN commands.
    Above indicates that it's possible but I'm unable to do so.
    I managed to connect to remote database that was in nomount mode (see below for details).
    When I first tried to connect to a remote database (idle instance) using password file authentication it was giving following error:
    sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 13:59:28 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Enter user-name:
    After starting the database to nomount mode I was getting following error:
    sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 13:48:36 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    Enter user-name:
    So I added the clause (UR=A) to my listener.ora file and after that it work and I was able to connect:
    sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 14:04:49 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    I have all necessairly entries in tnsnames.ora on my local host.
    Also I have no problems when connecting as sys user with sysdba when the DB is open but can't get it work on an idle instance.
    I know that I can use operating system authentication but want to know if there is a mistake in the book or I'm doing something wrong.
    Regards,
    Dawid
    Edited by: 978239 on 2012-12-21 06:24

    978239 wrote:
    Hi all,
    I was wondering if it's possible to connect to a remote database that is shut down (idle instance) as sys user with sysdba privileges? In the book Oracle - All in One on page 210 in the section - Operating System and Password File Authentication it says:
    Connection with operating system or password file authentication is always possible, no matter what state the instance and database are in, and is necessary to issue STARTUP or SHUTDOWN commands.
    Above indicates that it's possible but I'm unable to do so.
    I managed to connect to remote database that was in nomount mode (see below for details).
    When I first tried to connect to a remote database (idle instance) using password file authentication it was giving following error:
    sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 13:59:28 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptorSince the database is down, the only way the listener is going to know of it is if you create a static registration by adding an entry for the db in the SID_LIST section of listener.ora
    >
    Enter user-name:
    After starting the database to nomount mode I was getting following error:
    sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 13:48:36 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    Enter user-name:
    So I added the clause (UR=A) to my listener.ora file and after that it work and I was able to connect:
    sqlplus sys@ORCL as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 21 14:04:49 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    I have all necessairly entries in tnsnames.ora on my local host.
    Also I have no problems when connecting as sys user with sysdba when the DB is open but can't get it work on an idle instance.
    I know that I can use operating system authentication but want to know if there is a mistake in the book or I'm doing something wrong.
    Regards,
    Dawid
    Edited by: 978239 on 2012-12-21 06:24

  • Error in debugging ,failed to connect to remote the VM

    Hii,
    iam trying to debug an application,, for that i had created a new configuration and mentioned the details.
    when i debug the application it throwing  a error as
    Excetption occured during launch
    Reason:
    failed to connect to remote VM. connection refused
    can anyone sort it out this issue
    Regards
    satish

    Hi,
    If you are debugging on your local server,then restart the server it should resolve the problem.
    Also make sure before restarting the server that Debug configuration for WD app is Pointing to the Valid J2EE Engine
    Siddharth
    Edited by: Siddharth Jain on Oct 23, 2008 9:41 AM

  • I want to connect to remote databases which can be specified by URL

    Hi,
    i'm tinu
    I want to connect to remote databases which can be specified by URL
    the database is ORACLE 9i
    pls help me, how to connect to it
    i have the ip address,port address,sid,username and password of the database
    is there any difference in the actual code of database connection
    plss help

    Hi,
    There is a particular example with MS SQL 2000 in thread http://forum.java.sun.com/thread.jspa?threadID=608314
    In the given example you just need to change the database URL and the JDBC driver. Just examine the code a little bit.
    Also you may wish to visit the SUN's JDBC tutorial on http://java.sun.com/docs/books/tutorial/jdbc/
    Ferad Zyulkyarov

  • Error: OGG-00146 - error 600 - Failed to connect to mysql database

    Dear All,
    I am replicating Data from MySQL to Oracle.
    Version of my MySQL is Server version: 5.5.19 MySQL Enterprise Server - Advanced Edition
    Version of Oracle is : Oracle 11gR2
    My extract is giving the following error and I am unable to identify the problem:
    *2012-12-25 14:18:48 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, netfors.prm: VAM function VAMInitialize returned unexpected result:*
    error 600 - VAM Client Report <CAUSE OF FAILURE : Failed to connect to mysql database WHEN FAILED : While initializing mysql context WHERE FAILED :
    MySQLBinLog Reader Module CONTEXT OF FAILURE : No Information Available!>
    Following are the contents of my /etc/odbc.ini file
    *[netfors]*
    Driver = /usr/lib/libmyodbc3.so
    Description = Connector/ODBC 3.51 Driver DSN
    Server = 10.168.20.226
    Port = 6629
    User = replication
    Password = ******
    Database = netfors
    Option = 3
    Socket = /tmp/mysql_sandbox5519.sock
    When i isql -v netfors replication ***** *
    it say Connected!
    This is my extract:
    EXTRACT NETFORS
    DBOPTIONS HOST 10.168.20.226, CONNECTIONPORT 6629
    SOURCEDB [email protected]:6629, USERID replication, PASSWORD ******
    RMTHOST 10.168.20.31, MGRPORT 7809
    RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/n1
    TRANLOGOPTIONS ALTLOGDEST /root/sandboxes/msb_5_5_19/data/mysql-bin.index
    TABLE netfors.syslog;
    Extract gets ABENDED
    Kindly help on this.
    Regards, Imran

    Got it solved some how, golden gate was trying to connect with default socket file.
    */tmp/mysql.sock*
    while my socket file was
    */tmp/mysql_sandbox5519.sock*
    I changed it to default and got rid of the error.
    Thanks for the help.
    Regards, Imran

  • Connect to remote database

    hello
    i am souvik kundu . i am using tomcat web server that is in india . Through this web server i want to connect oracle data base that is in philipins(remote) .pls tell me the code or procedure how i connect to remote data base ?????????

    Dear Souvik,
    The physical location of the database is not of big concern while working with the java programs.
    U might be aware how to connect to remote database from ur localmachine if u have databaseclient(Oracle client for example) installed in ur system.
    U need to have a tnsnames.ora file to resolve the database.
    An entry in the tnsnames.ora file will lokk like the following
    name=( description = (address = ( host =ipnumber ) ( protocol = tcp ) (port = some port number ))(connect_data = (sid=sidname)))
    Here the sidname is very important
    If u have this description in the tnsnames file , then u can connect to any oracle machine in the world with the valid userid and password.
    al this is another part of the story , but now our concern is to make ur tomcat application capable of conencting to remote database
    there are two ways that i suggest u
    1) Explicitly make connections to the remote database from withing ur java program as follows
    String userId="scott";
    String passWord = "tiger";
    String url = "jdbc:oracle:thin:@ipnumber:portnumber:sidname";
    String driver = "oracle.judbc.OracleDriver";
    //This is very important
    try{
    Class.forName( driver );
    Connection con = DriverManager.getConnection ( url,userId,passWord );
    }catch(){
    Here the difference is that if ur using a local database u need not to give the ip number and portnumber combination
    Note:check whether ur network can contact to the destination by running the command at command prompt
    > tnsping ipnumber
    If tns ping doesnt work then u cant contact the remote database.
    2) Use tomcat admin console screen to set up a datasource and give required information as I provided above,
    Then u can obtain the connection frm the datasource.
    Regards
    mahi

  • "Failed to connect to remote distribution point" on local machine

    I have a new System Center 2012 R2 setup. I only have a single server with Configuration Manager, SQL, and Distribution Point all on the same machine.
    The Configuration Manager Client Package is failing to load to the distribution point.
    Content Status says: "Distribution Manager failed to connect to distribution point
    ["Display=\\AcadSCCM01.Academic.local\"]MSWNET:["SMS_SITE=900"]\\AcadSCCM01.Academic.local\. Check your network and firewall settings."
    The distribution point is on the same machine as config manager, and the firewall is turned off. When I try to redistribute the package it fails again immediately.
    I checked distmgr.log and found the following:
    Translated server name AcadSCCM01.Academic.local to Academic.local\AcadSCCM01.Academic.local.               
    SMS_DISTRIBUTION_MANAGER             
    2/27/2015 5:15:54 PM    3640 (0x0E38)
    CWmi::Connect() failed to connect to \\AcadSCCM01.Academic.local\root\MicrosoftIISv2. Error = 0x8004100E               
    SMS_DISTRIBUTION_MANAGER             
    2/27/2015 5:15:54 PM    3640 (0x0E38)
    STATMSG: ID=2391 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=AcadSCCM01.Academic.local SITE=900 PID=2240 TID=3640 GMTDATE=Fri Feb 27 22:15:54.990 2015 ISTR0="["Display=\\AcadSCCM01.Academic.local\"]MSWNET:["SMS_SITE=900"]\\AcadSCCM01.Academic.local\"
    ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=404 AVAL0="["Display=\\AcadSCCM01.Academic.local\"]MSWNET:["SMS_SITE=900"]\\AcadSCCM01.Academic.local\"               
    SMS_DISTRIBUTION_MANAGER             
    2/27/2015 5:15:54 PM    3640 (0x0E38)
    ERROR DPConnection::ConnectRemoteIISManagementWMI() - Failed to connect to 
    AcadSCCM01.Academic.local. error = 0x8004100e        
    SMS_DISTRIBUTION_MANAGER             
    2/27/2015 5:15:54 PM    3640 (0x0E38)
    STATMSG: ID=2344 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=AcadSCCM01.Academic.local SITE=900 PID=2240 TID=3640 GMTDATE=Fri Feb 27 22:15:54.991 2015 ISTR0="["Display=\\AcadSCCM01.Academic.local\"]MSWNET:["SMS_SITE=900"]\\AcadSCCM01.Academic.local\"
    ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=404 AVAL0="["Display=\\AcadSCCM01.Academic.local\"]MSWNET:["SMS_SITE=900"]\\AcadSCCM01.Academic.local\"               
    SMS_DISTRIBUTION_MANAGER             
    2/27/2015 5:15:54 PM    3640 (0x0E38)

    Can you confirm that all the pre-requisites have been installed?
    Using the following Powershell:
    Get-WindowsFeature –ComputerName AcadSCCM01.Academic.local| Where Installed
    And compare against https://technet.microsoft.com/en-us/library/gg682077.aspx

  • ARC1: Heartbeat failed to connect to standby 'TEST10'. Error is 1031.

    Hi Every one,
    I m getting this error in alert log.
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'xxxx'
    ORA-01031: insufficient privileges
    *** 2003-11-30 18:55:30.984 49871 kcrr.c
    ARC1: Heartbeat failed to connect to standby 'xxxx'. Error is 1031.
    We tried to setup on same machine as well as on separate machine, but in both cases getting the same error.
    Please guide me what should i do.
    Thanks
    Nadeem

    If you are running oracle 10g, then, the following would be helpful.
    Cause
    The parameter DB_ALLOWED_LOGON_VERSION has not been set in the remote database.
    DB_ALLOWED_LOGON_VERSION is a new parameter introduced in 10g that allows the DBA to explicitly determine which authentication protocols are allowed by the client or database.
    The value specified is the earliest client version level supported by this database.
    When clients earlier than the specified version attempt to connect, authentication will fail.
    Solution
    In the init.ora of the remote (Downstream capture) database, set the following : db_allowed_logon_version=10
    Note: Bug 2981553, which is implemented in 10.1.0.2, removes the parameter db_allowed_logon_version. This is replaced by the sqlnet.ora parameter called sqlnet_allowed_logon_version.
    Jaffar

  • Oracle 11G  DG ,ERROR"PING[ARC2]: Heartbeat failed to connect to standby 'wnadsdy'. Error is 1033."

    主库一直报错,提示 如下: Error 1033 received logging on to the standby FAL[server, ARC0]: Error 1033 creating remote archivelog file 'wnadsdy' FAL[server, ARC0]: FAL archive failed, see trace file. Error 1033 received logging on to the standby PING[ARC2]: Heartbeat failed to connect to standby 'wnadsdy'. Error is 1033. tnsping 可以Ping 到备库 wnadsdy primary ip 172.31.0.41 standby ip 1721.31.0.112 primary db initwnad.ora wnad.__db_cache_size=687865856 wnad.__java_pool_size=16777216 wnad.__large_pool_size=33554432 wnad.__oracle_base='/opr/oracle'#ORACLE_BASE set from environment wnad.__pga_aggregate_target=671088640 wnad.__sga_target=989855744 wnad.__shared_io_pool_size=0 wnad.__shared_pool_size=234881024 wnad.__streams_pool_size=0 *.audit_file_dest='/opr/oracle/admin/wnad/adump' *.audit_trail='db' *.compatible='11.2.0.4.0' *.control_files='/opr/oracle/wnad/control01.ctl','/opr/oracle/fast_recovery_area/wnad/control02.ctl' *.db_block_size=8192 *.db_domain='' *.db_name='wnad' *.db_recovery_file_dest='/opr/oracle/fast_recovery_area' *.db_recovery_file_dest_size=10737418240 *.diagnostic_dest='/opr/oracle' *.dispatchers='(PROTOCOL=TCP) (SERVICE=wnadXDB)' *.log_archive_dest_1='location=/opr/oracle/wnad/archive' *.log_archive_dest_2='SERVICE=wnadsdy' *.memory_target=1656750080 *.open_cursors=300 *.processes=150 *.remote_login_passwordfile='EXCLUSIVE' *.standby_file_management='AUTO' *.undo_tablespace='UNDOTBS1' listener.ora LISTENER=     (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test)(PORT=1521))               )     ) SID_LIST_LISTENER=       (SID_LIST=         (SID_DESC=               (SID_NAME=wnad)               (ORACLE_HOME=/opr/oracle/product/11.2.0/db_1)               (GLOBAL_DBNAME=wnad)           )       ) tnsnames.ora WNAD=   (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test)(PORT=1521))         )       (CONNECT_DATA=           (SERVER = DEDICATED)           (SERVICE_NAME=wnad)       )   ) wnadsdy=     (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test2)(PORT=1521))         )       (CONNECT_DATA=           (SERVER = DEDICATED)           (SERVICE_NAME=wnad)       )   ) standby db initwnad.ora wnad.__db_cache_size=687865856 wnad.__java_pool_size=16777216 wnad.__large_pool_size=33554432 wnad.__oracle_base='/opr/oracle'#ORACLE_BASE set from environment wnad.__pga_aggregate_target=671088640 wnad.__sga_target=989855744 wnad.__shared_io_pool_size=0 wnad.__shared_pool_size=234881024 wnad.__streams_pool_size=0 *.audit_file_dest='/opr/oracle/admin/wnad/adump' *.audit_trail='db' *.compatible='11.2.0.4.0' *.control_files='/opr/oracle/wnad/control01.ctl','/opr/oracle/fast_recovery_area/wnad/control02.ctl' *.db_block_size=8192 *.db_domain='' *.db_name='wnad' *.diagnostic_dest='/opr/oracle' *.dispatchers='(PROTOCOL=TCP) (SERVICE=wnadXDB)' *.log_archive_dest_1='location=/opr/oracle/wnad/archive' *.memory_target=1656750080 *.open_cursors=300 *.processes=150 *.remote_login_passwordfile='EXCLUSIVE' *.standby_file_management='AUTO' *.undo_tablespace='UNDOTBS1' listener.ora LISTENER=     (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test2)(PORT=1521))         )     ) SID_LIST_LISTENER=       (SID_LIST=         (SID_DESC=               (SID_NAME=wnad)               (ORACLE_HOME=/opr/oracle/product/11.2.0/db_1)               (GLOBAL_DBNAME=wnad)           )       ) tnsnames.ora wnad=   (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test)(PORT=1521))         )       (CONNECT_DATA=         (SERVER = DEDICATED)         (SERVICE_NAME=wnad)       )   ) wnadsdy=     (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test2)(PORT=1521))         )       (CONNECT_DATA=         (SERVER = DEDICATED)         (SERVICE_NAME=wnad)       )   )

    Hello;
    Very difficult to read your post.
    If your standby is in "recovery - mount" a 1033 is normal assuming you are trying to shut down the standby.
    Otherwise try this query on the standby:
    select process, client_process, sequence#, status from V$managed_standby;
    If there is a MRP or a MRP0 process, the database is performing managed recovery. Otherwise It's not ready and you may have found your cause.
    Best Regards
    mseberg

  • I've downloaded acrobat XI Pro, installed it, but get "Acrobat failed to connect to a DDE server error message.

    I've downloaded acrobat XI Pro, installed it, but get "Acrobat failed to connect to a DDE server error message.

    Hi Bruce,
    Please open registry by typing "regedit" in the Run window (Windows + R)
    Now, navigate to "HKEY_CLASSES_ROOT\acrobat\shell\open\ddeexec\application and changing the Key from "AcroviewA10"  to  "AcroviewR10.
    Now, try launching Acrobat and let me know if the issue resolves.
    Regards,
    Anubha

  • Connecting to Remote Database using Debian w/Oracle XE

    Hello.
    I have managed to install Oracle XE on a Debian box.
    I am trying to connect to a remote server located on my network.
    I am using the following connection string:
    # sqlplus <User>/<Password>@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP>)(PORT=1521)))(CONNECT_DATA=(SID=<SID>)))'
    However, I was given both a SID and a Service_name.
    I tried connecting with both.
    Is it possible to parametrize both? I checked and the remote server is up, and that is the existing port.
    Thanks a lot!

    user603592 wrote:
    Hello.
    I have managed to install Oracle XE on a Debian box.
    I am trying to connect to a remote server located on my network.
    I am using the following connection string:
    # sqlplus <User>/<Password>@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP>)(PORT=1521)))(CONNECT_DATA=(SID=<SID>)))'
    However, I was given both a SID and a Service_name.
    I tried connecting with both.
    Is it possible to parametrize both? yes, see below
    bcm@bcm-laptop:~$ sqlplus -h
    SQL*Plus: Release 11.2.0.1.0 Production
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the
                 usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [{logon | /nolog}] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
        -C <version>   Sets the compatibility of affected commands to the
                 version specified by <version>.  The version has
                 the form "x.y[.z]".     For example, -C 10.2.0
        -L             Attempts to log on just once, instead of
                 reprompting on error.
        -M "<options>" Sets automatic HTML markup of output.  The options
                 have the form:
                 HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                 [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
        -R <level>        Sets restricted mode to disable SQL*Plus commands
                 that interact with the file system.     The level can
                 be 1, 2 or 3.  The most restrictive is -R 3 which
                 disables all user commands interacting with the
                 file system.
        -S             Sets silent mode which suppresses the display of
                 the SQL*Plus banner, prompts, and echoing of
                 commands.
      <logon> is: {<username>[/<password>][@<connect_identifier>] | / }
               [AS {SYSDBA | SYSOPER | SYSASM}] [EDITION=value]
        Specifies the database account username, password and connect
        identifier for the database connection.  Without a connect
        identifier, SQL*Plus connects to the default database.
        The AS SYSDBA, AS SYSOPER and AS SYSASM  options are database
        administration privileges.
        <connect_identifier> can be in the form of Net Service Name
        or Easy Connect.
          @[<net_service_name> | [//]Host[:Port]/<service_name>]
         <net_service_name> is a simple name for a service that resolves
         to a connect descriptor.
         Example: Connect to database using Net Service Name and the
               database net service name is ORCL.
            sqlplus myusername/mypassword@ORCL
         Host specifies the host name or IP address of the database
         server computer.
         Port specifies the listening port on the database server.
         <service_name> specifies the service name of the database you
         want to access.
         Example: Connect to database using Easy Connect and the
               Service name is ORCL.
            sqlplus myusername/mypassword@Host/ORCL
        The /NOLOG option starts SQL*Plus without connecting to a
        database.
        The EDITION specifies the value for Session Edition.
      <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
        Runs the specified SQL*Plus script from a web server (URL) or the
        local file system (filename.ext) with specified parameters that
        will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run.  The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.
    bcm@bcm-laptop:~$

Maybe you are looking for

  • How do i add multiple components to a scrollpane?

    i have found info and examples on using a jpanel within the scroll pane, but i am still having difficulties. i put multiple componets (textarea's and so forth) into the panel and when i run the application the scrollable area does not work - show all

  • Ipod touch not recognized by anything

    I have had my ipod touch for almost a year now and it has been working great. Until a couple months ago. It is not recognized by any computer in my house, so I can't charge it or put new songs on it. iTunes doesn't show up when I plug it in, i get no

  • 'iPod cannot be updated because...

    all of the playlists selected for updating no longer exist' i baught 6 CDs yesterday and just re-did my playlists with them... then i got a message that only gave an 'ok' option. it said something like 'iPod selection has been created...' so i looked

  • JSP Custom Tags, Tag Handlers, Passing values

    Multiple questions here while I try to work with custom tags (its a requirement): From what I have had so far - I have a .tld file, a .java file and a .jsp page. (this is not a working version as I just got it from a website) platform: tomcat on an x

  • Issue with "Photo is Missing"

    I continue to have my photo's in LR 5 say "Photo is Missing" even though I have not changed the path or the file name.  Is anyone else having this issue and if so what can be done?  Is this a bug?  I have also RE-synced these same photo's and then so