Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> TNS-01151 errors please help
Hi,
I am getting the following TNS errors on starting up the lsnrctl. Please could someone help me resolve this problem.
LSNRCTL for Linux: Version 8.0.5.0.0 - Production on 23-JUN-99 01:09:47
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Starting /usr/local/oracle/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 8.0.5.0.0 - Production System parameter file is /usr/local/oracle/network/admin/listener.ora Log messages written to /usr/local/oracle/network/log/test.log TNS-01151: Missing listener name, test, in LISTENER.ORA
My listener is this...
LISTENER=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.2)(PORT=1521))
)
SID_LIST_LISTENER=(SID_LIST=
(SID_DESC=(SID_NAME=test)(ORACLE_HOME=/usr/local/oracle))
)
My tnsnames is this..
test=
(DESCRIPTION = (ADDRESS=
(PROTOCOL=TCP)
(HOST=192.168.10.2)
(PORT=1521))
(CONNECT_DATA= (SID=test)) )
Many thanks
Matt Received on Tue Jun 22 1999 - 19:19:50 CDT