Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: TNS-01151: Missing Listener name...

Re: TNS-01151: Missing Listener name...

From: Dennis <dwehlman_at_my-deja.com>
Date: Thu, 14 Dec 2000 08:18:01 GMT
Message-ID: <919vnn$87t$1@nnrp1.deja.com>

> 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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US