Oracle database connect error
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Oracle database connect error

  1. #1
    Join Date
    Oct 2002
    Location
    India
    Posts
    42

    Oracle database connect error

    I am unable to connect to an Oracle database which is on my machine using SQL* Plus while connected to my company network. I get the error (TNS-12535: TNSperation timed out). But when I remove the network cable, I am able to connect to the same Oracle database. I am also successfully able to TNSPING the Oracle database server with the network cable connected. I am not sure what network security settings need to be modified, if any.

    Any help is highly appreciated.

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,554
    Tell us about your TNSNAMES entry for your local database, is it pointing to localhost?
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    Oct 2002
    Location
    India
    Posts
    42

    Smile

    This was the entry in my TNSNAMES.ORA file

    XEL9DB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = H1B-6F301-8Y49)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = xel9db)
    )
    )

    But I am able to connect when I changed the entry to

    XEL9DB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = xel9db)
    )
    )

    PAVB, Thank you very very much for the hint

  4. #4
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,554
    Cool! I'm glad it worked out.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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