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 -9command
Printable View
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 -9command
ps -efw | grep tns - you can also get the process id from netstat
or lsnrctl stop - why doesnt that work
lsnrctl stop - does work.
lsnrctl stop - does work.
wel since you are not the OP how do you know it does work for him?
It worked for me davey ...
well you arent the op are you!!!!!
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
Davey,
I amn't op. I am a starter.
stop replying to this thread - you obviously have no idea whats going on. You arent the person who made this thread therefore you have no idea what is wrong and why it doesnt work for him. Saying 'it works for me' is the most pointless unhelpful repsonse ever
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.Quote:
Originally Posted by vnktummala
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.
Moral - always take a copy of the working listener.ora before changes, or at least document what changes you make to it. I take it everything is OK now?