Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: differenece in DOS SQL*Plus vs. GUI?
Paul Murphy wrote:
>> How are you attempting to connect? >> Are you using the >> user.pass_at_tnsnameentry >> >> What error do you get?
>
> Another clue might be that a few of the remote users had to rename their
> sqlnet.ora files to another name before SQL*Plus would look at the
> tnsames.ora file and connect.
>
> Thanks for any advice...I hope I'm not the only one who has had this
> type of problem and that someone will have a few things for me to look at.
>
> So far, I've reset the hostname to localhost, to the fully qualified
> active directory name, to the IP address of the machine...nothing
> worked. I set a TNS_ADMIN environment variable to the exact path of the
> tnsnames.ora file. I've looked at the listner.ora file and that looks
> fine (plus people can connect fine remotely, so that's probably not the
> issue). Thanks again. -Paul Murphy
>
Like I said, the listener running should be irrelavent if your ORACLE_HOME and ORACLE_SID settings are correct for the local database, but try stopping the listener and see if you can still connect thru DOS, that will tell you if it is using the tnsnames or not.
Try a search to see if there are multiple copies of tnsnames.ora, this is what I ran in to once when I installed some of oracle utilities after the main install
hth Received on Tue Oct 07 2003 - 09:50:23 CDT