Hi,
I am getting the following problem frequently.
TNS:could not resolve service name
some times jobs are running finely.Some times it is throwing above error.
Each time i am processing the same data.Can anybody suggest me the solution.
Thanks & Regards,
-- sudhakar
TNS:could not resolve service name
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
TNS:could not resolve service name
i need to know datastage
Hi,
Check this post:
viewtopic.php?t=92460
May give you some idea. If not you need to check with your DB admin regarding the connection.
Check this post:
viewtopic.php?t=92460
May give you some idea. If not you need to check with your DB admin regarding the connection.
TNS:could not resolve service name
some times jobs are running finely.Some times it is throwing above error.
Each time i am processing the same data.
Go to Oracle Home on your unix box and check for tnsnames.ora file in $ORACLE_HOME/network/admin folder
find out if the Entry for Database exists in the tnsnames.ora file.
check if the tnsnames.ora is a local file or is it a file on the network (mounted using automout). If it is a file on the Network share, check for the network connectivity.
find out if the Entry for Database exists in the tnsnames.ora file.
check if the tnsnames.ora is a local file or is it a file on the network (mounted using automout). If it is a file on the Network share, check for the network connectivity.
TNS:could not resolve service name
some times jobs are running finely.Some times it is throwing above error.
Each time i am processing the same data.
Simplicity is the ultimate sophistication
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
please try the following in the same ordersudhakar_viswa wrote:Hi,
Thanks for reply.I could not get the solution.
Thanks & Regards,
-- sudhakar
1) type
Code: Select all
which tnsping
cd to the path returned by 1
else
Code: Select all
find . -name tnsping 2>/dev/null
end if
3)
Code: Select all
tnsping SERVICE_NAME
open your .dsenv file [find it in the same way as 2 else part]
vi .dsenv
type /TNS
goto the path returned by TNS and add the missing entry
this entry you can get from your DBA or the dev team
4)based on 3 set your ORACLEHOME
Code: Select all
setenv ORACLE_HOME name
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: