TNS- problem

Hi,I have Windows 2003(64 bit) server and I install oracle10g r2.
I execute lsnrctl start then occur following error
LSNRCTL> start
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
LSNRCTL>
why?

Also apart from .ora files could please post listener.log file also, its location would be there in listener.ora file.
regards
Pravin

Similar Messages

  • Tns problem with Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools

    I installed the full
    Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio
    now I am at the good old "[ORA-12154: TNS:could not resolve the connect identifier specified]" error.
    I copied the same tnsnames.ora as used on the db server
    onto the client "C:\Oracle\product\11.1.0\client_2\Network\Admin".
    The host name is right since a normal ping works. TNSping is not available.
    but I get the [ORA-12154: TNS:could not resolve the connect identifier specified] error.
    The listener is running and the instance as well since it all works on the source server.
    I tried it with
    SET path=c:\oracle\product\11.1.0\client_2\bin
    but tnsping is still not recognized.
    sqlplus works on the other hand when I set it to
    SET path=c:\oracle\product\11.1.0\client_2\
    what is going on...

    hey
    u can post your query here, and i think everyone here is to share opinion so do not hesitate to do so and please try to google before posting here,
    and we know no one is expert like some people saying 'boring questions' you just try to overcome your problem and you will definitly get your problem solved .
    some mpeople ar still there who answeres hopeless questions and say nothing about them but when a fresher askin a qustion is not tolarated by them they think everyone is born DBA here
    they always tend to discouraging people here on forums,and i think they are vvolunteers to reduce crowd here on forums, inspite of there experience and people respect them they can not control their anger
    so please post you tns here, i think there are ways to ask people to google and search docs first, but not like this
    thanks and regards
    VD
    Edited by: vikrant dixit on Jun 29, 2009 4:33 AM

  • Getting TNS problem while using SQLLDR unix command

    I have ons shell file (finalloader1.sh) which contains below lines of code to load a text file (data.txt) into an oracle table.
    export ORACLE_HOME=/opt/oracle/product/11.2.0.3/client
    export TNS_ADMIN=/sys_apps/admnapps/loadingplace/bin
    export ORACLE_SID=d_btgen
    export PATH=/opt/oracle/product/11.2.0.3/client/bin:$PATH
    ## SQL*Loader command to execute the loading of data from data.txt into oracle table   ##
    function sql_load
            sqlldr /@d_btgen, control=/sys_apps/admnapps/loadingplace/bin/load.ctl, log=/sys_apps/admnapps/loadingplace/in/load.log, errors=100
            result=$?
            check_for_error ${result} 101
    function sql_script
            sqlplus /@d_btgen @/sys_apps/admnapps/loadingplace/bin/update_insert.sql
            result=$?
            check_for_error ${result} 102
    exec     
            sql_load
            sql_script
    See the text file (data.txt) format below , which I am trying to load (note that seperator is pipe operator)
    hafees|hamsa||hafees hamsa|39879|+1234|[email protected]|consultant|Professional|215010||2013-08-12||A||sdfgt2
    See the controller file (/sys_apps/admnapps/loadingplace/bin/load.ctl) below.
    LOAD DATA                                                                      
    INFILE '/sys_apps/admnapps/loadingplace/in/data.txt'                                              
    BADFILE '/sys_apps/admnapps/loadingplace/in/bad.bad'                                            
    DISCARDFILE '/sys_apps/admnapps/loadingplace/in/dsc.dsc'                                        
    DISCARDMAX 5                                                               
    INTO TABLE emp_data FIELDS TERMINATED BY '|'
      name_last"upper(:name_last)"
    , name_first"upper(:name_first)"
    , c_middle_initial"upper(SUBSTR(:c_middle_initial, 1, 14))"
    , emp_name"upper(:emp_name)"
    , em_number
    , phone
    , email
    But problems comes here when I am executing my shell file (finalloader1.sh). See the error below.
    SQL*Loader: Release 11.2.0.3.0 - Production on Fri Aug 30 07:06:54 2013
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12154: TNS:could not resolve the connect identifier specified
    ERROR invoking SQL*Loader in function sql_load.
    finalloader1.sh: line 68: print: command not found
    Shell Script UNSUCCESSFULLY ENDED with a return code of (1) at \c
    08/30/2013/07:06:54 AM
    I am not understanding the issue. I googled this many times but came to know that there is some configuration issue in tnsnames.ora file. But as per my knowledge I have done every settings those I know. See my tnsnames.ora file below.
    d_btgen.world=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rwad10.rw.discoverfinancial.com)(PORT=1576))(CONNECT_DATA=(SERVICE_NAME=d_btgen.dfs.us)))
    Any one of you can help me on this. You timely help is well appreciated.

    Hi,
    At first look it just seems that in your shell script you have d_btgen but in your tnsnames you have  d_btgen.world
    You need to either add .world to you shell script, remove .world from your tnsnames or add the parameter name.default_domain=world in your sqlnet.ora
    Cheers,
    Harry

  • TNS problems in 9i on Windows 2003 Server

    Goody day
    I have installed Oracle9i Database (and 9i Developer Suite) onto an HP ML370 Server running Windows 2003 Server. My problem is that wherever I need to use the username / password for things like sqlplus, forms, imp, etc I get SERVICE_NAME errors, TNS adaptor protocol errors, Can't resolve SERVICE_NAME and many more in that description field.
    Please help.
    Thanks
    William

    You need to look in the listener.ora for the db you want to connect to (did you create one after installing Database product?). Then you need to verify that entries in tnsnames.ora of both DB and DS homes "matches" with listener.ora.
    Other than that, it is more likely to have a chance to help out if you provide some details of actions taken and corresponding errors (exact codes and messages).

  • JDBC TNS PROBLEM

    Hi all,
    Thanks for the warning this is my problem:
    exception
    org.apache.jasper.JasperException: Exception in JSP: /DAO.jsp:16
    13:
    14: Class.forName("oracle.jdbc.driver.OracleDriver");
    15:
    16: conn = DriverManager.getConnection("jdbc:oracle:thin://PC280631275888:1521:XE","vincenzom86","xxx");
    17:
    18: Statement st = conn.createStatement();
    19:
    Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:orcl
    i've change also all the sid name in the listner.ora and tnsnames.ora with XE that is the SID of my DB.
    Vincenzo

    If XE is a SID specify the following url
    jdbc:oracle:thin:@PC280631275888:1521:XE
    If XE is a service specify the following url
    jdbc:oracle:thin:@//PC280631275888:1521/XE

  • Oracle ODBC Connection: TNS Problem?

    Hello!
    I'm trying to connect to a Oracle Database from a 64bit Linux machine.
    I'm using instantclient 10.2.0.4 64bit and oracle odbc driver.
    Here are all files and env variables, i created:
    ODBCINST.INI
    [Oracle]
    Description = Oracle Driver
    Driver = /usr/lib/libsqora.so.10.1
    UsageCount = 2
    ODBC.INI
    [DS1]
    Description = DS1
    Driver = Oracle
    Trace = Yes
    TraceFile = sql.log
    Database = //111.11.11.111:1111/db1
    User = user
    Password = pass
    LD_LIBRARY_PATH = :/usr/lib/oracle/10.2.0.4/client64/lib
    SQLPATH = /usr/lib/oracle/10.2.0.4/client64/bin
    I also had edited the SQLConnect.c and isql.c: http://sourceforge.net/tracker/?func=detail&aid=2260937&group_id=1544&atid=351544
    If i'm tring to connect to the database ( isql -v DS1 user pass ), i'm getting this error message:
    [S1000][unixODBC][Oracle][ODBC][Ora]ORA-12162: TNS:net service name is incorrectly specified
    I found a nice work-around for this problem:
    export TWO_TASK=//111.11.11.111:1111/db1
    After this change, i can connect to the database...
    But this means, all oracle connections are trying to connect to THIS server, right? But i need more then one server possibility...
    Any ideas?
    Thanks, mdo.

    Hello
    I have found the resolution to the problem , and below is the details if required by any one .
    Thanks
    Harshad
    1. Using MS Access, follow the process to link tables from the Oracle
    database using the user account you wish to restrict, until the list of
    attachable objects is shown.
    2. Note the tables that appear in the list. You should see a long list of
    tables owned by multiple schema owners.
    3. Without linking any tables, close the Link Tables dialog box.
    4. Create an ALL_OBJECTS view and ALL_SYNONYMS view in the user's schema in
    which you used to log into the database.
    For example:
    CREATE OR REPLACE VIEW SCOTT.ALL_OBJECTS AS
    SELECT * FROM SYS.ALL_OBJECTS
    WHERE OWNER IN ('SCOTT');
    CREATE OR REPLACE VIEW SCOTT.ALL_SYNONYMS AS
    SELECT * FROM SYS.ALL_SYNONYMS
    WHERE OWNER IN ('SCOTT');
    5. Using MS Access, again follow the process to link tables from the Oracle
    database using the user account from above to log in.
    6. Note the tables that show up in the list. The only tables listed should
    be those owned by the schema owner specified by the views, if the example
    statement above is used.
    --NOTE that this technique has the limitation that only objects actually
    owned by the view user will be viewable. For example, if the user has
    a synonym that points to an object in another user's schema, it will not
    be visible

  • TNS problem in report builder

    Hi Team
    Iam very much new to the report builer tool just started i have got some modification work in the report
    while i open my RDF in the report builder .... iam unnable to run the report while i try to connect to the data base iam gettin unable to connect to specified database TNS could not resolve the connect identifier specified
    how to solve this issue but by username ,password and database details are correct ... i can able to connect the toad but i could not able to connect report builder...
    Thanks in advance
    AT

    Hi AJ
    In the tnsnames.ora file i can able to see my connection details.... for my db
    under reports developer installation folder.? ?
    Thanks in advance
    AT

  • Listener Status Problem

    Hi All,
    My DB Version: 10.2.0
    OS Version: Solaris
    When i am trying to get the status of listener i am getting below error
    bash-3.00$ lsnrctl status
    LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 23-FEB-2012 11:20:42
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Message 1053 not found; No message file for product=network, facility=TNSMessage 1020 not found; No message file for product=network, facility=TNSMessage 1021 not found; No message file for product=network, facility=TNSMessage 1022 not found; No message file for product=network, facility=TNSMessage 1023 not found; No message file for product=network, facility=TNSMessage 1026 not found; No message file for product=network, facility=TNSMessage 1034 not found; No message file for product=network, facility=TNSMessage 1024 not found; No message file for product=network, facility=TNSMessage 1025 not found; No message file for product=network, facility=TNSMessage 1040 not found; No message file for product=network, facility=TNSMessage 1033 not found; No message file for product=network, facility=TNSMessage 1028 not found; No message file for product=network, facility=TNSMessage 1415 not found; No message file for product=network, facility=TNS Message 1050 not found; No message file for product=network, facility=TNS
    Message 1050 not found; No message file for product=network, facility=TNS
    Message 1029 not found; No message file for product=network, facility=TNSMessage 1411 not found; No message file for product=network, facility=TNS
    Message 1408 not found; No message file for product=network, facility=TNS
    Message 1408 not found; No message file for product=network, facility=TNS
    Message 1411 not found; No message file for product=network, facility=TNS
    Message 1408 not found; No message file for product=network, facility=TNS
    what does this means

    Vikas Kohli wrote:
    -bash-3.00$ cat /etc/passwd | grep oracle
    oracle2:x:222:309:OraIstall:/export//home/oracle2:/usr/bin/bash
    oracle:x:300:300:Oracle software owner:/export/home/oracle:/usr/bin/bashGiven that you have 2 "oracle" users ("oracle2" and "oracle") it strongly suggests you also have 2 ORACLE_HOMEs. Which user are you logged on as when you get the "message not found" error. Show us
    env|sortfor both "oracle" and "oracle2", and if they aren't who you are logged on as, do it for that user as well.
    (surely you aren't doing this as root . . . .)
    >
    -bash-3.00$ ps -ef |grep tns
    oracle2 16676 1 0 Feb 23 ? 0:18 /u01/app/oracle/product/10.2.0/Db_1/bin/tnslsnr LISTENER -inherit
    oracle2 21412 21357 0 10:20:27 pts/11 0:00 grep tns
    -bash-3.00$ ls -ltr $ORACLE_HOME/bin/lsnrctl
    -rwxr-xr-x 1 oracle2 dba2 130888 Jun 12 2008 /u01/app/oracle/product/10.2.0/Db_1/bin/lsnrctlAnd as we work through this, you (and all other responders) need to keep very clear that we are dealing with two distinct problems. You have the tns problem that triggers an underlying error, but on top of that you have the problem that Oracle cannot find the message file that it needs to properly report the tns problem.
    Edited by: EdStevens on Feb 29, 2012 6:21 AM

  • Calling reports 6i from Forms 9i

    Hi All,
    I am updating a menu application that we run from 6i to 9i. The menu app form is a list of reports. The runtime path for each report is returned to menu_link_all.path.th Works great in 6i form and reports however, I can not figure out how to get the same from the 9i form calling a 6i report.
    Here is the code I am using from the 6i form....
    PROCEDURE p_run_item IS
    -- parameter list
    pl_id     ParamList;
    pl_name     VARCHAR2(50) := 'pl_item_id';
    v_report     varchar2(100);
    BEGIN
    p_logon(:menu_link_all.schema_name, :menu_link_all.password,:menu_link_all.connection);
    if :menu_link_all.item_type = 'R' then
         set_report_object_property('view_report',report_filename,:menu_link_all.path);
    v_report := run_report_object('view_report');
    elsif :menu_link_all.item_type = 'F' then
    -- call modal form if connecting to any database other than qlqls/qlqls@qpro
    -- otherwise other open forms will also lose their connection to their respective databases
    if upper(:menu_link_all.schema_name) <> XXX'
    and upper(:menu_link_all.password) <> 'XXX'
    and upper(:menu_link_all.connection) <> 'XXX' then
    call_form(:menu_link_all.path,NO_HIDE,NO_REPLACE,NO_QUERY_ONLY,SHARE_LIBRARY_DATA);
    else
    open_form(:menu_link_all.path,activate, session, share_library_data);
    end if;
    elsif :menu_link_all.item_type = 'O' and :menu_link_all.web_item = 'Y' then
    web.show_document(:menu_link_all.path,'_self');
    else
    host(:menu_link_all.path);
    end if;
    END;
    Within the report property pallette filename := placeholder
    I did not write the original and am not sure why the filename is set to placeholder would appreciate knowing though
    Looking forward to your response
    Chris

    My TNS problems are a result of our Network guys insisting on deploying everything through Novell Application Launcher, and pushing down TNS with the apps. We currently run systems that talk to 7.3 client, 8 client and 9 client I do not need to tell you what happens when the techos that reimage PC (2000 odd) leaving the user to deploy each of their apps which of course they never do in the correct order etc etc etc....
    Will take your advice and stay with 6i as long as Oracle keep supporting it, hopefully one day they will realise that some of us need to operate in a client server environment.
    Cheers and thanks
    Chris

  • Do I need to get 300 Senior Managers ?

    Hi...
    Do i need to get 300 Oracle Consultant Senior Managers to put 9iAS working, or i just need to burn out the TECHNET CD's ?
    I think each day Oracle products are getting worse... I've read 3 times the FAQs, the Release Notes, the Installation Guide, etc, etc, etc and i can put this 9iAS server running...
    Install Error reading temp files...
    TNS problems in Isuites home only, 806 works fine!
    I've tried to install in 9iAS in a clean server with NT4 SP6, with no database. The database (817) it's on a remote computer in the same network!
    The install have some problems in reading one or two temp files.. but i gnored them!
    When install finished, the SQLPLUS try to access my DB but i get sometimes NLS_LANG problems, and other times TIMEOUT problems... TNSPING works fine...
    NLS_LANG problems connecting to database... etc, etc...
    ORACLE is getting worse!!! It seems like MS products!
    null

    I agree completely - currently I tend to regard IAS as "a mess of great complextity" ;)
    I've been working with Webdb 2.2, Portal 3.0 EA and now Portal for about 1 year now.
    With Portal 3.0 I had so many problems - mostly with the install/upgrading. And it hasn't become any better recently. Since you can't:
    - export your portal data (what you created yourself)
    - install a new IAS (new version that is)
    - import old portal-data
    you are FORCED to REINSTALL the complete IAS in same directory then upgrade the portal as indicated by the docs (btw: why doesn't it use the same settings automatically?).
    SO - I just wasted 3 (THREE!) days trying to upgrade from IAS 1.0.2.1 to IAS 1.0.2.0 taking great care to follow every step mention in the guides - including those 45 MB (insane!) zipped scripts for the Portal component (why aren't these includede btw??).
    No errors logged, nothing looks wrong. But it just didn't work!
    Though I did exactly as told my portal is now DEAD. This SHOULDN'T happen?! I can't see any portal pages - no errors. It just hangs when trying to login and I couldn't find anything to solve this and nobody around here in DK has tried this upgrade (asked Oracle DK... nope). This means only someone in US has ever tried this (since
    Wow - I can WAIT to tell my customer this happy news....
    This is the 3. version I've worked with and the install scripts, readme's is getting more and more complex everyday.
    Documentation doesn't always corrospond to the installation either - so I've got used to regard the docs as "sort of" instead of "exactly" like this. A LOT more examples are needed.
    I think for sure Oracle must be tired of hearing all this again and again. And I know this post is yet another frustrated technician ;)
    But I DO have customers choosing the IAS/Portal. And I really don't know what to say to them when they ask me "How must will it cost to install IAS at our place".
    My experience has shown it can take anything from 2-7 days since you keep finding stupid things everywhere which prevents you from progressing. I wish less time was spent on other parts and more on the robustness of the install + running system.
    Just think of Micro$soft's service packs ... very simply - very easy. And they work everytime.
    True, I could simply take all your DBA+IAS+Portal courses (took some already). Sure - I could use 2 months just installing, testing etc. so I end up knowing everything there is to know about the IAS.
    But then you should reduce the price of the package accordingly - NO customer is going to pay BOTH the price of the IAS when the install is so error-prone. We all have timing schedules to match and this is not acceptable. Just about ANY other software package I ever installed of this size WORKED after the install.
    Out-of-the-box.
    Now - I know it cannot be THAT simple for IAS. And I DO want to help out here if I can!
    Believe me, I just want to be able to understand why it looks like Oracle is inadvertly trying to follow MS in the pursuit of more features in their products rather than fixing those features not yet working as they should.
    So dear Oracle - this would probably help me (and others):
    - WAY FASTER installs (just create a non-java installer that works...)
    - more help to the install options (examples, examples, examples...)
    - builtins/scripts to export OWN data only
    - builtins/scripts to import OWN data only
    - able to remove/install indiv. component (apache, jsdk, jserv, portal, login srv)
    The abillity to easily export/import data is a must. There shouldn't be this tight integration with the portal30 schema preventing export/upgrade/import. That would have saved us 3 complete reinstalls alone.
    Or please tell me HOW I am going to upgrade production portals without taking them offline for 2 days?
    I still think Oracle IAS is a excellent idea and possibly a superior product. But these things need fixing now ASAP!
    And - Kasper - I disagree with you completely. I wasn't hired by my boss to do research, find and fix bugs for Oracle or ANY other company except our paying customers.
    Not that I wont help if I can - but you're dead wrong and way out of line here I think.
    null

  • Creating Oracle service in Oracle 8i Client for Oracle 10g XE

    Hi all
    We tried Oracle 10g XE on one Machine X - OS Windows XP Professional SP2 , It had earlier Oracle 8i Client. It installed fine. It is wonderful and easy to install.
    Services started automatic for listner as well as OracleXE. We are able to create fresh Oracle Service in Oracle 8i client as well from the same machine X.
    Problem
    We are not able to create Oracle Service from another machine say Y which also has Oracle 8i client with the Oracle 10g XE service. We get TNS Problem error.
    Kindly guide as to how to make oracle service with OracleXE from some other machine. OracleXE does not install networking tools.
    Suresh Bansal

    Oracle XE doesn't install assistants such as dbca or netca, don't expect to find them, XE is a compact and limited oracle edition.
    >> We get TNS Problem error.
    Could you please further detail the tns error you got?
    ~ Madrid

  • Connecting to oracle 11g XE using forms 6i

    Dear sir
    i would like to connect to my database in oracle 11g xe using forms 6i; i have tried with normal procedure of defining a service name locally and connecting thru that, but it didn't work, forms 6i crashes while tring to connect to database. can anyone help me to do that?
    thanks in advance
    uday

    911781 wrote:
    yes tnsnames.ora i have configured accordingly
    please find below the contents of respective tnsnames.ora
    forms tnsnames.ora
    CRMXE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.9)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = xe)
    database tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-E929IBU4N98.derivequity.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )Hello, Uday
    copy bellow TNS to your forms TNS
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-E929IBU4N98.derivequity.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )It's just TNS Problem...
    Hope it works...
    If someone's response is helpful or correct, please mark it accordingly.

  • Developer 6 (Graphics)/Personal Oracle 7.3.3 - Connectivity

    SQL*Plus, Forms and Reports, all seem to connect to Personal
    Oracle V7.3.3 OK. However when I connect with Graphics, although
    I get a message indicating successful completion, the logon
    dialogue box is still displayed and the connection hasn't
    succeeded.
    Any ideas?
    Sean
    null

    Faisal Shaikh (guest) wrote:
    : I amd having problem connecting Developer 6 with Personal
    Oracle
    : 7. Problem seems to be with TNS.
    Faisal,
    You may already have resolved this issue but just in case you
    are still getting problems, here is some info that may help.
    I faced the same problems with Oracle Developer 6 and Personal
    Oracle 7.3.3. Oracle Developer 6 uses Net8 to connect to the db
    whereas Personal Oracle 7 uses SQL*Net, hence the TNS problems
    you have been getting.
    There is a solution. Oracle Support suggested that you had to
    have a listener running in order for the connection to work. To
    do this you needed to instal the SQL*Net Add-Ons from the
    Personal Oracle CD, configure TNSNAMES.ora to point to a dummy
    IP address and start the listener. When I tried this I
    discovered that you don't infact need amend the TNSNAMES.ora
    file or run up the listener. As long as the SQL*Net add-ons are
    installed, the connection from Oracle Developer 6 to Personal
    Oracle 7 seems to work.
    Hope this is of some help.
    Sean Griscti
    null

  • Looking for Download link of oracle 10g for linux PPC (IBM POWER)

    The official download link has been removed in OTN. Looking for show of hands... thanks!

    Osama_mustafa wrote:
    I think this thread will not be problem if its repeated ,No, it was not about "repetition". I was pointing out that site in question could be useful after all, and I preferred to link to existing answer.
    but the problem with thread about TNS problem which is alot in this forum , But no One using Search mechanism.Most of those basic TNS/Oracle Net "errors" are well documented, even with troubleshooting steps and possible actions to help resolve the problem. But if you don't know to reference the docs or even that it exists, it won't help. It could also be becuase you don't have taken enough time to become familiar with the structure and language of Oracle products (Database specifically). That kind of learning experience seldom occurs via a few forum threads.

  • Cannot connect  remote database

    hi,
    i have my database on aix(oracle 10g rac) but i cannot access other database from my aix machine . i have entry of other database into my tns file.
    when i trying to connect
    username@sid
    i get tns problem.wt to do ?
    thxs

    ORA-12154:     TNS:could not resolve the connect identifier specified
    Cause:     A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
    Action:     
    - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
    - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is accessible.
    - Verify that the net service name or database name used as the connect identifier is configured in the directory.
    - Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Make sure the host, port and service name specified are correct.
    - Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.
    If any of these is not working for you,post here your tnsname, listener and sqlnet.ora files.
    Aman....

Maybe you are looking for