Suddenly getting ORA-12514 error Oracle 11gr2

I installed Oracle 11g r2 fine, had 2 databases (se3 and mydb, both have db_domain .orcl i.e. mydb.orcl and se3.orcl) running on it fine till yesterday. but suddenly im getting ORA-12514 error (TNS:listener doesn't know of service requested in connect descriptor)..
My tnsnames.ora file:
# tnsnames.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_MYDB =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
MYDB =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = mydb.orcl)
SE3 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = se3.orcl)
LISTENER_SE3 =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
and my listener.ora file is as follows:
# listener.ora Network Configuration File: G:\oracledb\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 = G:\oracledb\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = G:\oracledb
* i have both of databases up and running(confirmed through administration assistant), the listener is up.. im able to execute "tnsping mydb/se3".. i'm not able to connect to either one of them through sqlplus/sql developer.. The result of "lsnrctl service" is as follows:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
  Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0
         LOCAL SERVER
The command completed successfully
PLEASE HELP ME FRIENDS!! I HAVE A PROJECT DUE IN EARLY OCTOBER

Hi,
Instead of this:
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
have the following in your listener file
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
   (SID_DESC =
      (SID_NAME = mydb)
      (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
    (SID_DESC =
      (SID_NAME = se3)
      (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)   
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
Also, dont have 'localhost' in your listener.ora file, provide the actual IP or hostanme. NEVER YOU should have
localhost.
Restart listener and try.
Thanks &
Best Regard,

Similar Messages

  • Suddenly getting ORA-12514

    Hi
    I am parsing an XML file and trying to store data into oracle 10g.
    My connection string is :
    Connection c = DriverManager.getConnection("jdbc:odbc:Oracle-DB","scott","tiger");
    But suddenly I am getting error like ORA-12514. below is the stack trace for the same.
    Please help me. Couldnt really figure out why this happens.
    This is not actually a parsing error since I can parse the XML file correct.
    Thanks in advance....
    java.sql.SQLException: [Oracle][ODBC][Ora]ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3073)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:323)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at xdconvert.MyConnection.getConnection(mainForm.java:331)
    at xdconvert.mainForm.main(mainForm.java:249)
    Root Element is:catalog
    Total Numbers of Nodes:5
    Text at Node articleis
    Text at Node titleis
    The active XML
    Text at Node articleis
    Text at Node authoris
    Julie Basu
    Text at Node articleis
    Text at Node articleis
    Text at Node titleis
    The Active Database
    Text at Node articleis
    Text at Node authoris
    Cameron ORourke
    Text at Node articleis
    java.sql.SQLException: [Oracle][ODBC][Ora]ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3073)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:323)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at xdconvert.MyConnection.getConnection(mainForm.java:331)
    at xdconvert.xmlTodb.btnConvertActionPerformed(xmlTodb.java:228)
    at xdconvert.xmlTodb.access$200(xmlTodb.java:61)
    at xdconvert.xmlTodb$3.actionPerformed(xmlTodb.java:147)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    Please in the future, first of all look up the error message in the online documentation, even before posting this error yet again, showing you didn't try to figure out what happened.
    The error message implies
    service_name in tnsnames.ora != service_name of the database.
    Make sure both service_names match.
    Sybrand Bakker
    Senior Oracle DBA

  • 10g stopped working after 11g installed. Getting ORA-12514: error

    I had Oracle 10g installed in win2000 sp2. with port 1521.
    I have installed Oracle 11g on the same system. with port 1522.
    I am able to start both the instances and tnslistener but I am not able to connect to Oracle10g database. Getting following error.
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I have done the following check.
    c:\> tnsping tek10g
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 14-MAR-2
    008 13:04:26
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\app\mmurugai\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = PC456)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = tek10g) (SRVR = DE
    DICATED)))
    OK (50 msec)
    2) Checked lsnrctl services
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PC456.SYNTELORG.COM)(PO
    T=1522)))
    Services Summary...
    Service "orcl11g" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    Service "orcl11gXDB" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: PC456, pid: 284>
    (ADDRESS=(PROTOCOL=tcp)(HOST=PC456.SYNTELORG.COM)(PORT=2963))
    Service "orcl11g_XPT" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    LSNRCTL>
    I am not able to see my tek10g 10g database details.
    I also checked my tnsnames.ora file which has the entries properly.
    Sqlnet.ora file has
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    How to solve this issue? Is that possible to run oracle 10g and oracle 11g in same host?
    Thanks in Advance...
    regards,
    Manikandan

    The approach I would take, in general is:
    1) pick a listener, and only one. Get that working.
    2) Make sure all the databases register to that listener
    3) Fix the TNSNAMES.ORA files appropriately.
    To fix the listener
    1) Verify the listener address matches the current environment
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)     << - MUST point to correct HOME
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
          (ADDRESS = (PROTOCOL = TCP)(HOST = myHOST)(PORT = myPORT))
      )where
    myHOST is this host's resolvable name or IP address
    myPORT is the port (default 1521) that the listener should monitor
    The HOST is often a problem if the machine uses DHCP.
    2) Register the databases
    On startup, database will auto-register to the listener defined in the init parameter 'LOCAL_LISTENER', which defaults to 'HOST={current_host}, PORT=1521'
    After startup, if the listener is taken down, you can register each database manually using the DBA command
    ALTER SYSTEM REGISTER;
    Either way, it should show up in the output of 'lsnrctl status'
    While you are accessing the database, you might want to find out which services the database supports. That can be done in SQLPlus using the command
    SHOW PARAMETER SERVICE_NAMES
    Note that the database name is the default service name.
    3) Fix [all] the TNSNAMES.ORA file[s].
    Each SERVICE_NAME from the previous list that you want to access from this client, yu should find an entry that looks like
    myTEST =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = myHOST)(PORT = myPORT))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mySERVICE)
    myTEST is the alias I want to look up by using it as the connect target string.
    myHOST should match the HOST= entry in the LISTENER.ORA
    myPORT MUST match the PORT= entry in the LISTENER.ORA
    mySERVICE is the Service to which I am asking the listener to connect me, as found in the lsnrctl status output

  • Getting "ORA-12514 error" while connecting first time

    Hi,
    Getting below error while connecting to the database first time.
    ORA-12514: TNS:listener does not currently know of service requested in connect
    apludc01dat25:e2cmpc1 > tnsping ora37_ap
    TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 26-MAR-2012 12:00:58
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    /grid/product/crs/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = apl11764clu01-scan-oravip.nat.bt.com)(PORT = 61901)) (CONNECT_DATA = (SERVICE_NAME = ORA37_ap))
    OK (0 msec)
    apludc01dat25:e2cmpc1 > sqlplus
    SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:15 2012
    Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
    Enter user-name: outln@ora37_ap
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Enter user-name:
    apludc01dat25:e2cmpc1 > sqlplus
    SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:22 2012
    Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
    Enter user-name: outln@ora37_ap
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    SQL>
    Please help me out to resolve this issue.
    Thank you.
    Regards,
    Dasarath

    Hi,
    We are getting this error while connecting remotely.
    PFB output of listener status and services
    apl11764a001:ORA37a > lsnrctl services LISTENER_ORA37
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:06
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
    Services Summary...
    Service "ORA37_ap" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:2 refused:0 state:ready
    LOCAL SERVER
    Service "ORA37_ap_XPT" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:2 refused:0 state:ready
    LOCAL SERVER
    Service "ORA37aXDB" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: apl11764a001, pid: 25970>
    (ADDRESS=(PROTOCOL=tcp)(HOST=apl11764a001)(PORT=10862))
    The command completed successfully
    apl11764a001:ORA37a > lsnrctl status LISTENER_ORA37
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:20
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
    STATUS of the LISTENER
    Alias LISTENER_ORA37
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 26-MAR-2012 12:15:17
    Uptime 0 days 0 hr. 3 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /grid/product/crs/network/admin/listener.ora
    Listener Log File /grid/product/crs/log/diag/tnslsnr/apl11764a001/listener_ora37/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_ORA37)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.4)(PORT=62037)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.7)(PORT=62037)))
    Services Summary...
    Service "ORA37_ap" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Service "ORA37_ap_XPT" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Service "ORA37aXDB" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Thank you.
    Regards,
    Dasarath

  • Keep getting ora-12514 for client test TAF to primary or standby readonly

    I kept getting ora-12514 error while trying to access to the database.
    Edited by: 846422 on Dec 16, 2011 5:14 AM

    Hello;
    ( Consider a different service name, see my comment below )
    After you start the service
    exec dbms_service.start_service('hyrdev');
    I would expect you might set Several of the default parameters
    Ex.
    BEGIN
       DBMS_SERVICE.MODIFY_SERVICE
       ('hyrdev',
       FAILOVER_METHOD => 'BASIC',
       FAILOVER_TYPE => 'SELECT',
       FAILOVER_RETRIES => 200,
       FAILOVER_DELAY => 1);
    END;
    /Also your startup trigger is much different than anything I have seen.
    My Example (This was taken from the Oracle document and almost certainly pretested by Oracle, why change it?? )
    CREATE TRIGGER CHECK_ERNIE_START AFTER STARTUP ON DATABASE
    DECLARE
    V_ROLE VARCHAR(30);
    BEGIN
    SELECT DATABASE_ROLE INTO V_ROLE FROM V$DATABASE;
    IF V_ROLE = 'PRIMARY' THEN
    DBMS_SERVICE.START_SERVICE('hyrdev');
    ELSE
    DBMS_SERVICE.STOP_SERVICE('hyrdev');
    END IF;
    END;
    /There's another example here :
    http://uhesse.wordpress.com/2009/08/19/connect-time-failover-transparent-application-failover-for-data-guard/
    "lsnrctl status" will confirm if you are working.
    MY test
      Instance "TRAINING", status READY, has 1 handler(s) for this service...
    Service "ernie" has 1 instance(s).
      Instance "PRIMARY", status READY, has 1 handler(s) for this service...
    The command completed successfullyFrankly I would use a different alias than "hyrdev" because by using that you make it very difficult see the new service.
    Your Tnsnames.ora looks correct. Try using different service name.
    You can always delete it later :
      DBMS_SERVICE.DELETE_SERVICE('ernie');
    For additional details check Oracle Doc B14258-02 or B10802-01 and search for "DBMS_SERVICE"
    Finally, check this Oracle note :
    How to configure Client Failover after Data Guard Switchover or Failover [ID 316740.1]
    Best Regards
    mseberg
    Edited by: mseberg on Dec 15, 2011 3:48 PM

  • ORACLE XE ora-12514 error

    Hi all,
    I have installed the oracle xe in my windows xp machine. for some reason i have shut down the oracle and given "startup restrict" mode, but it is thrown the below mentioned error
    "SQL> startup restrict;
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor"
    please help me.
    Thanks

    The reason why this error shows is because oracle is self-registered against listener, so when it shuts down the listener deregisters the instance and any further attempt to contact it will result in an ORA-12514 error.
    Once the instance is restarted it will contact again the listener and will registers against it once more. This process will take no more than 60 seconds, but you can force it by issuing the command:
    ALTER SYSTEM REGISTER;
    ~ Madrid

  • TNS Listener -ORA-12514 error following database shutdown - Oracle 11g

    Hi
    I have hit a problem with my oracle development database.
    When in sqlplus I executed the shutdown command, but nothing happened for several minutes and it was just hanging. No messages were displayed to the screen. The only thing was to close the command window. When I open sqlplus again and enter in the user name password as sysdba I am getting ORA 12514 TNS Listener could not resolve service in descriptor. This is odd as I could log on before and use the database. So I thought that the services were still shutting down I waited, and using the Windows snap on tool for Oracle 11g, I restarted the services on the database, but this has had no effect.
    Even using EM made no difference because I couldn't log on to perform a startup or recovery.
    So, please does anyone know how I can fix this?
    Thanks

    user633278 wrote:
    Hi
    I have hit a problem with my oracle development database.
    When in sqlplus I executed the shutdown command, but nothing happened for several minutes and it was just hanging. No messages were displayed to the screen. The only thing was to close the command window. When I open sqlplus again and enter in the user name password as sysdba I am getting ORA 12514 TNS Listener could not resolve service in descriptor. This is odd as I could log on before and use the database. So I thought that the services were still shutting down I waited, and using the Windows snap on tool for Oracle 11g, I restarted the services on the database, but this has had no effect.
    Even using EM made no difference because I couldn't log on to perform a startup or recovery.
    So, please does anyone know how I can fix this?
    open Command Window & do EXACTLY as below; line for line
    sqlplus
    / as sysdba
    shutdown abort
    startup
    exit
    COPY command & results from above then PASTE all back here

  • ORA-12514 Error in remote office

    I installed and created a 10g (rel2) database while connected to my office's network. Because my company uses DHCP I had to create a loopback connector and give it a fixed IP address. Everything went as expected.
    Now I've travelled to a remote location and, even though the Oracle instance is on my laptop, I'm getting an ORA-12514 error (TNS:listener does not currently know of service requested in connect string). I'm using Windows XP Pro and this is what I get from doing a lsnrctl status:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-JAN-2008 14:29:25
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    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
    This is my listener.ora file:
    # listener.ora Network Configuration File: C:\Ora10gHomes\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\Ora10gHomes\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521))
    As you can see, it isn't creating a service for anything other than the EXTPROC entry. I tried doing a TNSPING on the SID (LAKOTA) and got this:
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 14-JAN-2
    008 14:24:50
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Ora10gHomes\DevSuiteHome\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = lakota.cgifederal.com)))
    OK (40 msec)
    So now I'm stumped. I've tried stopping and starting the listener, but nothing changed. Is it because I'm physically connected to a different network than when I installed the software and created the database? If that's the case, is there a work-around because I'm going to be travelling a LOT more than I'm going to be in the home office and I need access to my oracle instance no matter where I am or what backbone I'm connected to. Any and all assistance gratefully appreciated.
    Leigh Smith

    You are trying to connect to a service named: lakota.cgifederal.com but from the output of the listener status it can be seen that the instance has not yet been registered against the listener. Your listener is at 1521 port, this means that can be self registered against it. Just make sure your instance is started.
    There is a command to force instance registration, it is from the sql command prompt connected with either sys or system issue: alter system register Automatic instance registration should take less than a minute, if after the time has expired and issuing the command don't work, then if required, instead of relying on automatic instance registration, you can change it to be manually configured. You can do this from the network manager.
    ~ Madrid

  • Ora-12514 error - please help

    Hi,
    I get this error and i really don't know what to do..
    C:\Documents and Settings\Sorin>sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 2 19:03:43 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> conn system/password@scoala
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptorCan you advise me of what to do?
    Edited by: Roger22 on 02.07.2011 19:05

    Roger22 wrote:
    Yes, probably they have been asked (e.g. ora-12514 error) and i already have googled it. But maybe i have a problem that i did not found already on google or on this forum. And maybe here i can get helpThis particular error is not arcane or difficult to debug. Did you read the link I gave you? There's really only 3 steps
    on the client - tnsping - to see where the connection request is going and what service is being requested.
    on the server - lsnrctl - to see what services the listener supports.
    If the listener supports no services, the database needs to be register itself with the listener.

  • ORA-12514 Error when using Net Configuration Assistant

    I have recently installed Oracle 11g on a Windows 2008 server and am now trying to connect via the Oracle client on my local machine.
    Here is how I've been using Net Configuration Assistant so far:
    Listener Configuration
    The name of my listener is LISTENER_PROXIMA (proxima is the name of the server). Does this need to be named something else? Something specific?
    I'm using TCP to connect.
    I'm using standard port 1521.
    Naming Methods
    Local Naming and Easy Connect Naming
    Local Net Service Name
    Service name is ADMI04 (checked this against the lsnrstl service status on the server and it's correct)
    Using TCP
    Using the hostname proxima.domain-name.com
    I'm attempting to connect as SYS (but have tried others with the same result)
    When I go to test the connection I keep getting the ORA-12514 error. Does anyone know what I should do? Reinstall the listener? If so, are there any suggestions or guidance for that?
    Thank you.

    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    =====================================

  • Getting ORA-01429 error while changing character set

    When I am changing character set from WE8DEC to AL32UTF8, I am getting ORA-01429 error
    SQL> ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8 ;
    ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01429: Index-Organized Table: no data segment to store overflow row-pieces

    Chockalingam wrote:
    I am using above steps as per oracle doc only.
    http://docs.oracle.com/cd/B10500_01/server.920/a96529/ch10.htm
    No, you are not.
    - You are not using the correct version doc vs. Oracle server version. Try to find the same suggestion in the relevant doc.
    - The doc you reference specifically says "... it can be used only under special circumstances. The ALTER DATABASE CHARACTER SET statement does not perform any data conversion, so it can be used +if and only if the new character set is a strict superset of the current character set+." (emphasis is mine)
    You do not have a strict superset.
    - Also the special clauses you have used are not documented - for a reason.
    Please edit your posts above to remove the ill-advice (steps with internal use only clauses) that does not belong on a forum.
    Edited by: orafad on Mar 16, 2012 9:47 PM

  • ORA-12514 error while connecting to server

    I am using instantclient to connect to Oracle 9i server.
    The connection string is given using this format
    //host:[port][service name].
    In our development environment we can successfully connect to the server. But the connection fails in the production environment giving ORA-12514 error. This occurs even when we copy the instant client dll's onto separate folder and set the library loading path to this folder.
    Can u please help me in resolving this problem.

    Vinay,
    Since you are using Windows, are you setting PATH (the lib loading path of Windows)?

  • Report suddenly showing ORA-20001: Error fetching column value: ORA-06502:

    Hi,
    Some reports in my applications are suddenly showing:
    ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    instead iof the data they used to show.
    In my development system I can fix this by:
    1. changing the column alias in my sql
    select 'a' alias1 from dual becomes
    select 'a' alias2 from dual
    2. SAVE CHANGES
    3. change column alias back to original
    select 'a' alias2 from dual becomes
    select 'a' alias1 from dual
    4. reorder columns back to original in the 'report attributes' tab
    alias1 is now at the bottom of my colum list - i just bounce it up to column 4 using the up arrows
    5. SAVE CHANGES
    then everything starts working OK again.
    There seems to be nothing wrong with my sql as I can make it works on a new page or after I run the above steps, so I guess something is breaking somewhere but I cannot work out what.
    Has anyone else seen this? Does anyone know the cause? Does anyone have a fix for this that does not involve the above steps (plus redeployment to prodcution and all the work that involves)?
    I am seeing this on version 2.3 and 3.0.
    Thanks,
    Martin

    Hi Scott,
    I think this is want you want (sorry it's not easy to read):
    wp.suite_id - Database Column NUMBER - Report Column Based on LOV
    wp.project_id - Database Column NUMBER - Report Column Based on LOV
    wp.application_order wp_order - Database Column NUMBER - Report Column Standard
    lpad(wp.work_package_id,5,'0')||' - '||wp.name wp_name - Database Column NUMBER/VARCHAR2 - Report Column Standard
    pt.application_order pt_order - Database Column NUMBER - Report Column Standard
    pt.name pt_name - Database Column VARCHAR2 - Report Column Standard
    substr(pt.description,1,30) description - Database Column VARCHAR2 - Report Column Standard
    pt.application_tier - Database Column VARCHAR2 - Report Column Based on LOV
    pt.application_method - Database Column VARCHAR2 - Report Column Based on LOV
    pt.TECH_LEAD_ID - Database Column NUMBER - Report Column Based on LOV
    This report has no link columns and no derived columns.
    Regards,
    Martin

  • Why am I suddenly getting the following error message: "The specified location is reserved by the operating system and is not permitted. Please choose a different location." I've been recording all night and I haven't changed any of the parameters.

    Why am I suddenly getting the following error message: "The specified location is reserved by the operating system and is not permitted. Please choose a different location." I've been recording all night and I haven't changed any of the parameters.

    Hi Tom,
    Looks like we have problem here as we see another blank post from you here. It's probably something to do with your email. Let me send you a PM with my email address and we can communicate that way.
    Thanks,
    Kevin

  • Oracle 8i, Getting ORA-1501 error while creating new DB

    Hi folks,
    I am trying create a new database on an HP Machine (Details given below) but getting following error.
    ORA-1501 - signalled during Create Database
    LOGFILE 'G:\logfiles\logaf1.ora'
    We actually have a custom application setup.exe to create new database.
    Same setup when installed on a different low end machine works fine.
    Before begining the setup in summary page it shows following information.
    Block buffer count = -3 Bytes
    Shared Pool Size = -41425 KBytes
    Yes the values displayed are in negative.
    Don't know if this is the reason for the ORA-1501 error.
    Can anyone please suggest how to resolve this issue.
    Machine configuration is as follows:
    H/W details:
    HP Server with RAID configuration
    4, PIII CPU's
    RAM: "4 GB"
    S/W details
    O.S:Windows 2000 Server with Service Pack-2
    Oracle Version: 8i
    Patch applied: Oracle8i Patch Set Version 8.1.7.3.0

    Try look to alert<SID>.log file for full error report (you could paste it here).
    Also from alert log you could get real values for db_block_buffers and shared_pool_size parameters that used during instance startup.

Maybe you are looking for

  • Zero Price Item In Shopping Cart - where is IR flag in Shopping Cart?

    HI, I am relatively new SRM user. I am interested in knowing how can I manually post the shopping cart with zero price to create a free of charge PO in back end? I believe there is IR flag in Shopping cart but I am not able to get where that IR flag

  • Want to reinstall OS X on old mac before sale.  How do I connect it to internet service (ATT 'fiber optics') without a cable?

    Want to sell old iMac.  It has been backed up, de-authorized with iTunes, and wiped with the 35-pass erase.  Now I want to reinstall OS X but no longer have an internet cable as we have gone from TWC to the ATT 'fiber optics' system since the old Mac

  • HT1438 price for repair my ipad2 screen

    My ipad fell from the bed, when I turn it on, the color was like mainly greenish rainbow on the whole screen. crap......... There's definitely something wrong with it. How much it takes to repair such problem? and how long time it takes?

  • Powerview print all content at a time

    while printing PowerView table, I am facing one problem i.e. If a table having much data (more than screen) that we have to scroll down, then I am not able to print it in one shot. As in PowerPivot, we have Excel sheet, it can grow as per the data. S

  • Auto-save didn't!!

    After nearly 4 hours of editing in PE7, I got the Windows XP error message telling me that the program had encountered a problem and needed to shut down. Just before that, I had clicked on the button to make a DVD. My first reaction was that I wouldn