Connecting to a database that's not in tnsnames.ora

Hi there,
I'm using Oracle 8.1.6/Apache/PHP & would like to be able to connect to a database that's not listed in the local tnsnames.ora (by local, i mean the machine that's serving the web pages).
Is this possible?
Thanks!

I'm not sure that you can use this in PHP/Apache, but when I used Oracle Enterprise Manager (which isn't ported to Linux so I had to use a different machine (NT/Solaris)) I used the format ipaddress:port:SID (ex.: 192.168.0.5:1521:cddata), where ipaddress is the address of your machine, port is the port number of the listener on the database (defulat is 1521) and SID is the SID of the database you want to access.
I hope this helps.

Similar Messages

  • Connection test to database failed: could not connect to server

    I restarted one of my HPOV NNMi 9.23 servers this morning and NNMi is no longer loading.  I am seeing the following errors in the logs indicated:
    /var/opt/OV/log/nnm/public/nmsdbmgr.log
    04/06/2015 09:28:05 AM Connection test to database failed: could not connect to server: Connection refused
    Is the server running on host "127.0.0.1" and accepting
    TCP/IP connections on port 5432?
    /var/opt/OV/log/nnm/public/postgres.log
    2015-04-06 09:25:55.312 EDT: :8580:0LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
    2015-04-06 09:25:55.312 EDT: :8580:0WARNING: could not create listen socket for "localhost"
    2015-04-06 09:25:55.312 EDT: :8580:0FATAL: could not create any TCP/IP sockets
    I checked /etc/hosts and found the following entry:
    #; Local
    127.0.0.1 localhost
    From the command line I can ping localhost with no issue.  Not sure why NNMi is not starting at this point. 
    This question was solved.
    View Solution.

    I also attempted to do a reset using nnmresetebdb.ovpl.  I recieved the following:
    Attempting to reset the embedded database...
    Starting nmsdbmgr process for database reset...
    nmsdbmgr process did not restart successfully - please try reset again.
    When I run ovstart -c I receive the following:
    Name PID State Last Message(s)
    OVsPMD 29831 RUNNING -
    pmd 29832 RUNNING Initialization complete.
    nmsdbmgr - NOT_RUNNING - Exit(1)
    ovjboss - UNSTARTABLE -
    nnmaction - UNSTARTABLE -
    ovspmd: Attempt to start HP OpenView services is complete.
    I definitely need some help with this please!  
    Thanks!

  • Error while creating connection pool "FATAL: database "null" does not exist

    Hi,
    Iam trying to create a XA connection pool using postgres driver (postgresql-8.3-603.jdbc3.jar) on Weblogic 8.1.6.0 from the Admin Console.
    I have provided the following info in the JDBC config
    Driver Class Name: org.postgresql.xa.PGXADataSource.
    JDBC URL: jdbc:postgresql://192.168.192.112:5432/sample1
    UserName: postgres
    Password: Postgres
    When i click Test Driver Configuration. Iam getting the following error
    "FATAL: database "null" does not exist"
    if i change the Driver Class Name to "org.postgresql.Driver", it is working fine. But as iam trying to create XA datasource i need to use the XA Driver class name.
    Can someone tell me how to resolve this issue ?
    The postgres version iam using is 8.3.1

    Hi Joe,
    The driver is in the classpath.
    Please find the stack trace.
    org.postgresql.util.PSQLException: FATAL: database "null" does not exist
    at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(Conn
    ectionFactoryImpl.java:444)
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
    ctionFactoryImpl.java:99)
    at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactor
    y.java:66)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Conn
    ection.java:124)
    at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Conn
    ection.java:30)
    at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
    at org.postgresql.Driver.makeConnection(Driver.java:386)
    at org.postgresql.Driver.connect(Driver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.
    java:83)
    at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:
    47)
    at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:
    32)
    at weblogic.management.console.utils.JDBC.testConnection(JDBC.java:185)
    at weblogic.management.console.actions.mbean.JDBCConnectionPoolTestActio
    n.prePerform(JDBCConnectionPoolTestAction.java:114)
    at weblogic.management.console.actions.mbean.DoMBeanWizardAction.perform
    (DoMBeanWizardAction.java:215)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(A
    ctionServlet.java:182)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(Act
    ionServlet.java:86)
    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(ServletStubIm
    pl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:7047)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3902)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2773)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

  • C# error when connecting to ldap server that does not exist

    When using Novell.Directory.Ldap.dll and making a connect to an ldap
    server which does not exists i'm getting the following error:
    Connection.freeWriteSemaphore(-2): semaphore not owned by any thread
    Im using this to connect: conn.Connect(ldapHost, ldapPort);
    This error is not catched by LdapException. Can anyone tell me if this is
    a bug or do I have to do something different.

    Hi. I'm using version 2.1.11 of the NDK for CSharp. I'm getting this
    same error message:
    Code:
    Connection.freeWriteSemaphore(-2): semaphore not owned by any thread
    at Novell.Directory.Ldap.Connection.freeWriteSemaphor e(Int32 msgId)
    at Novell.Directory.Ldap.Connection.connect(String host, Int32 port, Int32 semaphoreId)
    at Novell.Directory.Ldap.LdapConnection.Connect(Strin g host, Int32 port)
    at TestLDAP.Program.Main(String[] args) in D:\Documents and Settings\tjbuege\my documents\visual studio 2010\Projects\TestLDAP\TestLDAP\Program.cs:line 20
    This occurs when I try to bind to a server that does not exist. Here
    is my sample source code that generates that error:
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Novell.Directory.Ldap;
    namespace TestLDAP
    class Program
    static void Main(string[] args)
    LdapConnection conn = null;
    string host = "server.does.not.exist.com";
    int port = 389;
    try
    conn = new LdapConnection();
    conn.Connect(host, port);
    catch (Exception ex)
    Console.WriteLine(ex.Message);
    Console.WriteLine(ex.StackTrace);
    if (conn != null)
    conn.Disconnect();
    Is there a fix for this? It makes this library useless for me.
    Thanks,
    Tim
    tjbuege
    tjbuege's Profile: http://forums.novell.com/member.php?userid=108957
    View this thread: http://forums.novell.com/showthread.php?t=365082

  • Can't connect to my database problem with listener or tnsname help urgent

    Hi here are the problems i get
    sqlplus scott/tiger@CHUCKY
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 13:51:24 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Here is my config :
    ID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = CHUCKY)
    (ORACLE_HOME = /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1)
    (SID_NAME = CHUCKY)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.1)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    # tnsnames.ora Network Configuration File: /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1//network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    CHUCKY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CHUCKY)
    (INSTANCE_NAME = CHUCKY)
    (GLOBAL_NAME = CHUCKY)
    (HS = OK)
    I can't figure out what's wrong I have created database with dbca script giving
    sid=chucky
    globaldb name = chucky.rss-global.com
    I don't know what to do
    lsnrctl services listener
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-MAR-2006 13:54:41
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.1)(PORT=1521)))
    Services Summary...
    Service "CHUCKY" has 1 instance(s).
    Instance "CHUCKY", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    Oracle is started and the listener too.What can i do?

    Ok I have changed environment rules
    oracle@debian:~$ env|grep ORACLE
    ORACLE_SID=CHUCKY
    ORACLE_BASE=/home/oracle
    ORACLE_HOME=/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/
    But now even if i connect
    oracle@debian:~$ sqlplus SCOTT/tiger@CHUCKY
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 15:30:37 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    or
    oracle@debian:~$ sqlplus SYS/tiger@CHUCKY as SYSDBA
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 15:31:15 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    I am not sure but I think scott user is maybe locked by default.
    The problem to verify that is that I can't connect no more to oem, I only could the first time after creating CHUCKY database with emca .
    Connection refused, my computer doesn't make a listen on theses addresses, it only made a listen on it the first time I had created database.
    I don't know to reactivate it .
    http://localhost:5500/em
    http://localhost:1158/em
    iSQL*Plus HTTP port number =5560
    Enterprise Manager Console HTTP Port (test) = 1158
    Enterprise Manager Agent Port (test) = 3938
    Enterprise Manager Console HTTP Port (chucky) = 5500
    Enterprise Manager Agent Port (chucky) = 1830
    So I don't know exactly what the problem is oem is no more accessible so I can't change permission or reactivate scott user and it is said permissions denied when doing sqlplus as sysdba.

  • Connect to database with SQL*Plus: is TNSNAMES.ORA used?

    Hi ,
    we have a local database called DEV01 and a duplicate of this database in a datacenter. To be able to connect to both databases the TNSNAMES.ORA
    on the local database server (not the one in the datacenter) has the following entries:
    /* Entry for local database */
    DEV01_local, DEV01_local.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = server01)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SID= DEV01)
    /* Entry for database in datacenter */
    DEV01,DEV01.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = server02)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SID = DEV01)
    When I connect to the local database server I set the Oracle-environment as follows:
    export ORACLE_SID=DEV01
    export PATH=/opt/oracle/app/oracle/product/9.2.0/bin:$PATH
    export ORACLE_HOME=/opt/oracle/app/oracle/product/9.2.0
    Now I start SQL*Plus as follows:
    oracle#> sqlplus user/user
    SQL> select instance_name, host_name from v$instance;
    INSTANCE_NAME    HOST_NAME
    DEV01            server01
    Since the SID is on both databases the same (DEV01) I really do not understand how Oracle decides to which database SQL*Plus connects to.
    Is it a matter of the entries in the TNSNAMES.ORA?
    But when I start SQL*Plus as follows:
    oracle#> sqlplus user/user@DEV01_local
    SQL> select instance_name, host_name from v$instance;
    INSTANCE_NAME    HOST_NAME
    DEV01            server01
    or
    oracle#> sqlplus user/user@DEV01
    SQL> select instance_name, host_name from v$instance;
    INSTANCE_NAME    HOST_NAME
    DEV01            server02
    everything is as expected.
    Does anybody know which database gets chosen when just connect with "sqlplus user/user" (without @DEV01 or @DEV01_local)?
    Any help will be appriciated!
    Rgds
    Jan

    Both databases have the SID=DEV01.
    The ORACLE_SID is set to DEV01 - but when connecting I end up at
    oracle#> sqlplus user/user
    SQL> select instance_name, host_name from v$instance;
    INSTANCE_NAME    HOST_NAME
    DEV01            server01
    which is the database with the TNSNAMES.ORA entry "DEV01_local, DEV01_local.WORLD = ..."
    In your case the one defined by ORACLE_SID environment variable => but which from both is it?

  • Not able to use ipad i cant get the passcode off its just saying connect to itune and that's not working

    not able to get passcode off its doing nothing. it s just say connect to itune and it want do that so i guess i will send it back

    You can't remove the Passcode if you can't remember it.
    You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the iPad.
    Instructions can be found here.
    http://support.apple.com/kb/ht1212
    You will probably need to restore using Recovery Mode. You can read about it here.
    http://support.apple.com/kb/ht4097
    Or you can follow these Recovery Mode Instructions
    Disconnect the USB cable from the iPad, but leave the other end of the cable connected to your computer's USB port.
    Turn off iPad: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for iPad to turn off.
    If you cannot turn off iPad using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the iPad turns off, release the Sleep/Wake and Home buttons.
    While pressing and holding the Home button, reconnect the USB cable to iPad. When you reconnect the USB cable, iPad should power on.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears you can release the Home button.
    If necessary, open iTunes. You should see the recovery mode alert that iTunes has detected an iPad in recovery mode.
    Use iTunes to restore iPad.

  • List users of specific databases that are not using the default storage quotas

    I have an Exchange 2010 SP3 DAG with 4 databases. I am trying to use powershell to find out, per database, which mailboxes are
    not using the "mailbox database defaults", which is unlimited in this case (no quotas for Issue warning, Prohibit send, and Prohibit send and receive).
    Something like "get-mailbox | where  {$_.UseDatabaseQuotaDefaults -ne $true} will not work because I just want the data for specific databases".
    I have also tried "get-mailbox -database nameofdatabase | where {$_.UseDatabaseQuotaDefaults -ne $true} | out-file c:\temp\nameofdatabase.tx" but it lists some users that show unlimited for all categories and others some that have limits on certain
    other ones. In short, it is not correct.
    HDL

    Hi,
    From your description, I would like to clarify the following thing:
    Running the Get-Mailbox -Database MBX1 | Where-Object {$_.usedatabasequotadefaults -eq $false} cmdlet will list all mailboxes who have a custom storage quota. But it only displays the value of ProhibitSendQuota. You can check the values of other storage
    quotas via EMC.
    EMC -> Recipient Configuration -> Mailbox -> double click the mailbox -> Mailbox Settings -> Storage Quotas
    Hope my clarification can be helpful to you.
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Amy Wang
    TechNet Community Support

  • Rsh - connecting using user name that does not exist on remote computer

    hi
    is it possible to connect to a remote computer as, for example John, if user account John does not exist on the remote computer but is listed in .rhosts?
    this is what i have written in .rhosts on the remote computer ( Work ):
    home root
    home John
    when I connect as root:
    rlogin -l root Work
    everythings fine, but when I try to connect as John I get the incorrect login message
    I know the message above probably answers my question, but I want to be sure

    If the user id exists, you can bypass the authentication with .rhosts or /etc/hosts.equiv files; but you can't login to a remote machine as an anonymous user.

  • HT1212 my grandson forgot his password and it says it is disabled and we cannot get it unlocked - says to connect to itunes but that does not do anything except tell me we need to enter the password Help please

    my grandson forgot his password for his ipod 3 and it says disabled connect to itunes > when we connect it to itunes it just says to enter the password and we need suggestions on how to unlock it > right now it will not let us go to any screen to put in a code to try to unlock it
    thanks
    Pam

    Try Recovery Mode.
    Read this: http://support.apple.com/kb/ht1808

  • How tow connect two external displays that are not mirrored and turn of the retina display

    Hello,
    I have two questions:
    1.  Is it possible to use two external displays either mirrored or not and turn off the retina display, and if so how it is done?
    2.  Is it possible to close the MBP and use an external keyboard while using two external displays?
    I am using a music production DAW Persons Studio One-2 Pro and it would be great to be able to have this type of a setup.
    Thank You,
    Breezinabout
    Macbook Pro  15" Retina display I7 2,3mz 500gb SSD late 2013  OSX Yosemite 10.10.1

    Hi Breezinabout,
    The MacBook Pro Late 2013 retina display model will support two external displays. See this specifications page for reference -
    MacBook Pro (Retina, 15-inch, Late 2013) - Technical Specifications
    Specifically -
    Dual display and video mirroring: Simultaneously supports full native resolution on the built-in display and up to 2560 by 1600 pixels on up to two external displays, both at millions of colors
    And -
    Thunderbolt digital video output
    Native Mini DisplayPort output
    DVI output using Mini DisplayPort to DVI Adapter (sold separately)
    VGA output using Mini DisplayPort to VGA Adapter (sold separately)
    Dual-link DVI output using Mini DisplayPort to Dual-Link DVI Adapter (sold separately)
    HDMI video output
    Support for 1080p resolution at up to 60Hz
    Support for 3840-by-2160 resolution at 30Hz
    Support for 4096-by-2160 resolution at 24Hz
    You would, if you wish, turn off the internal display by closing the MacBook Pro, which is called "closed-clamshell" mode. It requires you to have an external keyboard and mouse. See this article for further information -
    How to use your Mac notebook computer in closed-clamshell (display closed) mode with an external display - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Visualadmin tool connecting till 99 % after that not connecting in nw7.01

    Hello Gurus,
    In my system when im trying to connect visualadmin tool its connecting till 99 % after that its not connecting,at bottom line its
    showing connecting......my os is hp-unix and my database is oracle and application is crm 7.0/nw 7.1 .Please help me to solve
    this issue...
    Thanks&Regards,
    vali

    Hello Sunny,
    very sorry for late reply,could you please tell me from which option in config tool cai check this parameters and which value i
    have to give to this parameter?
    Thanks
    PEERVALI

  • I bought my ipod touch from usa...and the wifi does not connect.does it have something to do with that its not from india?

    I bought my ipod touch from usa...and the wifi does not connect.does it have something to do with that its not from india?

    So you have tried connecting to open network that do not require a password and it was still unable to connect?  If that is the case.
    Does Wifi appear grayed out on your iPod via Settings -> Wi-fi?
    Have you seen this article yet?
    http://support.apple.com/kb/TS1398
    B-rock

  • Bluetooth problem - Cannot Connect to Device that is not copyright protected SCMS-T Method

    I have a Qosmio X875-5280 which has a bluetooth adapter. I also have a bluetooth device which is an adapter for a Bose Sounddock such that the device allows the Sounddock to receive the bluetooth audio stream from the laptop -- at least that is how it worked until recently. Diagnostics show that both the bluetooth adapter and the bluetooth device are working. When trying to connect to the device, I now get "connection failed" message or the message "You cannot connect to a device that is not copyright protected by SCMS-T method." It seems the Toshiba bluetooth stack is responsible for this, however, I fail to see why a device which is acting like headphones fails to connect now. I have Windows 7 64 installed. I have uninstalled all of the bluetooth drivers and re-installed them several times. Attached is a pdf file which shows all messages and settings relevant to the issue.
    Attachments:
    bluetooth messages.pdf ‏158 KB

    See the solution I proposed some time ago here.  
    -Jerry

  • 11gR2 Install Error, Listener is not up or database service is not registered with it

    Hi all,
    I'm currently studying towards my OCA, I've passed 1z0-051 (SQL Fundementals I), and now I'm moving onto 1z0-052 (Admin 1).
    Im really having trouble creating a database in Oracle 11g R2 Enterprise Edition. I install the software no problem. Then I create a database, and during the creation I have to createsa listener which uses TCP (default port:1521) and IPC. whilst creating the database I get the following error
    'Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM configuration Assistant again.'
    Now, before you lynch me, I have searched this forum for answer to this for a day and a half. I've also tried google, i just can't find a answer that sorts out my problem. please assist me.
    I'm running on Windows 7 Professional (32bit) (I have previously tried on the 64 bit version with teh same results).
    Here's teh contents of my listener.ora file:
    # listener.ora Network Configuration File: C:\app\Damien\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\Damien\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Damien\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = ipc))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.4)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = C:\app\Damien
    Here's the contents of my tsnames.ora:
    # tnsnames.ora Network Configuration File: C:\app\Damien\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Here is the last fe lines of my emConfig.log:
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Damien\product\11.2.0\dbhome_1, and user: SYSMAN
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1903)
    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3230)
    at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
    at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
    at java.lang.Thread.run(Thread.java:595)
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    Refer to the log file at C:\app\Damien\cfgtoollogs\dbca\orcl\emConfig.log for more details.
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3245)
    at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
    at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
    at java.lang.Thread.run(Thread.java:595)
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\Damien\product\11.2.0\dbhome_1\oui
    My Listner status output is here:
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-JAN-2014 10:14:39
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ipc)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                18-JAN-2014 09:27:34
    Uptime                    0 days 0 hr. 47 min. 6 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\Damien\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\app\damien\diag\tnslsnr\LONDON\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\ipcipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.4)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    I can login as sys into my database through sqlplus, so it seems the database is up and running, it just seems to be a listener problem maybe??
    Many thanks for any assistance that you give. I'm learning so be gentle...
    Damien

    SOLVED!
    OK all solved now, thanks to the link to Ed Stevens website that Baris posted (mucho respect )
    Seems that like Barus said I was not using Dynamic Registration, which means that I would need to manua
    ly update the listerner.ora file. On top of that it seems that for some my tnsnames.ora wasn't resolving mt database name so the tnsping wasfailing.
    What I did to solve the name resolution problem
    1. Opened the
    Network Configuration Assistant and saw that my listener didnt have my DB registered with it. So I added it. What this horrible GUI tool does is update the tnsnames and listener.ora files for you. So once that was done I went to the command prompt and did ;'tnsping <dn name> and hey presto it was getting a nice response.
    Then I re-ran my DB Configuration Assistant and tried to reconfigure my database. However it aing failed and gave me the same message that I was originally getting about the DB Service not being registered etc..the lister status still said that same thing:
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    the 'unknown' means that the DB  didnt tell the listener that it was there but instead the listener is in manual mode and will just use the configuration in the listener.ora to know where the DB is.
    So then I followed the steps on the ED Stevens website (follow the link). He has steps which show how to enable Dynanmic registration so that your DB regusters itself with the listener. In a nutshell, he states that he listener actually doesnt need the listerner.ora if using dynamic registration. I shutdown the DB, stopped the listener then I renamed the lsitener.ora to listerner.old, then started the lietener and checked the status and it said 'the listener supports no service' I then started the DB and, then resched teh listener status, it then read 'status: READY'... hooray!, the DB had dynamically registered itself with the listener. I then was able to successfully start up and run Enterprise Manager.
    Thanks for all your help Baris, and Ed Steven website.
    I know more now than when I started so I'm happy.
    Thanks.

Maybe you are looking for

  • Reports 6i and Web Wizard

    Hi All, I am developing reports for web using Report 6i. When I use web wizard to create html output (option - Generate HTML stylesheet output now). Everything fine except there is gap (10-12 blank lines) between pages. I need your help in getting ri

  • Function module to know in which EHP is the system

    Hi, I am trying to find a Function Module which give me the release in which the system is. I need to know if it is ehp3 or ehp4. I know that I could use table CVERS. But I would like to know if the package is active or inactive. Thanks, Alejandro

  • Where to update Corruption Perception Index for Customer/Vendor (3rd Party)

    Hi all, Please guide me where (tcode/function) to update Corruption Perception Index (CPI) for Customer/Vendor (3rd Party) according to his Country. Thanks Chan Phuong

  • My iMac suddenly goes to sleep

    My I hear some views why my iMac (intel core duo2) goes to sleep suddenly, i.e., even just say browsing the web or doing this message. Thank You.

  • IDoc Extension not getting picked up in ALE

    Hi. We have created an extension of the type BOMMAT. We are using RBDSEBOM via SE38 to generate IDocs. We have coded in Extension,generated a Cust Distri Model, and also the Partner Profiles. In the Partner Profiles We have entered the basic type as