When connecting to database in SQL* plus giving Error

hi,
I am using Oracle 10g. My problem is when i connecting to database in Server through SQL * Plus giving the Error:
ORA-12514: TNS:listerner does not currently know of service requested in connect descriptor.
Why this is happening i don't know. I created listener also. But no use. How to solve this can any tell me pls... ! .
Thank u...!

hi,
Thank u bang for u r reply. It is not working sir. I added the listener as follows:
# listener.ora Network Configuration File: D:\oracle10g\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = HA14)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle10g)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = OVSL06)
(ORACLE_HOME = D:\oracle10g)
(SID_NAME = OVSL06)
(SID_DESC =
(GLOBAL_DBNAME = OVSL06)
(ORACLE_HOME = D:\oracle10g)
(SID_NAME = OVSL06)
I typed the following commands in command prompts
C:\>lsnrctl
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 30-MAY-2007 16:29
:14
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> stop
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=HA14)(PORT=1521)))
The command completed successfully
LSNRCTL> start
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
System parameter file is D:\oracle10g\network\admin\listener.ora
Log messages written to D:\oracle10g\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HA14)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=HA14)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Produ
ction
Start Date 30-MAY-2007 16:29:28
Uptime 0 days 0 hr. 0 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle10g\network\admin\listener.ora
Listener Log File D:\oracle10g\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HA14)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
same error is getting as i am getting previously. Tell me solution pls....!
Thank u...!

Similar Messages

  • When connect the Database from Toad , Sqlplus giving the error

    when connect the Database from Toad , Sqlplus giving the error
    recent changes 12.1.1 installatiojn
    Oracle SQL plus encountered a problem and needs to close we are sorry for convenienvce
    Oracle Forms Designner has encountered a probloem and needs to close we are sorry for the convenience
    Thanks & Regards,
    sree

    when connect the Database from Toad , Sqlplus giving the error recent changes 12.1.1 installatiojnHave you tried using the same user via simple sqlplus on the database server or apps tier server itself? Please try the same database user/login on the database server using the sqlplus available on the server itself. See what message do you get. If the the login happens, then try with the tns entry e.g. sqlplus username/password@prod and see if that works on the db server. If both of these conditions work the check where is Toad picking up the tns entry from on the client pc/laptop. If first test fails, then check if the account is locked.
    Hope this helps.

  • Able to connect to database from SQL plus but not from Oracle SQL developer

    Hi
    I have two database editions in my system Oracle XE and Oracle EE. I am able to connect to EE database through SQL plus but not through SQL developer.Please tell me how to do it.
    All settings are good.I am able to connect to the database before installing XE.I need both for my work(different projects).
    And the default listener started is XE's.Please tell me how to change the default one to EE or tell me how to connect through SQL developer??
    Regards
    Harsha

    I Solved it.
    I copied the text from listener.ora for EE
    and added it in the other one.
    It works after restart.

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

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

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

  • Cannot connect to database using SQL*Plus

    Hi, I have Oracle 10g XE installed in my labtop and I cannot connect using SQL*Plus.
    I can connect using the broser User Interface though, which I was able to do after doing the following procedure to change the password of the sys account:
    -     open a command prompt
    -     - type sqlplus
    -     On the “Enter user-name” line, type /as sysdba
    -     On the SQL> prompt, type alter user sys identified by NewPassword;
    But the thing is that even though I am able to connect using sys/NewPassword from my browser UI, I dont get the same result when doing it using the SQL prompt.
    What I am trying to do is this:
    SQL> connect sys/NewPassword
    Then I get first a warming saying that I need to use either sysdba or sysoper to connect to the system account, but neither of those work.
    Can anyone advice me on this matter?
    Thanks in advance

    Thanks for that.
    I run the command to list the usernames on the database and I got SYS and SYSTEM in the list. But again, when I try to use SYS with a password that I know is working because I can access it through the browser UI, it doesnt work. It seems like this sys is different to the sys I used in the UI.
    I dont know if I am explaining myself correclty... In the Browser UI I use sys, and a password and I get connected to the sys account. However, if I try to use the same sys.password combination from my sqlplus prompt, I get error messages
    Does this make sense at all?

  • Issue when connecting to database from SQL Developer tool

    Hi,
    I was trying to connect to a remote oracle database 10.2.0.5 (hosted at window 2008 R2 server) from my local SQL Developer tool.
    When setting up connection in SQL Developer tool, I was able to connect to the database by selecting TNS (Network Allias).
    However, it does not work when I choose Basic type with the same information (HOST, PORT, SID).
    What is the difference between TNS and Basic setting option? Please advise and assist.
    Thanks.
    Regards,
    Jia

    Hi JimSmith,
    Thanks for reply.
    TNS entry as below:
    ORCL_DB =
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 91.198.252.83)(PORT = 1521)) )
    (CONNECT_DATA = (SID = orcl) (SERVER = DEDICATED) ) )
    It works fine if I choose TNS (Network Allias: ORCL_DB).
    For the Basic setting:
    Hostname = 91.198.252.83
    Port = 1521
    SID = orcl
    The error I received when connecting to db based on Basic option is Failure -Io exception: The Network Adapter could not establish the connection.
    Below are the entries of SQLnet.ora. Any entry should I add into sqlnet.ora?
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Appreciate your comment.
    Thanks.
    Regards,
    Jia

  • Cannot connect to Database in SQL Developer - TIMEZONE errors

    Cannot connect to any database get the following errors.
    Status : Failure -Test failed: ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    Tried change NLS settings to America (currently South Africa) but to no avail.
    My system info:
    About
    Oracle SQL Developer 3.2.20.09
    Version 3.2.20.09
    Build MAIN-09.87
    Copyright © 2005, 2012 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.09.87
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_38
    Oracle IDE     3.2.20.09.87
    Versioning Support     3.2.20.09.87
    Running on Windows 7 with a 64-bit oracle client.

    I managed to find the solution in previous thread
    Please see my error message.

  • Not able to connect Oracle DBXE from sql*plus client

    Hi,
    I have installed Oracle 10gXE from oracle site. i have updated the tnsnames.ora also
    but when i try to connect the db through sql*plus client, i am redirected to .net debugger.
    Pls help me in this,
    Thanks in advance.
    -- Raja

    Hello,
    Can you clarify what you are trying to connect from? If it's B1 ( one ) then post to the [B1 forum|http://forums.sdn.sap.com/index.jspa#44].
    Otherwise need more info on the product you are using?
    Typically the Oracle Path must be in the PATH statement as well it requires the correct platform ( 32 or 64 ) bit client installed.
    Most BOE/CR products are 32 bit so you need to install the 32 bit client.
    Don

  • Error connecting to database - java.sql.SQLException: Io exception: The Net

    Hello friends,
    I know this question has been asked in a lot of other threads; but my problem is quite unique and that's why I'm starting a new thread...
    When I try to access an Oracle 10g database through a Servlet code using a JDBC thin driver (both Tomcat and the database are running on Solaris 9), I get the following error:
    "Error connecting to database - java.sql.SQLException: Io exception: The Network Adapter could not establish the connection"
    However, there is another application running on the same server using the same database server (only the actual databases being used differ) and it is able to access the database without any issues. Both of these are absolutely similar applications and I couldn't think of any reasons why one would work and the other wouldn't. I thought they might be conflicting each other and tried running only the problematic application. But even then, I get the same error.
    I know this might not be too relevant but to provide you some more information on the environment, the applications are running on separate Tomcat instances on the same server and they are connected to an Apache web server through Mod jk.
    Any help in solving this problem is greatly appreciated!
    Thanks!
    Regards,
    Yogaesh

    Yogaesh wrote:
    The 'application' that works is also a Tomcat application... It's exactly same as the problematic application in terms of the configuration and stuff... As for the typo errors, I copied the config info and pasted it... So pretty much it should be the same. And to add an additional note, I'm able to connect to the database from my localhost... I mean if I run the problematic application from localhost (without Apache and directly hitting Tomcat) I'm able to access the screens...
    The second part of that (localhost) usually isn't all that useful. You know it is a connection failure so that means the code is running and technically successfully (since connection failure is a legitimate runtime error.)
    You know it isn't a firewall issue because it connects from another app in tomcat. So it must be a configuration issue.
    So something like one of the following.
    1. It isn't the same (we already know this but this particular item means that it is not in fact exactly the same because you deliberately or accidently modified it.)
    2. It isn't pulling the right config. Maybe you aren't packaging it, maybe it is buffered on the server and it is using that rather than what you think it is.
    3. Java code is referring to the wrong name.
    Do this, change the configuration so it points to a server that does not exist. Repack, redeploy. If the error is the same (no diff) then you know that it is not running the code that you think it is. If it does change then you know that it can only be 1.

  • How to connect external database(Ex:SQL Server/Tivoli)  from ABAP Webdynpro

    Hi,
    Any one have idea how to connect external database like SQL Server/Tivoli to access tables from WebDynPro ABAP.
    Please point to me some links if you have
    Thanks
    Praveen

    Hi,
    Please check out this link -
    FETCH DATA FROM ORACLE DATABASE USING Web Dynpro
    Regards,
    Lekha.

  • Want to connect as sysdba in sql*plus

    Hi everybody,
    Greetings...
    I want to connect as sysdba in sql*plus, because i'm trying to install oracle Apex in my system.
    Could you please anybody.

    sqlplus sys/password as sysdbaor
    sqlplus / as sysdbawith OS authentication enabled

  • Show error when connect Company Database by DI API in 2004B

    Hi
    I use the DI API to connect company database in 2004B.  I can get the company lists by SAPbobsCOM.CompanyClass.GetCompanyList().
    I write a program to testing the connection that show two different result in client and server side.
    - It show the error -2147221164 (Class not registered), when connect company database in client PC. 
    - The same program run in server, it connected.
    I already checked my config as below
    - SAP 2004B is installed 7.20.145 SP:00 PL:25
    - SAPbobsCOM67.dll is 6.70.188.0 version, and "Special Build Description" is 21.
    The client and server side are same config.
    Any ideas how I should handle this?
    Thanks
      Winson

    sorry! it is wrong posted in here!!

  • SP2-0642: SQL*Plus internal error state 2133, context

    Hi Everybody
    I am getting the below wired error msg in SQL Plus when trying to execute a select statment on a external table
    SP2-0642: SQL*Plus internal error state 2133, context 0:0:0
    Unsafe to proceed
    SP2-0642: SQL*Plus internal error state 2221, context 4294967295:4:0
    Unsafe to proceed
    Kindly help me out to solve this issue.
    Thanks & Regards
    Chandra Sekar A.
    [email protected]

    Hi Guys
    Thanks for both of you for your replies.
    The problem is still pertaining.
    Below is the structure I have used to create the external table
    CREATE TABLE "Z_TBN_JXPKIREC"
    "ORG" NUMBER ,
    "ACCT" VARCHAR2(19) ,
    "XD_REC_NBR" NUMBER ,
    "XD_REC_TYPE_KEY" NUMBER ,
    "LOGO" Number ,
    "XD_DATE_LAST_MAINT" NUMBER ,
    "XD_PLAN_NBR" NUMBER ,
    "XD_FILLER_1" VARCHAR2(21) ,
    "XD_DATE_ADDED" NUMBER ,
    "XD_PRIN_BNP" NUMBER ,
    "XD_INT_BNP" NUMBER ,
    "XD_INS_BNP" NUMBER ,
    "XD_NSF_BNP" NUMBER ,
    "XD_SVC_CHG_BNP" NUMBER ,
    "XD_LATE_CHG_BNP" NUMBER ,
    "XD_MEMBER_BNP" NUMBER ,
    "XD_OVLM_BNP" NUMBER ,
    "XD_RECV_BNP" NUMBER ,
    "XD_COLL_BNP" NUMBER ,
    "XD_USER_FEE_1_BNP" NUMBER ,
    "XD_USER_FEE_2_BNP" NUMBER ,
    "XD_USER_FEE_3_BNP" NUMBER ,
    "XD_USER_FEE_4_BNP" NUMBER ,
    "XD_USER_FEE_5_BNP" NUMBER ,
    "XD_USER_FEE_6_BNP" NUMBER ,
    "XD_FILLER_2" NUMBER ,
    "XD_FILLER_3" VARCHAR2(85)
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY LOC_TARGET
    ACCESS PARAMETERS (
         RECORDS FIXED 2500
    CHARACTERSET JA16EBCDIC930
    STRING SIZES ARE IN BYTES
    NOBADFILE
    NODISCARDFILE
    LOGFILE 'XXXX_9.LOG'
    FIELDS
    NOTRIM
    "ORG" POSITION (1:3) INTEGER EXTERNAL ,
    "ACCT" POSITION (4:22) CHAR(19) ,
    "XD_REC_NBR" POSITION (23:25) INTEGER EXTERNAL ,
    "XD_REC_TYPE_KEY" POSITION (26:27) INTEGER EXTERNAL ,
    "LOGO" POSITION (28:30) INTEGER EXTERNAL ,
    "XD_DATE_LAST_MAINT" POSITION (31:34) DECIMAL(7,0) ,
    "XD_PLAN_NBR" POSITION (35:37) INTEGER EXTERNAL ,
    "XD_FILLER_1" POSITION (42:62) CHAR(21) ,
    "XD_DATE_ADDED" POSITION (38:41) DECIMAL(7,0) ,
    "XD_PRIN_BNP" POSITION (63:71) DECIMAL(17,0) ,
    "XD_INT_BNP" POSITION (72:80) DECIMAL(17,0) ,
    "XD_INS_BNP" POSITION (81:89) DECIMAL(17,0) ,
    "XD_NSF_BNP" POSITION (90:98) DECIMAL(17,0) ,
    "XD_SVC_CHG_BNP" POSITION (99:107) DECIMAL(17,0) ,
    "XD_LATE_CHG_BNP" POSITION (108:116) DECIMAL(17,0) ,
    "XD_MEMBER_BNP" POSITION (117:125) DECIMAL(17,0) ,
    "XD_OVLM_BNP" POSITION (126:134) DECIMAL(17,0) ,
    "XD_RECV_BNP" POSITION (135:143) DECIMAL(17,0) ,
    "XD_COLL_BNP" POSITION (144:152) DECIMAL(17,0) ,
    "XD_USER_FEE_1_BNP" POSITION (153:161) DECIMAL(17,0) ,
    "XD_USER_FEE_2_BNP" POSITION (162:170) DECIMAL(17,0) ,
    "XD_USER_FEE_3_BNP" POSITION (171:179) DECIMAL(17,0) ,
    "XD_USER_FEE_4_BNP" POSITION (180:188) DECIMAL(17,0) ,
    "XD_USER_FEE_5_BNP" POSITION (189:197) DECIMAL(17,0) ,
    "XD_USER_FEE_6_BNP" POSITION (198:206) DECIMAL(17,0) ,
    "XD_FILLER_2" POSITION (207:215) DECIMAL(17,0) ,
    "XD_FILLER_3" POSITION (216:300) CHAR(85)
    LOCATION (LOC_TARGET: 'XXXX.DAT')
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    and w.r.t. SQL Plus version itz 9.2 and the database server is also 9.2
    Your replies are highly appreciated and thanks for your valuable time.
    Thanks & Regards
    Chandra Sekar A.
    [email protected]

  • Error : SP2-0642: SQL*Plus internal error state 2286, context 0:0:0

    Hi all
    I got the following error while starting a database.please help me
    SP2-0642: SQL*Plus internal error state 2286, context 0:0:0 Unsafe to proceed

    Hi,
    Please look at the notes.
    SP2-0642: SQL*Plus Internal Error State 2130 ORA-24315: Illegal Attribute Type [ID 1060880.1]
    "SP2-0642: SQL*Plus internal error state 2090, context 0:0:0" Error Encountered While Running Select Statement [ID 555757.1]
    SP2-0642: SQL*Plus internal error state 2090, context 0:0:0" Error Encountered While Running Select Statement [ID 555757.1]
    They are either Windows related or general.
    Regards,

  • When connect ipod nano 6th gen i get error message "you need to format the disk in drive G: before you can use it Do you want to format it?"

    when connect ipod nano 6th gen i get error message "you need to format the disk in drive G: before you can use it Do you want to format it?" Any suggestions please

    Hi Michael
    These are the answers
     to your questions
    What is the OS version, Windows Server 2008?   
    Microsoft Windows [Version 6.0.6001]  
    SP1
     On which disk you choose to install it, the C: drive? 
    I have Raid 5
    What
    is the output of the Checkdsk?   It find Nothing
    Could
    you please upload us a screen shot?  I have no 
    Screen shot
    Is
    the C: drive is a external drive?  NO
    Besides,
    have you manually assigned the drive letter? 
    NO
    Thanks

Maybe you are looking for