Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: TNS-01151: Missing Listener name...
> Trying to start a listener and I'm getting the following error:
> (listener worked fine, only when I roobuted machine I had to change
> owner of logs like: listener.log files and ora files from root to
> oracle)
Did you start lsnrctl as root or as oracle?
> bash-2.03# ./lsnrctl start tnsnames
You tried to start the listener TNSNAMES.
> TNS-01151: Missing listener name, tnsnames, in LISTENER.ORA
lsnrctl cannot find the name TNSNAMES for a listener in your listener.ora (see Oracle Message Net8)
Sample of listener definition
LISTENER = <-- this is the listener name
(DESCRIPTION_LIST =
(DESCRIPTION =
...
)
)
%lsnrctl start is like
%lsnrctl start listener see name code
%lsnrctl start tnsnames looks for a listener names TNSNAMES = ...
Hope it's helpful
Dennis
Sent via Deja.com
http://www.deja.com/
Received on Thu Dec 14 2000 - 02:18:01 CST
![]() |
![]() |