Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 173179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:17:51+00:00 2026-05-11T13:17:51+00:00

We recently changed physical DB’s, new servers, new locations, same database schema and data

  • 0

We recently changed physical DB’s, new servers, new locations, same database schema and data and since the change over, whenever we try to connect directly to the DB in our own desktop type applications about half of the time we get this error:

SQL*Loader-704: Internal error: ulconnect: OCIServerAttach[0] ORA-12545: Connect failed because target host or object does not exist 

The rest of the time, it connects right away without any issues. Our applications that establish connections via JDBC don’t seem to have any issues but we do when going through something that does a tnsnames.ora lookup (or that’s my hunch at least). TNSPING works 100% but using an oracle executable like SQLLDDR fails at least 50% of the time. Here’s an anonymized snppet of our TSNNAMES file and a TNSPING output:

DB_CONNECTION =   (DESCRIPTION =     (ADDRESS_LIST =       (ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.3.4)(PORT = 1521))   )   (CONNECT_DATA =     (SERVICE_NAME = MY.URL.COM)   ) ) 

And the TNSPING:

C:\>TNSPING DB_CONNECTION TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0  Copyright (c) 1997 Oracle Corporation.  All rights reserved.  Used parameter files: C:\oracle\ora92\network\admin\sqlnet.ora   Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 1.2.3.4)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = MY.URL.COM))) OK (200 msec) 

I have the SID of the DB, which is what the JDBC connections rely on but adding it to the tnsnames.ora doesn’t improve the odds of making a connection. I don’t know enough about how the tnsnames file is being used by Oracle to intelligently resolve this issue. What can I try?

Edit

The new DB’s may be two load balanced databases which may be part of the problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:17:51+00:00Added an answer on May 11, 2026 at 1:17 pm

    We recently had a similar issue with our application. The application would sometimes connect to the Oracle RAC and sometimes it would complain with ORA-12545. In short the issue was that the server had a real name while we were using virtual IP addresses in TNSNAMES.ORA. Once we added the mapping of the server name to IP address via system32\drivers\etc\hosts file everything started to work properly.

    I have written a bit more in my blog <shameless advert>http://dcarapic.blogspot.com/2009/04/intermittent-ora-12545-error.html</shameless advert>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 179k
  • Answers 179k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Session variables are stored on the server side. Only the… May 12, 2026 at 3:53 pm
  • Editorial Team
    Editorial Team added an answer Unfortunately, this appears to be by design. If you must… May 12, 2026 at 3:53 pm
  • Editorial Team
    Editorial Team added an answer Mostly. I haven't read it fully, but I prefer S#arp… May 12, 2026 at 3:53 pm

Related Questions

We recently changed physical DB's, new servers, new locations, same database schema and data
I've inherited a 10K-line program written in 8051 assembly language that requires some changes.
We recently changed some of our system requirements on a light weight application (it
We have a system that uses a SQL server 2005 database with a number
I have reviewed DashCommerce, nopCommerce and DotShoppingCart for possible use and all of them

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.