r/DatabaseHelp • • Oct 18 '17

Oracle Database Help :(

Hey /r/databasehelp,

I'm new to oracle (D-OH!). Setting up an Oracle listener i'm noticing 2 things:

  • The listener status is showing Unknown.
  • When I try to log into SQL, I'm receiving the error: 'TNS:could not resolve the connect identifier specified'.
1 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Oct 19 '17

One of the issues/improvements I notices is when I edited the sqlnet file. I added in:

           names.directory_path = (TNSNAMES, HOSTNAME)

Two things immediately changed:

  • when I run lsnrctl start, a message crops up saying: "Log message written to C:\x"
  • When I try to connect into sqlplus USER/PASSWORD@protect, it doesn't immediately populate the ORA-12154 error message.