This is my first post here and i don't want this one to be very much complex so that I have a chance to mess this up and you feel like I am muddling things up. Its pretty simple and yet most useful to many. Very often we see issues on Linux which are related to port numbers.
Lets just say it like this, the most common error related to ports is "port already in use by some other process". It can be OBIEE, Informatica or SOA or anything. Because of this sometimes you are not able to start service of applications which is very annoying.
Lets first fine what is using this port. on Linux (mine RHEL) its this way.
That's it you are done , you can now rerun your command which resulted in the port already in use error.
Lets just say it like this, the most common error related to ports is "port already in use by some other process". It can be OBIEE, Informatica or SOA or anything. Because of this sometimes you are not able to start service of applications which is very annoying.
Lets first fine what is using this port. on Linux (mine RHEL) its this way.
netstat -plten |grep 6051
Once we find the process we can get the process id from the last section like from the above picture it is xxxxxx/java. Now lets just kill the process using below command.
Kill -9 17310

Kill -9 17310

That's it you are done , you can now rerun your command which resulted in the port already in use error.

No comments:
Post a Comment