Hello,
I was installing jboss 3.2.6. on Solaris 10. After installation jboss could not start as some of the needed ports were already opened. I tried to evaluate who uses the open ports with following steps:
1) Jboss reports that he need three ports which are already in use: 1098, 4444, 8080.
2) I try to telnet to these ports and I see that really some process is listening on these ports.
3) I am using netstat to gain some more information about listener on specific ports: 8080, 4444, 1098. This is what I get:
bash# netstat -an|grep 8080
*.8080 *.* 0 0 49152 0 LISTEN
bash# netstat -an|grep 4444
*.4444 *.* 0 0 49152 0 LISTEN
bash# netstat -an|grep 1098
*.1098 *.* 0 0 49152 0 LISTEN
4) I am trying to find out a little bit more with command /usr/local/bin/lsof -i :8080 (4444, 1098), but I do not get any output for these ports.
5) Now I am checking configuration files under /etc and I am searching for configuration file that contains string 4444 or 1098. I do not execute the check for 8080 port, as in the meantime I have found out that this port is used by Oracle-MTS.
I am using following command:
bash# find . -name '*' -a -type f -exec grep 1098 \{} \;
I do not get any output, meaning, no configuration file contains strings which could lead me to some connection to our ports.
6) For the port 1098, I think it is used by sun cluster manager rmiactivation.
Nevertheless, I did not get any information about the process which uses these open ports. Eventually I got an impression that all three ports are used by Oracle 10g.
How will I find out more information about which processes (PID) is currently using these open ports?
I was installing jboss 3.2.6. on Solaris 10. After installation jboss could not start as some of the needed ports were already opened. I tried to evaluate who uses the open ports with following steps:
1) Jboss reports that he need three ports which are already in use: 1098, 4444, 8080.
2) I try to telnet to these ports and I see that really some process is listening on these ports.
3) I am using netstat to gain some more information about listener on specific ports: 8080, 4444, 1098. This is what I get:
bash# netstat -an|grep 8080
*.8080 *.* 0 0 49152 0 LISTEN
bash# netstat -an|grep 4444
*.4444 *.* 0 0 49152 0 LISTEN
bash# netstat -an|grep 1098
*.1098 *.* 0 0 49152 0 LISTEN
4) I am trying to find out a little bit more with command /usr/local/bin/lsof -i :8080 (4444, 1098), but I do not get any output for these ports.
5) Now I am checking configuration files under /etc and I am searching for configuration file that contains string 4444 or 1098. I do not execute the check for 8080 port, as in the meantime I have found out that this port is used by Oracle-MTS.
I am using following command:
bash# find . -name '*' -a -type f -exec grep 1098 \{} \;
I do not get any output, meaning, no configuration file contains strings which could lead me to some connection to our ports.
6) For the port 1098, I think it is used by sun cluster manager rmiactivation.
Nevertheless, I did not get any information about the process which uses these open ports. Eventually I got an impression that all three ports are used by Oracle 10g.
How will I find out more information about which processes (PID) is currently using these open ports?