Problem : Cant start listener, TNS-01151: Missing listener name, oem, in LISTENER.ORA

Problem : Cant start listener, TNS-01151: Missing listener name, oem, in LISTENER.ORA

I have a problem with a 9i database on win2k svr , I cant start the listener for OEM

LSNRCTL> start oem
Starting tnslsnr: please wait…

TNSLSNR for 32-bit Windows: Version 9.2.0.2.0 – Production
System parameter file is D:\oracle\ora92\network\admin\listener.ora
Log messages written to D:\oracle\ora92\network\log\oem.log
TNS-01151: Missing listener name, oem, in LISTENER.ORA

Listener failed to start. See the error message(s) above…

As I read this error lsnrctl cant find an entry in listener.ora for OEM, I dont understand this since there is an entry for the OEM.

Problem startet after I shut down OEM and made a cold backup (simple file copy).
Oem service is running and on the server I can:
Set oracle_sid=oem
sqlplus /nolog
connect /as sysdba;
… and now i can select from whatever tables i like.

On my own labtop:
SQL> conn system/*mypwd*@oem;
ERROR:
ORA-12541: TNS:No listener.

My Listener.ora

# LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.XXX.XXX)(PORT = 1521))
)
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = oem)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = oem)
)
(SID_DESC =
(GLOBAL_DBNAME = XLA)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = XLA)
)
(SID_DESC =
(GLOBAL_DBNAME = RMAN)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = RMAN)
)
)

Any ideas to get the listener up running again ?


Solution: Cant start listener, TNS-01151: Missing listener name, oem, in LISTENER.ORA

Hello ,

Use net configuration assistant to create a new one or to reconfigure existing one…

HTH