TNSPING Connection Failed to Resolve Name Error
Hello,
We can run sqlplus to connect to the local database on all my Linux accounts, but we can’t connect to the database using the “utility” service name which is utilized by all our shell scripts.
We have, for example, a script that calls a program “utility” that we want to be invoked.
We would run tnsping utility to find the utility job in a shell script:
USERID=CRONS/<password>@utility
On one node, when we do a tnsping utility command, we are able to connect to sqlplus.
On another node, when we do a tnsping utility, we get the following message: