TNSListener Error

Hello All,
I m using using Oracle 11g on windows 2003.
My TNSListener is not starting automatically when i m starting my computer.I even tried the follwing commands.....
C:\Documents and Settings\Administrator>lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 26-JUN-2009 11:07
:00
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
C:\Documents and Settings\Administrator>lsnrctl stop
LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 26-JUN-2009 11:11
:24
Copyright (c) 1991, 2007, Oracle. All rights reserved.
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=meta-mix)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
C:\Documents and Settings\Administrator>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 26-JUN-2009 11:12
:54
Copyright (c) 1991, 2007, Oracle. All rights reserved.
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=meta-mix)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
can anyone plz help me?
Thanks

Hi again!
1.) Start Net Manager from Windows Startmenu
2.) In the treeview on the left side click on the + adjacent to LOCAL
3.) Click on the node LISTENER
4.) Click on the green + in the menubar on the left side
5.) Type in a name for your LISTENER. I suggest to use LISTENER as the name because that's the default.
6.) Click on OK button
7.) Save your networkconfiguration and exit.
That's all.
Best Regards
Florian W.

Similar Messages

  • Oracle 11g on Windows server 2003

    I've oracle 11g installed on Windows Server 2003.
    I have installed oracle 11g twice, so wasn't sure how to uninstall one version without effecting the other.
    There are a few databases set up, none of which are now working.
    Trying to connect using mysql client, or the oracle11g client results in TNSListener errors:
    'TNSListener does not currently know of service requested in connect descriptor'
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date 02-MAR-2009 11:54:42
    Uptime 0 days 3 hr. 30 min. 1 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File c:\apps\oracle\product\11.1.0\db\network\admin\listene
    r.ora
    Listener Log File c:\apps\oracle\diag\tnslsnr\selene\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=selene.compsci.cs.tcd.ie)(PORT=1521)
    Services Summary...
    Service "cs.compsci" has 1 instance(s).
    Instance "cs", status READY, has 2 handler(s) for this service...
    Service "cs_XPT.compsci" has 1 instance(s).
    Instance "cs", status READY, has 2 handler(s) for this service...
    The command completed successfully
    Trying to modify the database (using Database Configuration Assistant) results in the error:
    'there is an error in creating the following process: c:\apps\oracle\product\11.1.0\db\bin\sqlplus.exe -S /NOLOG the error is: Error 6 initializing SQL*Plus Messaging file sp1<lang>.msb not found SP2-0750: You may need to set ORACLE_HOME to your oracle software directory'
    If there are forums you would recommend to a completely new oracle sysadmin please let me know.
    Many thanks.

    I recommend you read the '2 Days DBA' manual in order to get a basic understanding. It may be necessary to uninstall the current installation(s), especially the last error message looks like a corrupted environment.
    Werner
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28301/toc.htm
    Edited by: oradba on Mar 2, 2009 7:57 PM

  • Opening another port in Oracle

    Hi,
    If I have an Oracle database listening on port 1521, is it possible to open another port for listening? What must I do to achieve that? What I had tried out is to create a listener using net assistant. Then, I create another service name for that. But I keep on receiving no TNSListener error when I test the service.
    Am I on the correct path?
    Thanks in advance.

    You definitely are on the right path. See if the listener you created is running or not when you try to connect thru that listener.
    To check the listener, you can see the service using start->settings->control panel->services
    or you can also use lsnrctl.exe in ur Oracle_home/bin directory
    HTH
    Naveen

  • Can not apply redo file

    I have configured Oracle Data Guard [Oracle 11g R2] with the help of steps from http://www.orafaq.com/node/2030. "select sequence#, applied from v$archived_log order by sequence#;" show 10 rows with applied status "NO" on primary db, and "no rows selected" on standby db.
    Primary DB
    db_name : orcl
    db_unique_name : prim
    Standby DB
    db_name : orcl
    db_unique_name : stan
    both databases were setup on different machines with same configuration and folder structure.
    Please help to solve this issue.
    Thanks in advance,
    Manu

    K.At standby side i started database as follow
    sql>startup open recover;
    After that i execute at standby
    sql> alter database recover managed standby database cancel;
    when i execute this some error logs are generated in the primary side"F:\app\sujina.a\diag\rdbms\prim\orcl\trace\alert_orcl.txt"
    This is the error logs:
    Fatal NI connect error 12514, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.27.44)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl.tvm.nestgroup.net)(CID=(PROGRAM=f:\app\sujina.a\product\11.2.0\dbhome_1\bin\ORACLE.EXE)(HOST=N1359-W7)(USER=SYSTEM))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.2.0.1.0 - Production
    Time: 20-APR-2011 12:33:13
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Fatal NI connect error 12514, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.27.44)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl.tvm.nestgroup.net)(CID=(PROGRAM=f:\app\sujina.a\product\11.2.0\dbhome_1\bin\ORACLE.EXE)(HOST=N1359-W7)(USER=SYSTEM))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.2.0.1.0 - Production
    Time: 20-APR-2011 12:33:13
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Error 12514 received logging on to the standby
    Errors in file f:\app\sujina.a\diag\rdbms\prim\orcl\trace\orcl_arc1_3616.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARC1]: Heartbeat failed to connect to standby 'STAN'. Error is 12514.
    pls help..
    And one thing i want to know that to which mode i have to startup the primary side.
    Then,
    When shutdown occurs it will dergister from the listener,that was ok.But after that i connected to sys/*** as sysdba and startup the database.Also i restarted the listener...After all when i try to connect sys/***@PRIM as sysdba or sys/***@STAN,it shows the tnslistener error..does it happen?Actually i want to know when it again register with listener?If I cannot connect primary from the standby and standby from primary using this net_service_name,does redo log apply occurs?
    sujina

  • Oracle Linux TNSLISTENER NL-00051 Error

    I recently installed the Oracle8.0.5 Web download on a SuSe6.0
    Linux machine. Database starts okay, can connect using SQL*PLUS
    on the server but get the error below when starting the listener
    oracle$ lsnrctl start
    LSNRCTL for Linux: Version 8.0.5.0.0 - Production on 15-APR-99
    20:45:27
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Starting /app/oracle/product/8.0.5/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 8.0.5.0.0 - Production
    System parameter file is
    /app/oracle/product/8.0.5/network/admin/listener.ora
    Log messages written to
    /app/oracle/product/8.0.5/network/log/listener.log
    Trace information written to
    /app/oracle/product/8.0.5/network/trace/listener.tr
    c
    Listening on: (ADDRESS=(PROTOCOL=ipc)(DEV=9)(KEY=PNPKEY))
    Listening on: (ADDRESS=(PROTOCOL=tcp)(DEV=12)(HOST=192.168.0.99)
    (PORT=1521))
    NL-00051: internal error code, arguments: [302], [1], [], [],
    Snippet of the listener trace file follows
    tnslsnr: completing partial addr: (DESCRIPTION=
    (CONNECT_TIMEOUT=10)(ADDRESS=(PROTOCOL=tcp)(PORT=1521)
    (HOST=PLANDATA)))
    nttaddr2bnd: entry
    nttaddr2bnd: exit
    tnslsnr: Listening on: (ADDRESS=(PROTOCOL=tcp)(DEV=12)
    (HOST=192.168.0.99)(PORT=1521))
    nsevreg: begin registration process for 1
    nsevreg: sgt=0, evn=1, evt[2]=0x0
    nsevreg: begin notification process for 1
    nsevreg: rdm=0, sgt=0, evt[0]=0x1, [1]=0x1, [2]=0x0, nrg=0
    nsevreg: registering for 0x1
    nsevreg: begin registration process for 3
    nsevreg: sgt=0, evn=1, evt[2]=0x0
    nsevreg: begin notification process for 3
    nsevreg: rdm=0, sgt=0, evt[0]=0x1, [1]=0x1, [2]=0x0, nrg=0
    nsevreg: registering for 0x1
    tnslsnr: Reporting the following error stack:
    tnslsnr: Reporting the following error stack:
    NL-00051: internal error code, arguments: [302], [1], [], [],
    nsmal: 493 bytes at 0x8365c80
    Anybody got any ideas, I cannot find the error message (NL-
    00051) described anywhere !!!!
    Regards
    Tim
    null

    Here is some quick (and sad) info :-)
    anwar:~ > oerr nl 51
    00051, 00000, "internal error code, arguments: [%s], [%s], [%s],
    [%s], [%s], [%s], [%s]"
    // *Cause: This is the generic internal error code for NPD
    program
    // exceptions. This indicates that a process has encountered an
    // exceptional condition.
    // *Action: Report as a bug - the first argument is the internal
    error number
    // The second argument is the "emfi" (err msg file index).
    Anwar.
    Tim Jones (guest) wrote:
    : Anybody got any ideas, I cannot find the error message (NL-
    : 00051) described anywhere !!!!
    : Regards
    : Tim
    null

  • Lost power, tnslistener 12514 error

    All,
    We recently lost power and a server that shouldn't have been in production anymore is apparently something that needs to be online. I'm not a DBA by any stretch, so this is a bit over my head. It's running oracle 10g services on top of a Windows 2003 standard server. The error I receive, even trying to connect to SQL Plus among other utilities is: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    There's nothing obvious in the event viewer and listener.log has this at the tail end:
    Started with pid=2884
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sstudent)(PORT=1550)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    04-NOV-2009 10:04:29 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    04-NOV-2009 10:04:57 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=starbase)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1449)) * establish * starbase * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    04-NOV-2009 10:04:57 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=starbase)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1450)) * establish * starbase * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    04-NOV-2009 10:04:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=starbase)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1451)) * establish * starbase * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    04-NOV-2009 10:16:35 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=starbase)(CID=(PROGRAM=C:\oracle\product\10.2.0\db_1\BIN\sqlplusw.exe)(HOST=SSTUDENT)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.1.1.8)(PORT=1457)) * establish * starbase * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    04-NOV-2009 10:25:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0lsnrctl status produces the following:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-NOV-2009 10:29
    :31
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=sstudent)(PORT=1550)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date                04-NOV-2009 10:04:28
    Uptime                    0 days 0 hr. 25 min. 5 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File         C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sstudent)(PORT=1550)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyAnd here is listener.ora:
    C:\oracle\product\102~1.0\db_1\NETWORK\ADMIN>more listener.ora
    # listener.ora Network Configuration File: C:\oracle\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:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = sstudent)(PORT = 1550))
      )

    Robert,
    Yes, there is a database on the server. I believe it's running, but I can't confirm that because I don't know how to confirm it! :)
    Here's the tnsnames.ora from the server
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORAC =
      (ADDRESS = (PROTOCOL = TCP)(HOST = sstudent)(PORT = 1550))
    STARBASE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = sstudent)(PORT = 1550))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = starbase)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )

  • TNSLISTENER Application Error

    Hi,
    I have installed the Oracle 9i (9.2.0.1 RC2) Database on Windows 2000 Workstation. When I try to create a new database or I try to connect a repository the TNSLSNR.EXE crashes. I receive the following OS error message: "TNSLSNR.EXE Application Error: memory read error". After this I have to restart the listener service.
    What can you advise?
    Thanks and regards,
    Steve

    I have configured the database manually after installing Oracle, instead of letting it install a default DB. If thats what you're doing you gotta use oradim to create the instance with a pfile u created or a sample one u got.
    oradim -h will give u the options, then start your instance with oradim, and then sqlplus/nolog connect sys/manager as sysdba, then startup, then maybe your listener error will go away or maybe im way off.

  • Socket read error: connection reset by peer

    Hi.
    Has anybody experienced the error message �Socket read error: connection reset by peer�
    Please see below for detailed information.
    Appreciate your help
    Regards
    RT
    Enviroment specification
    Server: HP/UX 11.00 64-bit, Oracle RDBMS 8.1.6.0.0 64-bit
    2 firewalls between client and db.
    Client:
    Win 2000,
    SP3,
    Oracle Client 8.1.7.0.0 ,JDBC OCI (thin JDBC driver,class12.zip)
    JDK 1.3
    JRUN3.0
    The TCP protocol is being used in the communication
    Error messages
    Web Users receive:           Socket read error: connection reset by peer
    Trace files on the sever:      Read unexpected EOF ERROR on 18.
    Explanation: The error in the server sqlnet trace file, suggests that a client connection has terminated abnormally, i.e. client machine powered off, a cable removed or a network connection aborted without warning. No user has complained of such a problem and there is no client trace with an error.
    The problem
    The users of the java web application, experiencing an exception almost once or twice a day.
    The JRUN web-server reports broken connections to the db and client are receiving "connection reset by peer".
    At the moment when the errors occurs the users just have to wait a while(2-10 min) and then they can use the web application again.(no action is taken)
    This problem can not be reproduced. The problem happens only occasionally when the network is under heavy load and new DB connection is being created.
    The application
    The java web-application uses a customized connection pooling against the database. This pool is shared among all the users of the website. whenever a user process needs to fetch data from the database, a free connection from this pool is allocated. The application is testing if the connection is valid before making a transaction (select '1' from dual). When the error occurs a ORA-3113 end-of-file on communication channel is returned to the application.
    The path between the client and db involves at least two firewalls. The firewalls are opened for sql*net traffic. The network group can tell that enquiries from the app.server is not getting feedback from the db. They have not however, identified if the enquiries are reaching the db-srever, or if they are stopped earlier in the network.
    Around 1000 users, are using other applications which uses dedicated sqlnet connections against the db and they have not experienced any problems.
    Issues considered
    Connection pooling
    It is a customized connection pooling, developed by Lindorff developers.
    I have read through the source code for the connection pooling and it does the job as it should, and in case of bad connection, it tries to create a new connection.
    The log file shows that the call to the method DriverManager.getConnection() hangs until the server goes down, which is probably because of the fact that the method DriverManager.setLoginTimeout(), does not take effect and timeout value is Zero. ( According to oracle , Oracle JDBC does not support login timeouts and calling the static DriverManager.setLoginTimeout() method will have no effect).
    Firewall
    One thing to consider is when the firewall may decide to shut down the socket due to long inactivity of a connection. This will cause problems to JDBC Connection Pool because the pool is not aware of this disconnection at the TCP/IP level; until someone checks out the connection from the pool and tries to use it. The user will get a Socket read error: connection reset by peer.
    Jrun timeout paramter is less than the firewall�s timeout so the firewall will not close a connection before Jrun does.
    Number of processes the DB can handle
    Processes parameter is 1300, , they have not experienced the Oracle error msg �max # of processes reached�.
    Port redirection through a firewall:
    Since the firewall has a sql net proxy Port redirection through a firewall is not a problem. Problems with port redirection only appear at connect time, but in this situation the connections fail long after the connection is established.
    The network group
    The network people who investigaged the problem at Lindorff report that there are a significant amount of "dropped packages" between the database server and the jdbc client (web-application) 24 hrs. The reason for this is "unknown established TCP packet" which means that the firewall does not consider these packages to be part of an already established session. The network group believes this happen because one of the hosts send a RESET or FIN signal which the firewall have noticed but are not received by the other host.
    It seems like the firewall are dropping packages bacause of "Unknown
    established TCP packet" from both the JDBC client and the TNSLISTENER on the database server. The dropped packages are SQL*Net v2 traffic so clearly Oracle products are involved

    Presumably something is working.
    Thus the problem is not with your code. At least not the database part that you have control over.
    That error occurs when the other side closes the socket. Presumably you are catching lost connection exceptions and trying to restore it.

  • IO Error while creating the Datasource in WLS Console

    Hello,
    We are using Jdeveloper 11.1.1.1.7, I am trying to create a Data Source using WLS Console, I am getting below error
      - I tried creating DB connection using SQL developer with same DB Connection info, it works fine.
      - I verified the Port by logging into corresponding UNIX box where weblogic server is running, I did telnet, and able to connect.
    any ideas are appreciate.
    Connection test failed.
    IO Error: The Network Adapter could not establish the connection<br/>oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:489)<br/>oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)<br/>oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:234)<br/>oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)<br/>oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)<br/>oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:404)<br/>oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:674)<br/>oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:267)<br/>oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:134)<br/>weblogic.jdbc.common.internal.DataSourceUtil.testConnection(DataSourceUtil.java:314)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:734)<br/>com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:474)<br/>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/>java.lang.reflect.Method.invoke(Method.java:606)<br/>org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)<br/>..

    The Network Adapter could not establish the connection exception is caused by one or more of the following configuration errors:
    The database host name, port number, or database instance name is wrong.
    The database TNSListener has not been started. The TNSListener may be started with the lsnrctlutility.
    C:>lsnrctl start
    1. What is the connection url?
    2. Is Oracle database running?

  • Getting an error in startdb while restarting sap services

    hi Experts ,
    while restarting my sap services it gets an error at startdb and log file is shown below                                                                               
    ABAP Database is not available via R3trans
    Starting SAP-Collector Daemon
    16:33:22 22.11.2010   LOG: Effective User Id is root
    This is Saposcol Version COLL 20.95 700 - AIX v11.00 5L-64 bit 070920
    Usage:  saposcol -l: Start OS Collector
            saposcol -k: Stop  OS Collector
            saposcol -d: OS Collector Dialog Mode
            saposcol -s: OS Collector Status
    The OS Collector (PID 356538) is already running .....
    saposcol already running
    Running /usr/sap/LBD/SYS/exe/run/startdb
    Trying to start LBD database ...
    Log file: /home/lbdadm/startdb.log
    /usr/sap/LBD/SYS/exe/run/startdb: Terminating with error code 12
    DB startup failed
                                                                                    my startdb.log file
    Mon Nov 22 16:33:23 IST 2010
    LOGFILE FOR STARTING ORACLE
    Trying to start LBD database ...
    Mon Nov 22 16:33:23 IST 2010
    checking required environment variables
    ORACLE_HOME  is >/oracle/LBD/102_64<
    ORACLE_SID   is >LBD<
    Mon Nov 22 16:33:23 IST 2010
    check initora
    Mon Nov 22 16:33:23 IST 2010
    check initora
    Mon Nov 22 16:33:23 IST 2010
    checking V2 connect
    "startdb.log" 77 lines, 2315 characters
    Mon Nov 22 16:33:23 IST 2010
    LOGFILE FOR STARTING ORACLE
    Trying to start LBD database ...
    Mon Nov 22 16:33:23 IST 2010
    checking required environment variables
    ORACLE_HOME  is >/oracle/LBD/102_64<
    ORACLE_SID   is >LBD<
    Mon Nov 22 16:33:23 IST 2010
    check initora
    Mon Nov 22 16:33:23 IST 2010
    check initora
    Mon Nov 22 16:33:23 IST 2010
    checking V2 connect
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 22-NOV-2010 16:33:23
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    /usr/sap/LBD/SYS/profile/oracle/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = lodhabidev)
    (PORT = 1527))) (CONNECT_DATA = (SID = LBD) (GLOBAL_NAME = LBD.WORLD)))
    OK (30 msec)
    tnsping: V2 connect to LBD
    Mon Nov 22 16:33:23 IST 2010
    Connect to the database to check the database state:
    R3trans: connect check finished with return code: 12
    Database not available
    R3trans: connect check finished with return code: 12
    Database not available
    Mon Nov 22 16:33:28 IST 2010
    Shutdown database
    First trying to shutdown the database - May be,
    the database is in the nomount or mount state
    Mon Nov 22 16:33:53 IST 2010
    starting database
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 22 16:33:53 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1526726656 bytes
    Fixed Size                  2021064 bytes
    Variable Size             771754296 bytes
    Database Buffers          738197504 bytes
    Redo Buffers               14753792 bytes
    Database mounted.
    Database opened.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning and Data Mining options
    Mon Nov 22 16:35:07 IST 2010
    Connect to the database to verify, that the database is now open
    R3trans check finished with return code: 12
    ERROR: Startup of database failed
        Notify Database Administrator.
    /usr/sap/LBD/SYS/exe/run/startdb: Terminating with error code 12
    ~
    ~
    ~
    ~
    ~
    ~
    starting database
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 22 16:33:53 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1526726656 bytes
    Fixed Size                  2021064 bytes
    Variable Size             771754296 bytes
    Database Buffers          738197504 bytes
    Redo Buffers               14753792 bytes
    Database mounted.
    Database opened.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning and Data Mining options
    Mon Nov 22 16:35:07 IST 2010
    Connect to the database to verify, that the database is now open
    R3trans check finished with return code: 12
    ERROR: Startup of database failed
        Notify Database Administrator.
    /usr/sap/LBD/SYS/exe/run/startdb: Terminating with error code 12                                                                               
    my trans.log file
    ETW000  [dev trc     ,00000]  Rolling back transaction ...                          38  0.261052
    4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=0x11100fb98,usrhp=0x110ffc360)
    4 ETW000                                                                             208  0.261260
    4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     531  0.261791
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@LBD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              56  0.261847
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBa
    tch
    4 ETW000                                                                              51  0.261898
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110ff4580 0x11100c9f8 0x111
    00c2a8
    4 ETW000                                                                              52  0.261950
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 0x110ffc360        28  0.261978
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 0x110ffc360        36  0.262014
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x11100fb98,srvhp=0x11100fdb8,usrhp=0x110ffc360)
    4 ETW000                                                                              63  0.262077
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=28000
    4 ETW000                                                                            3892  0.265969
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=1,svrhp=0x11100fdb8)
    4 ETW000                                                                              46  0.266015
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x11100fb98,srvhp=0x11100fdb8)
    4 ETW000                                                                              61  0.266076
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x11100fdb8       358  0.266434
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '28000'
    4 ETW000                                                                              73  0.266507
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 28000        40  0.266547
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 28000  performing CON [dblink#5 @ 431]
    4 ETW000                                                                             220  0.266767
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-28000: the account is locked [dblink#5 @ 431]
    4 ETW000                                                                              69  0.266836
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'LBD'"
                                                                                    here i checked my TNSListener is running
    please check why it is not starting
    Regards

    hi sunil
    please find below trans.log file
    vi trans.log
    "trans.log" 97 lines, 9755 characters
    4 ETW000 R3trans version 6.14 (release 700 - 14.02.08 - 14:55:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 22.11.2010 - 18:07:14
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Mon Nov 22 18:07:14 2010
         100  0.000100
    4 ETW000  [dev trc     ,00000]  db_con_init called
          28  0.000128
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)
          54  0.000182
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/LBD/SYS/exe/run/dbo
    raslib.o' ...
    4 ETW000
          70  0.000252
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/LBD/SYS/exe/run/db
    oraslib.o), hdl 0
    4 ETW000
       14694  0.014946
    "trans.log" 97 lines, 9755 characters
    4 ETW000 R3trans version 6.14 (release 700 - 14.02.08 - 14:55:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 22.11.2010 - 18:07:14
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Mon Nov 22 18:07:14 2010                             100  0.000100
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    28  0.000128
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             54  0.000182
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/LBD/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              70  0.000252
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/LBD/SYS/exe/run/dboraslib.o), hdl 0
    4 ETW000                                                                           14694  0.014946
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/LBD/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              45  0.014991
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/LBD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              49  0.015040
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/LBD/SYS/exe/run/dboraslib.o' is "700.08", patchlevel (0.144)
    4 ETW000                                                                            1087  0.016127
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/LBD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              49  0.016176
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/LBD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                             302  0.016478
    4 ETW000  [dev trc     ,00000]  New connection 0 created                             155  0.016633
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 00
    0, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              57  0.016690
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         56  0.016746
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              45  0.016791
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000
    , con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              53  0.016844
    4 ETW000  [dev trc     ,00000]  Got LIBPATH=/usr/lib:/lib:/usr/sap/LBD/SYS/exe/run:/oracle/client/10x_64/instantclient from e
    nvironment
    4 ETW000                                                                             531  0.017375
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.2.0'                  332  0.017707
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         30  0.017737
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          8192  0.025929
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           43  0.025972
    4 ETW000  [dev trc     ,00000]  Connecting as /@LBD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           43  0.025972
    4 ETW000  [dev trc     ,00000]  Connecting as /@LBD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              48  0.026020
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBa
    tch
    4 ETW000                                                                              50  0.026070
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110ff4580 0x11100c9f8 0x111
    00c2a8
    4 ETW000                                                                              62  0.026132
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       38  0.026170
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      30  0.026200
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server LBD (con_hdl=0,svchp=0x11100fb98,srvhp=0x11100fdb8)
    4 ETW000                                                                              87  0.026287
    4 ETW000  [dev trc     ,00000]  Assigning server context 0x11100fdb8 to service context 0x11100fb98
    4 ETW000                                                                          109025  0.135312
    4 ETW000  [dev trc     ,00000]  Allocating user session handle                       166  0.135478
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x11100fb98,srvhp=0x11100fdb8,usrhp=0x110ffc360)
    4 ETW000                                                                              60  0.135538
    4 ETW000  [dev trc     ,00000]  Assigning user session 0x110ffc360 to service context 0x11100fb98
    4 ETW000                                                                           32455  0.167993
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_MODULE (:A0, :A1); END;
    4 ETW000                                                                             192  0.168185
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO (:A0); END;
    4 ETW000                                                                             111  0.168296
    4 ETW000  [dev trc     ,00000]  Now '/@LBD' is connected (con_hdl 0, nls_hdl 0).
    4 ETW000                                                                            1135  0.169431
    4 ETW000  [dev trc     ,00000]         ALTER SESSION SET NLS_SORT = BINARY
    4 ETW000                                                                              62  0.169493
    4 ETW000  [dev trc     ,00000]         SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)
    4 ETW000                                                                             465  0.169958
    4 ETW000  [dev trc     ,00000]  Got SAPSR3's password from OPS$-user                 962  0.170920
    4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                   39  0.170959
    4 ETW000  [dev trc     ,00000]  Rolling back transaction ...                          37  0.170996
    4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=0x11100fb98,usrhp=0x110ffc360)
    4 ETW000                                                                             205  0.171201
    4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     549  0.171750
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@LBD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              57  0.171807
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@LBD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              57  0.171807
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBa
    tch
    4 ETW000                                                                              52  0.171859
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110ff4580 0x11100c9f8 0x111
    00c2a8
    4 ETW000                                                                              51  0.171910
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 0x110ffc360        29  0.171939
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 0x110ffc360        35  0.171974
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x11100fb98,srvhp=0x11100fdb8,usrhp=0x110ffc360)
    4 ETW000                                                                              65  0.172039
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=28000
    4 ETW000                                                                            3869  0.175908
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=1,svrhp=0x11100fdb8)
    4 ETW000                                                                              47  0.175955
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x11100fb98,srvhp=0x11100fdb8)
    4 ETW000                                                                              47  0.176002
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x11100fdb8       357  0.176359
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '28000'
    4 ETW000                                                                              72  0.176431
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 28000        39  0.176470
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 28000  performing CON [dblink#5 @ 431]
    4 ETW000                                                                             218  0.176688
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-28000: the account is locked [dblink#5 @ 431]
    4 ETW000                                                                              67  0.176755
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'LBD'"
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    4 ETW000 R3trans version 6.14 (release 700 - 14.02.08 - 14:55:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 22.11.2010 - 18:07:14
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Mon Nov 22 18:07:14 2010                             100  0.000100
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    28  0.000128
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             54  0.000182
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/LBD/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              70  0.000252
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/LBD/SYS/exe/run/dboraslib.o), hdl 0
    4 ETW000                                                                           14694  0.014946
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/LBD/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              45  0.014991
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/LBD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              49  0.015040
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/LBD/SYS/exe/run/dboraslib.o' is "700.08", patchlevel (0.144)
    4 ETW000                                                                            1087  0.016127
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/LBD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              49  0.016176
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/LBD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                             302  0.016478
    4 ETW000  [dev trc     ,00000]  New connection 0 created                             155  0.016633
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 00
    0, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              57  0.016690
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         56  0.016746
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              45  0.016791
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000
    , con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              53  0.016844
    4 ETW000  [dev trc     ,00000]  Got LIBPATH=/usr/lib:/lib:/usr/sap/LBD/SYS/exe/run:/oracle/client/10x_64/instantclient from e
    nvironment
    4 ETW000                                                                             531  0.017375
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.2.0'                  332  0.017707
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         30  0.017737
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          8192  0.025929
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           43  0.025972
    4 ETW000  [dev trc     ,00000]  Connecting as /@LBD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)

  • Installation error with 8.1.7

    I'm currently upgrading 8.0.5 with 8.1.7. When installing 8.1.7 I receive the following error message:
    O/S error in starting service Oracleora81DataGatherer
    Has anyone seen this and is there a fix?
    thanks
    Mark

    I have installed 8.1.7. on windows 2ooo. The install went
    successfully and immediately after the install i could connect
    with scott/tiger.
    After a short period of time I can no longer connect and receive
    the ora-12560 error. The system has not been rebooted or even
    touched during this time period. I have removed the database
    with dbassist and recreated. Again it works for 5 mins and
    stops.
    When I look at tsnrctl status all looks great. Under services
    the tnslistener is working properly. I can do a tnsping as well.
    >
    I just cannot connect to the database.
    Please help!
    Dan Hoover An ORA-12560 WinNT is usually an indication that
    the OS system/environment is not set up correctly.
    You don't need a listener when you connect locallay without alias
    name (sqlplus scott/tiger@alias).
    Please try the following:
    - start cmd box
    - set ORACLE_HOME = <your home>
    - set ORACLE_SID = <your SID>
    - sqlplus scott/tiger
    Thomas

  • Installation error when installing Oracle 8.1.7

    I'm currently upgrading 8.0.5 with 8.1.7. When installing 8.1.7 I receive the following error message:
    O/S error in starting service Oracleora81DataGatherer
    Has anyone seen this and is there a fix?
    thanks
    Mark
    null

    Hi,
    Please check up if any TNSListener (of older version , from previously installed RDBMS ) is already running in the system.
    Statup->controlpanel->Services->%TNSListener%.
    If so, please Stop the listener,while you install the oracle.
    Else, While you install oracle, don't create starter database.First install Oracle, after that, create the DB using "Database configuration Assistant(DCA)", life will be easier!!
    Regard
    karthik

  • Error installing Database instance on MSCS

    error installing Database instance on MSCS
    plateform: windows2003/oracle10g
    product: SAP ERP 2005
    Two node MSCS based cluster.
    - Installed OS and patched it.
    - Configured network adapters
    - Configured Shared storage device.
    - Installed Cluster server.(Tested by moving resources to other node successfully)
    - installed oracle10g
    - Patched db
    - Installed Oracle failsafe.
    - I have installed ASCS instance on first node using shared disk successfully.
    - Clustered the first node successfully
    - Created the oracle failsafe group
    - While installing the Database instance. (nothing was displayed in Dbhost field, i have manually entered virtual database host) . set all other wizard parameters ... installation stopped on step 5 e.i. "Create and Load Database" with an error message as follows.
    ERROR 2007-05-02 17:30:49
    CJS-00095  Error return code.<.br>DIAGNOSIS: Return code 1 of executable E:\oracle\PRD\102/bin/lsnrctl indicates an error.<.br>SOLUTION: See log file lsnrctl.log for details.
    ERROR 2007-05-02 17:30:49
    CJS-00095  Error return code.<.br>DIAGNOSIS: Return code 1 of executable E:\oracle\PRD\102/bin/lsnrctl indicates an error.<.br>SOLUTION: See log file lsnrctl.log for details.
    ERROR 2007-05-02 17:30:49
    FCO-00011  The step StartListener with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0|NW_OraNetworkSrv|ind|ind|ind|ind|1|0|StartListener was executed with status ERROR .
    INFO 2007-05-02 17:32:01
    An error occured and the user decide to stop.\n Current step "|NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0|NW_OraNetworkSrv|ind|ind|ind|ind|1|0|StartListener".
    <b>the logfile is very big ... but let me paste the important part only ...</b>
    INFO 2007-05-02 17:30:24
    Execute step setPermissions of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_Unpack|ind|ind|ind|ind|7|0.
    INFO 2007-05-02 17:30:25
    Execute step copyScripts of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_Unpack|ind|ind|ind|ind|7|0.
    INFO[E] 2007-05-02 17:30:25
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:26
    Execute step PrepareOraCreateTablespace of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0.
    INFO[E] 2007-05-02 17:30:26
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:27
    Execute step setDbenvEnvironment of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbCommon|ind|ind|ind|ind|0|0.
    INFO[E] 2007-05-02 17:30:27
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:28
    Execute step copyDbShellScripts of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbCommon|ind|ind|ind|ind|0|0.
    INFO 2007-05-02 17:30:29
    Execute step checkOraClientPreconditions of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0.
    INFO[E] 2007-05-02 17:30:29
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:30
    Execute step createOcl10Links of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0.
    INFO 2007-05-02 17:30:31
    Execute step createDbclientLst of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0.
    INFO[E] 2007-05-02 17:30:32
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:34
    Execute step setPermissions of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0.
    INFO 2007-05-02 17:30:35
    Execute step setDbenvEnvironment of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0.
    INFO[E] 2007-05-02 17:30:35
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:36
    Execute step doCleanOldNetworkFiles of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0|NW_OraNetworkSrv|ind|ind|ind|ind|1|0.
    INFO[E] 2007-05-02 17:30:36
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:37
    Execute step doNetworkConfigurationServer of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0|NW_OraNetworkSrv|ind|ind|ind|ind|1|0.
    INFO[E] 2007-05-02 17:30:37
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:38
    Creating file C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\HA\ABAP\DB\lsnrctl.log.
    INFO 2007-05-02 17:30:38
    Working directory changed to C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\HA\ABAP\DB.
    INFO 2007-05-02 17:30:38
    Output of E:\oracle\PRD\102\bin\lsnrctl stop LISTENER is written to the logfile lsnrctl.log.
    WARNING 2007-05-02 17:30:40
    Execution of the command "E:\oracle\PRD\102\bin\lsnrctl stop LISTENER" finished with return code 1. Output:
    LSNRCTL for 32-bit Windows: Version 10.2.0.2.0 - Production on 02-MAY-2007 17:30:38
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    INFO 2007-05-02 17:30:40
    Creating file E:\oracle\PRD\102\NETWORK\ADMIN\listener.ora.
    INFO 2007-05-02 17:30:40
    Creating file E:\oracle\PRD\102\NETWORK\ADMIN\tnsnames.ora.
    INFO 2007-05-02 17:30:40
    Copied file 'E:/oracle/PRD/102/NETWORK/ADMIN/sqlnet.ora' to 'E:/oracle/PRD/102/NETWORK/ADMIN/sqlnet.1.ora'.
    INFO 2007-05-02 17:30:40
    Removing file E:\oracle\PRD\102\NETWORK\ADMIN\sqlnet.ora.
    INFO 2007-05-02 17:30:40
    Creating file E:\oracle\PRD\102\NETWORK\ADMIN\sqlnet.ora.
    INFO 2007-05-02 17:30:41
    Execute step doNetworkConfigurationClient of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0|NW_OraNetworkSrv|ind|ind|ind|ind|1|0.
    INFO[E] 2007-05-02 17:30:41
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:41
    Creating directory
    sapgrp\sapmnt\PRD\SYS\profile\oracle.
    INFO 2007-05-02 17:30:41
    Creating file
    sapgrp\sapmnt\PRD\SYS\profile\oracle\tnsnames.ora.
    INFO 2007-05-02 17:30:42
    Creating file
    sapgrp\sapmnt\PRD\SYS\profile\oracle\sqlnet.ora.
    INFO 2007-05-02 17:30:43
    Execute step StartListener of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0|NW_OraNetworkSrv|ind|ind|ind|ind|1|0.
    INFO[E] 2007-05-02 17:30:43
    FSL-02077  File system export (share) saploc does not exist.
    INFO 2007-05-02 17:30:43
    Creating file C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\HA\ABAP\DB\lsnrctl.log.
    INFO 2007-05-02 17:30:43
    Working directory changed to C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\HA\ABAP\DB.
    INFO 2007-05-02 17:30:43
    Output of E:\oracle\PRD\102\bin\lsnrctl stop LISTENER is written to the logfile lsnrctl.log.
    WARNING 2007-05-02 17:30:44
    Execution of the command "E:\oracle\PRD\102\bin\lsnrctl stop LISTENER" finished with return code 1. Output:
    LSNRCTL for 32-bit Windows: Version 10.2.0.2.0 - Production on 02-MAY-2007 17:30:43
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=PRD.WORLD))
    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 (ADDRESS=(PROTOCOL=IPC)(KEY=PRD))
    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 (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=oracleprd)(PORT=1527))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    INFO 2007-05-02 17:30:44
    Creating file C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\HA\ABAP\DB\lsnrctl.log.
    INFO 2007-05-02 17:30:44
    Working directory changed to C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\HA\ABAP\DB.
    INFO 2007-05-02 17:30:44
    Output of E:\oracle\PRD\102\bin\lsnrctl start LISTENER is written to the logfile lsnrctl.log.
    WARNING 2007-05-02 17:30:49
    Execution of the command "E:\oracle\PRD\102\bin\lsnrctl start LISTENER" finished with return code 1. Output:
    LSNRCTL for 32-bit Windows: Version 10.2.0.2.0 - Production on 02-MAY-2007 17:30:44
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    Failed to open service <OraclePRD102TNSListener>, error 1060.
    TNSLSNR for 32-bit Windows: Version 10.2.0.2.0 - Production
    System parameter file is E:\oracle\PRD\102\network\admin\listener.ora
    Log messages written to E:\oracle\PRD\102\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\PRD.WORLDipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\PRDipc)))
    Error listening on: (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=oracleprd)(PORT=1527))
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
      TNS-00512: Address already in use
       32-bit Windows Error: 48: Unknown error
    Listener failed to start. See the error message(s) above...
    ERROR 2007-05-02 17:30:49
    CJS-00095  Error return code.<.br>DIAGNOSIS: Return code 1 of executable E:\oracle\PRD\102/bin/lsnrctl indicates an error.<.br>SOLUTION: See log file lsnrctl.log for details.
    ERROR 2007-05-02 17:30:49
    CJS-00095  Error return code.<.br>DIAGNOSIS: Return code 1 of executable E:\oracle\PRD\102/bin/lsnrctl indicates an error.<.br>SOLUTION: See log file lsnrctl.log for details.
    ERROR 2007-05-02 17:30:49
    FCO-00011  The step StartListener with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0|NW_OraNetworkSrv|ind|ind|ind|ind|1|0|StartListener was executed with status ERROR .
    INFO 2007-05-02 17:32:01
    An error occured and the user decide to stop.\n Current step "|NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraClient|ind|ind|ind|ind|3|0|NW_OraNetworkSrv|ind|ind|ind|ind|1|0|StartListener".
    I have tried to start tnslistener manually but as soon as it get started it get stops.
    please help !
    Message was edited by:
            Rizwan Javed

    Starting tnslsnr: please wait...
    Failed to open service <OraclePRD102TNSListener>, error 1060.
    TNSLSNR for 32-bit Windows: Version 10.2.0.2.0 - Production
    System parameter file is E:\oracle\PRD\102\network\admin\listener.ora
    Log messages written to E:\oracle\PRD\102\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\PRD.WORLDipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\PRDipc)))
    Error listening on: (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=oracleprd)(PORT=1527))
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
      TNS-00512: Address already in use
       32-bit Windows Error: 48: Unknown error
    Listener failed to start. See the error message(s) above...
    this is what it shows

  • 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

  • ORA-12514 TNSlistener does not currently know of service requested in conne

    When I connect in command prompt using username,password & Host String(tnsNames.ora). Its succeed as seen below.
    C:\>sqlplus sonia/mypass@sonia - In this line First sonia is the userName & second Sonia is the host from the tnsnames.ora
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Jul 4 13:12:43 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - ProductionBut When I use the sqlPlus screen to connect to Oracle -
    UserNAme - sonia
    Password - mypass
    HostString - sonia
    I am getting ERROR - ORA-12514 TNSlistener does not currently know of service requested in connect descriptor.
    I am not getting why I am not able to LOGIN FROM SQLPLUS SCREEN.
    I searched on the net, But still No LUck.My database is also started which I find using the C:>sc query OracleServiceXE
    tnsnames.ora (LOCATION - C:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    SONIA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sonia)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SONIA)
    tnsNAmes.ora -C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = sonia)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    Listener.ora -C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
    XE =
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = sonia)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)I am still confused in that I have two tnsNames.ora in different locations.Is that OK?

    hello All,
    Thanks you all.
    I am succeed in login through SQL PLus Screen. I make the two tnsNames.Ora exactly same. & it worked for me.
    TnaNames.Ora
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = sonia)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
      ) Through Command prompt : -
    FIRST LOGIN
    C:\>sqlplus sonia/mypass@XE
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Jul 6 14:04:35 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    SQL>SECOND LOGIN : -
    C:\>sqlplus sonia/mypass@sonia
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Jul 6 14:03:50 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    SQL>1) I want to ask that, Now in TnsNames.Ora there is no HostString Exist named Sonia, then how in the second method (SEE ABOVE), I am able to login using sonia.
    2) Secondly, I want to know how to get TNS_ADMIN value. I have tried but no output for me (SEE BELOW)
    C:\>set TNS_ADMIN=%ORACLE_HOME%\network\admin
    C:\>echo %ORACLE_SID%
    %ORACLE_SID%
    C:\>I have read on the net : - If ORACLE_HOME is not set, the output will simply give back %ORACLE_HOME%. It means my TNS_ADMIN is not set.

Maybe you are looking for

  • ITunes has encountered a problem and needs to close message

    I started getting this message after downloading a free video I got through Starbucks. At this same time I purchased a video and downloaded it. At first I just couldn't manually drag the video into my iPod and then whenever I tried to play any video,

  • Dynamic height in a table with scrollable content

    Hello, i have in a web dynpro a table. The table is scrollable. At present i have a fixed height. Is it possible that i have a dynamic height, so that the table for example has a height of 70 percents from the page. I try that but it doesn't work. Ha

  • Copy SQL Express DB from one server to another

    backup, copy to new machine and restore; fix up user securities on new machine; set up maintenance plans; set up applications to point to new database (or if use DNS, no change..) step and repeat - of course during non-use time frame - my 2 cents

  • I want to add a video card to my Pavilion p6204y desktop.

    NY705AA-ABA, Windows 7 64bit, Intel chipset.  Not a gaming system.  Just want a video card with HDMI, DVI, and VGA.  The onboard video creates artifacts and flickers.   This question was solved. View Solution.

  • Download picture from a URL

    Hi! I want to make a small java application which will download picture from a given URL, resize it and put it on the local disc? I have no idea how to download a picture from a URL to image buffer! Can somebody show me the way? Thanks