Removing/delete listener service

Posted on 2005-04-26
Last Modified: 2008-01-09
Dear friends,
I have my LISTENER up and working but I have another listener not starte since long time ago.  I would like to get ride of it.


Could you tell me how to remove it?
Question by:Zopilote
    LVL 47

    Expert Comment

    There should be an GUI like "Net Config Assistant' or "Easy Net".
    Start this GUI.
    Go to the Listener section
    Select the needed Listener.
    Use "Remove" option.
    Be careful!
    LVL 5

    Author Comment

    I will try.  It is just my test db, somebody was playing with it.
    LVL 5

    Author Comment

    This Window Service does not appear in Net Configuration Assistant.
    LVL 34

    Accepted Solution

    To remove a service from Windows, run RegEdit, go to Hkey-Local-Machine, System, CurrentControlSet, Services and find the service you want to delete, then choose Edit, then Delete.
    LVL 11

    Expert Comment

    Simply delete the entry from listener.ora file. It is in <ORACLE_HOME>\network\admin\ folder. But do keep a back-up of the file before removing it's entry. Restart the machine after the removal. Al so just remove it's services from Windows Services (Control Panel > Administrative tools > Services).

    This should do.

    LVL 5

    Expert Comment


    in windows

    1.  Start regedit (you can start it at the command prompt by typing C:\regedit, or from the Start menu.)

    2.  Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.

    3.  Delete Oracle<HOME_NAME>TNSListener.

    4.  Delete OracleService<SID>.

    Updating the Oracle Listener
    The listener service is a process which will sit on the Oracle database server and wait for calls to that database instance. The easiest way to update the listener for your newly copied database is to copy the listener files from the previous database. These files are located in c:\orant\network\admin. All of the files should be copied. The minimun files should be eventdef.tcl, listener.ora, sqlnet.ora and tnsnames.ora. There may be additional files. If so, copy them too if the client machines mcan not contact your database server. Otherwise the listener files can be configured using the SQL Net Easy Configuration Utility.

    In unix
    remove all the entries which refer to the deleted database in tnsnames.ora and listener.ora (located in $ORACLE_HOME/network/admin)

    try to remove these
    #(SID_DESC =
          #(GLOBAL_DBNAME = dbname)
          #(ORACLE_HOME = /home/ora9ir2)
          #(SID_NAME = ora9ir2)

    LVL 5

    Author Comment

    sujit_kumar, this listener does not appear on my listener.ora, and  I could not find a way to delete a service using Control Panel > Administrative tools > Services.  Where is the delete/remove option?  Thanks!

    helpneed, thank you for the detailed solution, just that markgeer gave me the solution earlier.

    schwertner, thanks!

    markgeer, this solution worked! many thanks!!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
    This post first appeared at Oracleinaction  ( Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
    This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
    This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now