DBAsupport.com Forums - Powered by vBulletin
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: ggnagaraj : Here is what I got

  1. #1
    Join Date
    Oct 2002
    Posts
    21
    When I did tnsping jaya I got
    TNS-03505 : Failed to resolve name

  2. #2
    Join Date
    Jan 2002
    Location
    Up s**t creek
    Posts
    1,525
    Did you save the network configuration before you exited the Net8 config utility?

    Regards
    Jim
    Oracle Certified Professional
    "Build your reputation by helping other people build theirs."

    "Sarcasm may be the lowest form of wit but its still funny"

    Click HERE to vist my website!

  3. #3
    Join Date
    Oct 2002
    Posts
    21
    I have followed all the steps shown in Net 8 Configuration Assistant. At the end I pressed finish. One more thing is I can view jaya under service Naming under Local under Net8 configuration in Net 8 Assistant and I saved it.But still when I open SQL Plus I get could not resolve service name.
    Please help.

  4. #4
    Join Date
    Jan 2002
    Location
    Up s**t creek
    Posts
    1,525
    Can you post the contents of you $ORACLE_HOME/network/admin/tnsnames.ora so we can see how the service has been defined.

    Also do you have multiple ORACLE_HOMES? If so have you made sure the tnsnames.ora file in each has the service defined?

    Regards
    Jim
    Oracle Certified Professional
    "Build your reputation by helping other people build theirs."

    "Sarcasm may be the lowest form of wit but its still funny"

    Click HERE to vist my website!

  5. #5
    Join Date
    Oct 2002
    Posts
    21
    here is my tnsnames.ora file content..
    # TNSNAMES.ORA Network Configuration File: D:\ORCL\Ora81\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    JAYA.=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = APPS)
    )
    )

    I dont have any multiple copies of tnsnames.ora.
    I didnot get your second question :
    >> Do you have multiple ORACLE_HOMES ?
    IN MY D: directory I have another directory called Oracle8.0.Should I delete it.


  6. #6
    Join Date
    Oct 2002
    Posts
    21
    # TNSNAMES.ORA Network Configuration File: D:\ORCL\Ora81\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    JAYA.{value}=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = {ip address})(PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = APPS)
    )
    )

    here {value} is same as NAMES.DEFAULT_DOMAIN value in sqlnet.ora.

  7. #7
    Join Date
    Sep 2000
    Location
    Chennai, India
    Posts
    865
    Originally posted by rjayaleela
    (SID = APPS)
    Do one thing, go to the database server and using sqlplus, give username: internal and press enter without entering anything in the other 2 fields.

    Now, at sql prompt, type the following...

    Code:
    select * from v$instance;
    Now, is the instance_name column (from the query) and your SID value quoted above (from the tnsnames.ora) the same ?

    If not, change and retry the connection from the client.

    HTH.

  8. #8
    Join Date
    Jan 2002
    Location
    Up s**t creek
    Posts
    1,525
    It may be that your default ORACLE_HOME is still the 8.0 one an easy way to test that would be to copy the tnsnames.ora and sqlnet.ora from your 8.1 home to the network/admin (or more likely net80/admin) in the 8.0 directory tree, then try to connect via SQLPlus.

    If that works you will need to deinstall the 8.0 home and check your registry entries to make sure it is using the correct default home

    Oracle client installs on windoz are just great fun

    Regards
    Jim
    Oracle Certified Professional
    "Build your reputation by helping other people build theirs."

    "Sarcasm may be the lowest form of wit but its still funny"

    Click HERE to vist my website!

  9. #9
    Join Date
    Oct 2002
    Posts
    21
    I cant access anything from server machine. I have access only to my machine which connects as client to remote server.

  10. #10
    Join Date
    Oct 2002
    Posts
    21
    Hi Jovery,
    In the registry I have checked the values for ORACLE_HOME and ORACLE_HOME_NAME

    they point to the correct directory where Oracle is installed. One thing let me know where is there a problem : In configuring Oracle Client or in installation.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width