tnsping resolves but ORA-12154

This is a discussion on tnsping resolves but ORA-12154 within the Oracle Server forums in Oracle Database category; There is one NT workstation with oracle 9.8.0 on it. This has been added to a local tnsnames file and you can connect locally. When I try to connect externally I recieve ORA-12154: TNS:could not resolve service name Tnsping works just fine .... Your input here will be highly appreciated Massa...

Go Back   Database Forum > Oracle Database > Oracle Server

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-24-2006, 02:08 PM
Default tnsping resolves but ORA-12154

There is one NT workstation with oracle 9.8.0 on it.
This has been added to a local tnsnames file and you can connect
locally.
When I try to connect externally I recieve

ORA-12154: TNS:could not resolve service name Tnsping works just fine
....


Your input here will be highly appreciated


Massa

Reply With Quote
  #2  
Old 10-24-2006, 03:00 PM
Default Re: tnsping resolves but ORA-12154

What do you mean by 'When I try to connect externally' ?
Are you doing the tnsping on the same computer were the connection
fails?
If you are using another computer, then that is where the tnsnames.ora
file must be updated (the client) and possibly the sqlnet.ora file.
Otherwise, what you are describing should work.

Please provide more info.

Reply With Quote
  #3  
Old 10-24-2006, 03:00 PM
Default Re: tnsping resolves but ORA-12154

What do you mean by 'When I try to connect externally' ?
Are you doing the tnsping on the same computer were the connection
fails?
If you are using another computer, then that is where the tnsnames.ora
file must be updated (the client) and possibly the sqlnet.ora file.
Otherwise, what you are describing should work.

Please provide more info.

Reply With Quote
  #4  
Old 10-24-2006, 03:08 PM
Default Re: tnsping resolves but ORA-12154

I thought it should work too.

External Server is the remote Server .

And yes tnsnames is updated on the remote serve


Thanks a milion for your time

Reply With Quote
  #5  
Old 10-24-2006, 03:08 PM
Default Re: tnsping resolves but ORA-12154

I thought it should work too.

External Server is the remote Server .

And yes tnsnames is updated on the remote serve


Thanks a milion for your time

Reply With Quote
  #6  
Old 10-24-2006, 03:17 PM
Default Re: tnsping resolves but ORA-12154

It's not that I don't believe you, but ...

Can you do a screen capture of the following ... replacing abc1 with
your service name, and feel free to remove specific server name
information - both from the server with the problem:

tnsping abc1

sqlplus /nolog
set instance abc1

sorry to be so doubting, but ...

Reply With Quote
  #7  
Old 10-24-2006, 03:17 PM
Default Re: tnsping resolves but ORA-12154

It's not that I don't believe you, but ...

Can you do a screen capture of the following ... replacing abc1 with
your service name, and feel free to remove specific server name
information - both from the server with the problem:

tnsping abc1

sqlplus /nolog
set instance abc1

sorry to be so doubting, but ...

Reply With Quote
  #8  
Old 10-24-2006, 04:35 PM
Default Re: tnsping resolves but ORA-12154


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (COMMUNITY =
tcpnbo.world)(PROTO
COL = TCP)(Host = nb009984)(Port = 1521)) (CONNECT_DATA = (SID =
lwcrown) (GLOBA
L_NAME = lwcrown.world)))
OK (1030 msec)


SQL> set instance lwcrown
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SQL>

My passwords had been messed with .This is a classic example of make no
assumptions where a problem pops up...




G Quesnel wrote:
> It's not that I don't believe you, but ...
>
> Can you do a screen capture of the following ... replacing abc1 with
> your service name, and feel free to remove specific server name
> information - both from the server with the problem:
>
> tnsping abc1
>
> sqlplus /nolog
> set instance abc1
>
> sorry to be so doubting, but ...


Reply With Quote
  #9  
Old 10-24-2006, 04:35 PM
Default Re: tnsping resolves but ORA-12154


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (COMMUNITY =
tcpnbo.world)(PROTO
COL = TCP)(Host = nb009984)(Port = 1521)) (CONNECT_DATA = (SID =
lwcrown) (GLOBA
L_NAME = lwcrown.world)))
OK (1030 msec)


SQL> set instance lwcrown
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SQL>

My passwords had been messed with .This is a classic example of make no
assumptions where a problem pops up...




G Quesnel wrote:
> It's not that I don't believe you, but ...
>
> Can you do a screen capture of the following ... replacing abc1 with
> your service name, and feel free to remove specific server name
> information - both from the server with the problem:
>
> tnsping abc1
>
> sqlplus /nolog
> set instance abc1
>
> sorry to be so doubting, but ...


Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 10:38 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.