Re: Tnsnames mystery
- From: David Roberts <big.dave.roberts@xxxxxxxxxxxxxx>
- To: RStorey@xxxxxxxxxxxxxxxxxx
- Date: Wed, 22 Aug 2012 11:50:20 +0100
I'd check the Oracle home first either using the Oracle Home Selector or
Oracle locator express: http://www.dbmotive.com/oracle_home_selector.php
These should indicate where in the registry Oracle is reading it's settings.
Process monitor should also indicate where tnsping is looking in the
registry.
I would also check that you don't have multiple copies of tnsping on your
PC as different versions are likely to look in different places for the
configuration information.
The fact that no path information is displayed could be an indicator that
you are running an older version of tnsping?
Dave
On Tue, Aug 21, 2012 at 5:12 PM, Storey, Robert (DCSO) <
RStorey@xxxxxxxxxxxxxxxxxx> wrote:
> Mystery part 1 solved, mystery part 2 now.
> Using Procmon (thanks Rich) and Process Explorer (thank you Srabjit) I
> determined that the TNSPING was going out to one of her network drives to
> obtain tnsnames.ora file. I deleted that file and then tnsping read the
> tnsnames.ora file located in the oracle_home/network/admin folder.
>
> So, mystery part 2. Where would oracle maintain that setting to go to
> that location? Especially after a complete wipe of the Oracle key from
> local_machine.
>
> -----Original Message-----
> From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
> On Behalf Of Norman Dunbar
> Sent: Tuesday, August 21, 2012 10:45 AM
> To: oracle-l@xxxxxxxxxxxxx
> Subject: Re: Tnsnames mystery
>
> Robert,
>
> > But I'm seeing no indication in tnsping or such as to WHICH file its
> going for.
>
> DOes this mean that when you "tnsping" you don't see a message, as Kevin
> Lange pointed out earlier in this thread, of which parameter file
> tnsping used to resolve the name?
>
> I'm pretty sure that from 9i onwards you get a display of the parameter
> file used by tnsping. You certainly do in 10g and 11g.
>
> > Used parameter files:
> > /u03/home/oracle/product/10.2.0.4/network/admin/sqlnet.ora
>
> Once you have the sqlnet.ora file, you will most likely find the
> tnsnames.ora file it is using, and if not, you can look inside for more
> clues.
>
> Alternatively, once you know the sqlnet.ora file, you can set a trace
> within it so that it will give you more information to go on.
>
> HTH
>
>
> Cheers,
> Norm.
>
> --
> Norman Dunbar
> Dunbar IT Consultants Ltd
>
> Registered address:
> Thorpe House
> 61 Richardshaw Lane
> Pudsey
> West Yorkshire
> United Kingdom
> LS28 7EL
>
> Company Number: 05132767
> --
> http://www.freelists.org/webpage/oracle-l
>
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>
--
http://www.freelists.org/webpage/oracle-l
Other related posts:
- » Tnsnames mystery - Storey, Robert (DCSO)
- » Re: Tnsnames mystery - David Roberts
- » RE: Tnsnames mystery - paul.baumgartel
- » RE: Tnsnames mystery - Lange, Kevin G
- » RE: Tnsnames mystery - Storey, Robert (DCSO)
- » Re: Tnsnames mystery - Rick Weiss
- » Re: Tnsnames mystery - Norman Dunbar
- » Re: Tnsnames mystery - Brian Anderson
- » RE: Tnsnames mystery - TJ Kiernan
- » RE: Tnsnames mystery - Storey, Robert (DCSO)
- » RE: Tnsnames mystery - Storey, Robert (DCSO)
- » RE: Tnsnames mystery - Storey, Robert (DCSO)
- » RE: Tnsnames mystery - TJ Kiernan
- » RE: Tnsnames mystery - Kevin Lidh
- » RE: Tnsnames mystery - Sarabjit_Toor
- » RE: Tnsnames mystery - Storey, Robert (DCSO)
- » RE: Tnsnames mystery - Rich Jesse
- » Re: Tnsnames mystery - Norman Dunbar
- » RE: Tnsnames mystery - Storey, Robert (DCSO)
- » RE: Tnsnames mystery - Storey, Robert (DCSO)
- » RE: Tnsnames mystery - Mercadante, Thomas F (LABOR)
- » Re: Tnsnames mystery - De DBA
- » Re: Tnsnames mystery - David Roberts
- » RE: Tnsnames mystery - Patterson, Joel
- » Re: Tnsnames mystery - rjamya
- » RE: Tnsnames mystery - Storey, Robert (DCSO)
- » RE: Tnsnames mystery - Storey, Robert (DCSO)