Kill listener process
DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Kill listener process

Hybrid View

  1. #1
    Join Date
    Sep 2002
    Posts
    376

    Kill listener process

    Hi,
    I want to kill the listener process, as i am not able to stop it.
    When i do netstat i get follwoing info.

    netstat -a| grep 1522

    tcp 0 0 *:1522 *:* LISTEN


    How to get the OS process ID, so that i can kill using Kill -9 command
    ------------------------------------------------------------------------
    The most enjoyable things in the world are either Immoral or too Expensive or otherwise Inaccessible anyway

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    ps -efw | grep tns - you can also get the process id from netstat

    or lsnrctl stop - why doesnt that work

  3. #3
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    lsnrctl stop - does work.

  4. #4
    Join Date
    Sep 2002
    Posts
    376
    Quote Originally Posted by vnktummala
    lsnrctl stop - does work.
    Hey... i did some modification to the Listner.ora (i dont remeber what i did), due to which even after stopping the listner, the port was showing occupied.

    Also when i tried to allocate the same to a different listener, it was showing as port occupied; and i wanted to kill the process.

    Netstat command was just giving the following output and i wasn't sure of the os process id to kill

    netstat -a| grep 1522
    tcp 0 0 *:1522 *:* LISTEN

    Now i cannot simulate the same as the machine is rebooted.
    ------------------------------------------------------------------------
    The most enjoyable things in the world are either Immoral or too Expensive or otherwise Inaccessible anyway

  5. #5
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    lsnrctl stop - does work.

  6. #6
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    wel since you are not the OP how do you know it does work for him?

  7. #7
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    It worked for me davey ...

  8. #8
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    well you arent the op are you!!!!!

  9. #9
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    Davey,

    I amn't op. I am a starter.

  10. #10
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,448
    I am pretty sure bang_dba does know how to stop a listener, if he wants to kill the process then he must have already tried to stopped the listener using lsnrctl

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width