-
temporarily move the sqlnet.ora and try then
sqlplus xxx@DQMDB
-
Originally posted by davey23uk
temporarily move the sqlnet.ora and try then
sqlplus xxx@DQMDB
Tried that yesterday too.
Here it is again:
$ rm sqlnet.ora
$ sqlplus sysshep@DQMDB
SQL*Plus: Release 9.2.0.4.0 - Production on Fri Jun 10 16:40:41 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter password:
ERROR:
ORA-12154: TNS:could not resolve service name
-
is TNS_ADMIN env variable set and pointing elsewhere?
-
Originally posted by davey23uk
is TNS_ADMIN env variable set and pointing elsewhere?
Sure feels like it but its not..its how I nav to the dir to work on the files..
echo $TNS_ADMIN
/usr/ora92/OraHome/network/admin
Feels like something is wrong with the binaries or something. Which is why I tried to couch the Thread in, when have you had a 12154 error that was NOT related to the listener.ora/sqlnet.ora/tnsnames.ora.
Its a weird one and they have not given me the clients Metalink ID yet so I cannot throw it over the wall to Oracle.
Why the trace does not show a problem is frustrating, 2000 pages of nothing useful.
-
last suggestion from me then im out of ideas
try this, you are basically supplying the connect info directo to sqlplus so bypassing the tnsnames file (make sure you have no spaces anywhere, its all on one line and the details are correct)
Code:
sqlplus system/manager@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=x.x.x.x)(PORT=1530)))(CONNECT_DATA=(SERVER=DEDICATED)(SID=dqmdb)))
If that doesnt work id start questioning the listener
-
You betcha - that worked ( I had to alter it a bit )
so that means the TNS file is whack. Funny we retyped it in yesterday.
-
Thanks Davey!
I will use that approach in the future.
This worked and was then ported into the TNS file and its working for everyone now.
sqlplus
'dqm/dqm@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=123.123.123.123)(PORT=1530)))(CONNECT_DA TA=(SERVICE_NAME=dqmdb)))'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|