Failed to connect database...

Hi,
i am getting following error.how to overcome from this error
unable to connect database : testuser@test
Failed to connect database -ORA-12521 not found ;product=RDBMS80:facility=ORA
Thanks,

Mohammed_82 wrote:
Hi,
Oracle version =10.1.0.5.0
Client version =8
Only 8.1.7 client has been certified to connect to a 10.1 database, please, tell us your exact 8 version you are using.
Nicolas.

Similar Messages

  • Fail to connect database using UNC path

    I have encoutered problem to connect sample database which is located at share drive such as J: drive.
    I setup up the environment at follow:
    The database is save at J: drive such as J:\xtreme.mdb
    I use crystal report 2008 to create report template and the database location is J:\xtreme.mdb
    [http://i105.photobucket.com/albums/m229/kenkit/diagram1.jpg]
    Then, I published the report into CRS2008. While I preview the report. I got the error message
    "The database logon information for this report is either incomplete or incorrect. "
    The report database configuration is at below:

    crosspost

  • Fail to connect database using network drive

    I have encoutered problem to connect sample database which is located at share drive such as J: drive.
    I setup up the environment at follow:
    The database is save at J: drive such as J:\xtreme.mdb
    I use crystal report 2008 to create report template with sample database which is location at J:\xtreme.mdb
    [http://i105.photobucket.com/albums/m229/kenkit/diagram1.jpg]
    Then, I published the report into CRS2008. While I preview the report. I got the error message
    "The database logon information for this report is either incomplete or incorrect. "
    I am successful to map the network drive and open it.
    [http://i105.photobucket.com/albums/m229/kenkit/picture5.jpg]
    The report database configuration at CRS2008 is at below:
    [http://i105.photobucket.com/albums/m229/kenkit/picture2.jpg]
    [http://i105.photobucket.com/albums/m229/kenkit/picture3.jpg]
    In addition, I had already started SIA service with domain administrator account.
    [http://i105.photobucket.com/albums/m229/kenkit/picture4.jpg]
    So, anybody can give idea or suggestion to solve this problem?
    Edited by: Ken Hui on Apr 21, 2011 5:37 AM
    Edited by: Ken Hui on Apr 21, 2011 5:50 AM

    crosspost

  • Failed to load database information in Crystal 2011 using DB2 connection

    Hello,
    we have a Problem using Crystal Reports 2011 on SAP SBOP 4.0 SP2 Patch 10.
    BI 4.0 Server is running on AIX. The Datasource is an DB2 database a connect from the OS is possible.
    The x32 libarys of the DB2 client are availabe because the crystal 2011 reports server is running with 32 bit environment.
    While opening / executing the crystal 2011 report the following error occur: "failed to load database information".
    I've made a trace of crystal 2011 server with crlog. I found the following:
    2012-1-27-7-17-33       9371804 searchpath.cpp  379     Failed to load libcrdb_db2cli.so        1
    2012-1-27-7-17-33       9371804 qecommon.cpp    117     This value is write-only. File Name: "QEProperty.cpp". Line: 145       
    2012-1-31-13-8-23       9371804 QESession.cpp   445     Set Product View Locale: 1033   20
    2012-1-31-13-8-23       9371804 QESession.cpp   479     Set Preferred View Locale: 1033 20
    2012-1-31-13-8-23       9371804 QESession.cpp   501     Set Process Locale: 1033        20
    2012-1-31-13-8-23       9371804 qecommon.cpp    117     This property is currently in a read-only state and cannot be modified. File Name: "QEProperty.cpp".
    An ldd on the operating system says all libarys are availabe:
    bash-3.2$ ldd /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/libcrdb_db2cli.so
    /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/libcrdb_db2cli.so needs:
             /usr/lib/libC.a(shr2.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libetc.so
             /usr/lib/libC.a(ansi_32.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libBCM.so
             /usr/lib/libC.a(shr.o)
             /usr/lib/libC.a(shr3.o)
             /usr/lib/libc_r.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libcxlibw.so
             /usr/lib/libpthreads.a(shr_xpg5.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libOCAhelperw.so
             /home/boeadm/sqllib/lib32/libdb2.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libsatlw.so
             /usr/lib/libC.a(shrcore.o)
             /usr/lib/libC.a(ansicore_32.o)
             /usr/lib/libpthread.a(shr_comm.o)
             /usr/lib/libpthread.a(shr_xpg5.o)
             /usr/lib/libC_r.a(ansi_32.o)
             /usr/lib/librtl.a(shr.o)
             /usr/lib/libc.a(shr.o)
             /unix
             /usr/lib/libcrypt.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libTraceLog.so
             /usr/lib/libiconv.a(shr4.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicuuc.so
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicui18n.so
             /usr/lib/libdl.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libboez.so
             /usr/lib/libpthreads.a(shr_comm.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libebus.so
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libfssl.so
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/liblocale_fallback.so
             /home/boeadm/sqllib/lib32/libdb2osse.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2locale.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2g11n.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2osse_db2.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2genreg.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2install.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2trcapi.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2dascmn.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicudata30.so
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicuuc30.so
    bash-3.2$
    Does somebody have an idea where to search to get a solution for this error?
    PS: With Crystal for Enterprise 4.0 everything works fine, but the Crystal for Enterprise 4.0 services are running with 64 bit.

    Hello All,
    the Problem has been found by SAP. The Business Objects Server is searching for an env variable called LIBPATH32.
    By default this has not been set to the DB2 x32 Libary path by AIX or SBOP setup.
    We solved the issue by adding the following (LIBPATH32) into the file .profile
    The following three lines have been added by IBM DB2 instance utilities.
    if [ -f /home/boeadm/sqllib/db2profile ]; then
        . /home/boeadm/sqllib/db2profile
        LIBPATH32=/home/boeadm/sqllib/lib32:$LIBPATH32; export LIBPATH32
    fi
    After doing:
    bash-3.2$ cd /usr/sbop/sap_bobj/
    bash-3.2$ . setup/env.sh
    The path has been set correctly to the x32 libarys:
    LIBPATH32=/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/mw/:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/ras:/home/boeadm/sqllib/lib32::/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/mw//lib-aix4:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/mw//lib-aix4_optimized
    Kind regards
    Marc Reiter

  • Failed to open the connection - database vendor code 17

    I'm upgrading a VB.net Windows Forms application from 1.1 to 4.0.  In the reporting form, the list of reports you can choose are pulled from a folder where the .rpt files reside.  Once the user chooses a report and executes it, vb code populates the current database connection information and displays the report in the report viewer control.
    The following things are true:
    - Version 1.1 works on my systems and my customers systems
    - The code has not been changed, except that it now targets .Net 4.0 instead of 1.1
    - The exact same .rpt files are being used
    - Version 4.0 connects to the same database my customer is using, and I can run the reports just fine from here.
    - Version 4.0 is able to connect to the database just fine from my customers systems (using the same connection information provided to the report)
    - My customer installed this:  http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip
    The only problem is that my customer encounters this error when trying to run any report from his systems:
    Failed to open the connection.
    Details:  Database Vendor Code: 17
    Failed to open the connection.
    Orders.BOL.TaskDetail {393C9017-0ED1-4E1E-8824-E222F4B9D14C}.rpt
    Details:  Database Vendor Code: 17
    I read all of the articles I could find, and they either don't describe this exact situation, or there is insufficient information for troubleshooting this issue.  Are there steps that I've missed to make Crystal Reports for VS2010 work on my customer's systems?
    Your help is appreciated,
    Mark

    Hi Mark,
    More information required -
    - Does this happen with all reports or few?
    - What is the connection type used for the report to connect to the database (OLEDB,ODBC etc)
    - Are you changing the database at runtime?
    few things you could check
    - Check if the database is accaessible from the client machine with proper permissions / rights.
    - If its an ODBC connection check if the DSN with same name is created on the client machine.
    - Check the driver / provided used by the report to connect to the DB, verify that the same is installed on the client machine. (SQL NAtive client, SQL Server etc)
    Also take a look at below articles discussing the simillar issue.
    [CR for VS2010: Failed to Open Connection [Database Vendor Code: 17 ]|CR for VS2010: Failed to Open Connection [Database Vendor Code: 17 ]]
    [1474461 - Unknown Database Connector Error when connecting to a Dataset in a VS .NET application |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433373334333433363331%7D.do]
    Hope this helps,
    - Bhushan.

  • Failed to connect to database ONLY at the first time

    Hi all, I installed Discoverer 10g version and I'm using an Application User to connect to the server where's the Db is installed.
    Every time I try to connect to the server with Discoverer Viewer or Desktop I have a curious behavior....
    ALWAYS but ONLY the first time I try to connect I have the following error :
    - Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password.
    If I try to re-connect again the second time it works perfectly !!....so, I think, there's nothing related with my .dbc file.
    I tried also to write the ':' at the end of the user name....but it didn't work.
    Into the pref.txt file doesn't exist a parameter like DefaultUserTypeIsApps to set....
    Anybody have had the same "strange" behavior and found a solution or workaround ?
    Thanks in advance
    Alex

    Thanks for your answers first of all !
    At the end I found the solution looking at the Note:307167.1 on Metalink:
    Discoverer Plus 10.1.2 Fails with ORA-1017 Error On First Login Attempt Then Works On Second Attempt
    This note is very useful but into the solution the point 3 is not correct !
    3. Modify the servername parameter to indicate the fully qualified servername.domain
    Example:
    An httpd.conf setting of: ServerName my_servername.mydomain.com should match a Discoverer Plus URL like http://my_servername.mydomain.com:7778/discoverer/plus
    I had this problem both with Viewer and Plus...so instead to change the server name parameter (into the Apache/Apache/conf/httpd.conf file) with my complete URL (http://gnvdev.ote.gr:7779/discoverer/plus), I just write my right server name:
    Example
    After the installation of the Discoverer 1og server, into the httpd.conf file it was written automatyically: ServerName gnvdev
    I just modified in ServerName gnvdev.ote.gr and both Viewer and Plus started to work perfectly at the first time.
    I hope that this hint will be useful for you and others in the Discoverer forum !!!
    Best Regards
    Alex

  • EM Alert: Critical:PROD.test.edu.au - Failed to connect to database instanc

    HI Experts,
    Today i got this alert from oem grid during RMAN bakcup of the PROD database.when i try to connect the database i am able to get into to the DB successfully with out any issues.
    But i am not sure why this error has come and resone behind that.Please advise.
    From: Oracle OEM [mailto:[email protected]]
    Sent: Tuesday, February 22, 2011 11:21 PM
    To: DBA_GROUP
    Subject: EM Alert: Critical:PROD.test.edu.au - Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
    Target Name=PROD.test.edu.au
    Target type=Database Instance
    Host=delhi.win.test.edu.au
    Occurred At=Feb 22, 2011 11:20:33 PM EST
    Message=Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
    Severity=Critical
    Acknowledged=No
    Notification Rule Name=Database Availability and Critical States
    Notification Rule Owner=SYSMAN
    when i check the alertlog file i could see the following
    Tue Feb 22 23:01:36 2011
    Starting control autobackup
    Control autobackup written to DISK device
    handle '/oracledb/rman_backup/PROD/control_c-197342269-20110222-01'
    Tue Feb 22 23:22:42 2011
    Errors in file /oracle/admin/PROD/udump/hubprd_ora_27069.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01438: value larger than specified precision allowed for this column
    ORA-06512: at line 2
    PLease let me know the cause of the issues and solution to overcome this issues.
    Regards,
    Salai

    It would appear that your archive location is full. If it is full, then try to get some more free space there by either deleting the old archives or specifying a different location.
    I don't see any mention of a flash recovery area in the log message, but you may also want to confirm that you have reached your space allocated to the FRA.

  • Failed to connect to database

    Several days ago, I created a workbook with 5 worksheets in Discoverer Plus 9.02 against a 10g database. Everything worked fine until today when I tried to re-saved the workbook into the database. I saw the error message that said "Failed to connect to database". When I hit the OK button in the error message dialog box, my sessions were terminated. Again, the error happened whenever I tried to re-save the workbook into the DB. I didn't see such error before.

    Hi Andy,
    We are having a similar issue. We recently upgraded from 4.1.48 to 10.1.2.48.18. We are using Plus/Viewer. Imported workbook has several worksheets. Query runs but then receive an error stating 'Contact with the server has been lost...' I set the row retrievel to 20 rows but still get this error message.
    Have you found a resolution to this problem?
    Thanks in advance for any help.
    Barbara

  • 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

  • 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

  • OEM Grid "Failed to connect to database instance: ORA-03135

    Hello all,
    Did anyone know why we get the error in the OEM grid:
    Failed to connect to database instance: ORA-03135: connection lost contact (DBD ERROR: OCISessionBegin).
    We checked the listener and it is running fine. Can someone advice where to look? Thanks.

    Hello,
    1. I tried to ping to the grid control server, and it was successful. However when reviewing the emagent.trc trace file, I noticed the following error:
    SQL = "/* OracleOEM */ BEGIN :succ_sub := 0; dbms_aqadm.enabl"...
    LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mddbbanner8-vip)(PORT=1521))(CONNECT_DATA=(SID=PROD4)))
    2009-01-13 10:44:31 Thread-4113849248 ERROR recvlets.aq: Error enabling user dbsnmp for aq agent mddbbanner8_3872_PROD4 on PROD.loe.corp_PROD4: ORA-06550: line 1, column 65:
    PLS-00201: identifier 'DBMS_AQADM' must be declared
    ORA-06550: line 1, column 65:
    PL/SQL: Statement ignored
    2009-01-13 10:44:31 Thread-4113849248 ERROR recvlets.aq: unable to create subscription on oracle_database PROD.loe.corp_PROD4
    2. In the emdctl.trc trace file, I see these errors:
    2009-01-09 15:54:26 Thread-4136655072 WARN http: snmehl_connect: connect failed to (mddbbanner8:3872): Connection refused (error = 111)
    2009-01-09 15:54:26 Thread-4136655072 ERROR main: nmectla_agentctl: Error connecting to https://mddbbanner8:3872/emd/main. Returning status code 1
    3. Anyone experienced the same errors from 1 and 2 above? Any solution to this issue?
    Thanks.

  • Failed to connect to database instance: ORA-12541: TNS:no listener

    Hello -
    This is the error in grid alert:
    Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    But the test of connection string in database configure screen is successful. tnsping works too.
    Grid version: 11.2.0.1.0, no patches.
    Target database version: 10.2.0.2
    Connect string: (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = s08) (PORT = 1528))) (CONNECT_DATA = (SID = S08) (GLOBAL_NAME = S08.WORLD)))
    Any ideas?

    OK.. Are you testing the connectivity from "Preferred Credentials " setting page?
    Try to configure target from
    Targets-->databases--> then select your database and click on "configure" button.
    Enter all the details and press "Test Connection" button once it shows that connection is successful go to next page and finally save the setting.
    Let me know how it goes....

  • Database patched 10.2.0.3-10.2.0.4 Error on Grid Control :Failed to connect

    HI my patch was laready on 10.2.0.4 and just upgraded by databse from 10.2.0.3 to 10.2.0.4
    though database and listener and agent are up and running at the OS
    but on Grid Control I'm getting the error under
    'Agent'
    Failed to connect to database instance: ORA-01034: ORACLE not available.
    Any Idea guys
    Thanks
    Gagan

    I would check whether Oracle was still available. With the current state of Oracle software you never know.
    If Oracle was available I would try to use sqlplus to connect to the database using the dbsnmp account.
    If that works, it is SR time.
    As you don't specify any O/S information, it is difficult to tell you more, especially as some releases of Oracle on some processors are flaky, and Oracle can not always reproduce the problems in house.
    Sybrand Bakker
    Senior Oracle DBA

  • OIM Database Applications Table fails to connect via GTC - Weblogic, Linux

    Environment:
    OIM - 9100 (public download)
    Red Hat Linux
    XLADM Oracle 10g
    Weblogic 8.1 SP6 - no cluster
    I have installed the Database Application Connector and am trying to configure it via the Generic Technology Connector, but it keeps failing to connect. I know those parameters are correct and have validated via sqlplus \ SQLDeveloper. Also its the exact same database (not SID) that is hosting XLADM as well, so I know it can find the machine and such. I had another previous OIM on JBoss install locally on my Windows workstation that worked fine too. I can see in the log that the DBProvisioningTransportProvider is getting the props fine and then blows up when trying to connect. I have tried even updating the ojdb14.jar drivers in XELLERATE_HOME/ext and that doesn't matter. I'm sure it's something simple, environment related, or a bug. Any help is appreciated.
    DEBUG,16 Oct 2008 09:07:44,735,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName......
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],getProviderClassName--->
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider...providerName = DBProvisioningFormat
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......1
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......2
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......2
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......6
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName.....found provider.
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName....provider class name = ..com.thortech.xl.gc.impl.prov.DBProvisioningFormatProvider
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION], provider nameDBProvisioningFormat
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION], provider def attribnull
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION], provider parm, listnull
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION], provider resp codes{DB_LOAD_DRIVER_CLASS_ERROR=The target database JDBC driver class cannot be loaded}
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....com.thortech.xl.gc.impl.prov.DBProvisioningFormatProvider
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName......
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],getProviderClassName--->
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider...providerName = DBProvisioningTransport
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......3
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider name = WebServices
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider providername = DBProvisioningTransport
    DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider name = DBProvisioningTransport
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider providername = DBProvisioningTransport
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider name = DBProvisioningTransport
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider name = DBProvisioningTransport
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provider = provTransportprovider name = DBProvisioningTransport
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......6
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName.....found provider.
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName....provider class name = ..com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION], provider nameDBProvisioningTransport
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION], provider def attribnull
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION], provider parm, list[name: driver, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    , name: url, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    , name: username, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    , name: password, datatype: String, encrypted: true, type: Runtime.
    validValueList is following
    , name: connectionProp, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    , name: parentContainerName, datatype: String, encrypted: false, type: Design.
    validValueList is following
    , name: childContainerTableNames, datatype: String, encrypted: false, type: Design.
    validValueList is following
    , name: parentContainerUniqueKey, datatype: String, encrypted: false, type: Design.
    validValueList is following
    , name: statusField, datatype: String, encrypted: false, type: Design.
    validValueList is following
    , name: statusLookupCode, datatype: String, encrypted: false, type: Design.
    validValueList is following
    , name: dbDateFormat, datatype: String, encrypted: false, type: Design.
    validValueList is following
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION], provider resp codes{DB_GET_METADATA_ERROR=The target database schema detection failed, DB_UPDATE_CHILDRECORD_ERROR=A database error was encountered during a row update in a child table, DB_COL_DETECTION_ERROR=The column information of the database table cannot be detected, DB_UPDATE_EMPTY_RECORD_ERROR=Empty record cannot be updated. Please ensure to run reconciliation task to bring the systems in sync., DB_OP_NOTSUPPORTED=This operation is currently not supported, DB_TYPE_DETECTION_ERROR=The type of the database column cannot be detected, DB_LOAD_DRIVER_CLASS_ERROR=The target database JDBC driver class cannot be loaded, DB_FK_DETECTION_ERROR=The foreign keys of the database table cannot be detected, DB_CREATE_CHILDRECORD_ERROR=A database error was encountered when inserting data into a child table, DB_UPDATE_PARENTRECORD_ERROR=A database error was encountered during a row update in a parent table, DB_DELETE_EMPTY_RECORD_ERROR=Empty record cannot be deleted. Please ensure to run reconciliation task to bring the systems in sync., DB_CREATE_PARENTRECORD_ERROR=A database error was encountered when inserting data into a parent table, DB_CHILD_FK_ERROR=The child table does not have foreign keys that reference to the parent table, DB_ROWCOUNT_ERROR=A database error was encountered when retrieving the row count from a resultset, DB_DELETE_RECORD_ERROR=A database error was encountered when deleting data from a parent table, DB_DELETE_CHILDRECORD_ERROR=A database error was encountered when deleting data from a child table, DB_PK_DETECTION_ERROR=The primary keys of the database table cannot be detected, DB_PK_UPDATE_ERROR=The process form key field update is not supported}
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
    DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
    DEBUG,16 Oct 2008 09:07:44,737,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize entered.
    DEBUG,16 Oct 2008 09:07:44,737,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: driver - Value: oracle.jdbc.driver.OracleDriver
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: url - Value: jdbc:oracle:thin:MyIP:1521:MySID
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: username - Value: my_user
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: password - Value: *******
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: parentContainerName - Value: MY_USER_TABLE
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBReconTransportProvider/convertCSVToArraylist entered.
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBReconTransportProvider/convertCSVToArraylist - Data: Run Time Parameters - Value: []
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: childContainerTableNames - Value: []
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: parentContainerUniqueKey - Value: USER_ID
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: statusField - Value:
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: statusFieldLookup - Value:
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize left.
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: dbDateFormat - Value:
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/defineMetadata entered.
    DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBFacade/getConnectionProp entered.
    ERROR,16 Oct 2008 09:07:44,739,[OIMCP.DATC],Class/Method: DBFacade/getConnection encounter some problems: Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;Ljava.lang.ClassLoader;)Ljava.sql.Connection;(Unknown Source)
    at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
    at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:51)
    at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
    at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)
    at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95)
    at com.thortech.xl.gc.impl.common.DBFacade.getConnection()Ljava.sql.Connection;(Unknown Source)
    at com.thortech.xl.gc.impl.common.DBFacade.getMetadata()Ljava.sql.DatabaseMetaData;(Unknown Source)
    at com.thortech.xl.gc.impl.common.DBFacade.getDBType()Ljava.lang.String;(Unknown Source)
    at com.thortech.xl.gc.impl.common.DBFacade.getSchema(Ljava.lang.String;Ljava.lang.String;Ljava.util.ArrayList;)Lcom.thortech.xl.gc.impl.common.Schema;(Unknown Source)
    at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.getSchema()Lcom.thortech.xl.gc.impl.common.Schema;(Unknown Source)
    at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.detectMetadata()Lcom.thortech.xl.gc.vo.designtime.TargetSchema;(Unknown Source)
    at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.defineMetadata()Lcom.thortech.xl.gc.vo.designtime.TargetSchema;(Unknown Source)
    at com.thortech.xl.webclient.actions.CreateConnectorAction.getGenericAdapter(Lcom.thortech.xl.gc.vo.designtime.GenericAdapter;Lcom.thortech.xl.webclient.actions.CreateConnectorForm;Ljavax.servlet.http.HttpSession;Ljava.util.ArrayList;Lorg.apache.struts.util.MessageResources;)Lorg.apache.struts.action.ActionErrors;(Unknown Source)
    at com.thortech.xl.webclient.actions.CreateConnectorAction.imageScreen(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
    at com.thortech.xl.webclient.actions.CreateConnectorAction.goNext(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
            at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
            at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
            at com.thortech.xl.webclient.actions.tcActionBase.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
    ERROR,16 Oct 2008 09:07:44,739,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/defineMetadata encounter some problems: DB_GET_CONNECTION_ERROR
    com.thortech.xl.gc.exception.DBException: DB_GET_CONNECTION_ERROR
    at com.thortech.xl.gc.impl.common.DBFacade.getConnection()Ljava.sql.Connection;(Unknown Source)
    at com.thortech.xl.gc.impl.common.DBFacade.getMetadata()Ljava.sql.DatabaseMetaData;(Unknown Source)
    at com.thortech.xl.gc.impl.common.DBFacade.getDBType()Ljava.lang.String;(Unknown Source)
    at com.thortech.xl.gc.impl.common.DBFacade.getSchema(Ljava.lang.String;Ljava.lang.String;Ljava.util.ArrayList;)Lcom.thortech.xl.gc.impl.common.Schema;(Unknown Source)
    at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.getSchema()Lcom.thortech.xl.gc.impl.common.Schema;(Unknown Source)
    at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.detectMetadata()Lcom.thortech.xl.gc.vo.designtime.TargetSchema;(Unknown Source)
    at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.defineMetadata()Lcom.thortech.xl.gc.vo.designtime.TargetSchema;(Unknown Source)
    at com.thortech.xl.webclient.actions.CreateConnectorAction.getGenericAdapter(Lcom.thortech.xl.gc.vo.designtime.GenericAdapter;Lcom.thortech.xl.webclient.actions.CreateConnectorForm;Ljavax.servlet.http.HttpSession;Ljava.util.ArrayList;Lorg.apache.struts.util.MessageResources;)Lorg.apache.struts.action.ActionErrors;(Unknown Source)
    at com.thortech.xl.webclient.actions.CreateConnectorAction.imageScreen(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
    at com.thortech.xl.webclient.actions.CreateConnectorAction.goNext(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
            at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
            at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
            at com.thortech.xl.webclient.actions.tcActionBase.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
            at com.thortech.xl.webclient.actions.tcAction.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
            at com.thortech.xl.webclient.actions.CreateConnectorAction.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
            at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    Caused by [Nested Exception]:

    shouldn't the connect string look like jdbc:oracle:thin:@MyIP:1521:MySID ?

  • 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

Maybe you are looking for