0 penilaian0% menganggap dokumen ini bermanfaat (0 suara)
225 tayangan1 halaman
Unix commands like lsof and netstat can be used to check which process is listening on a specific port. If an unneeded process is using the port, it can be killed. Otherwise, the port number configured in serverindex.xml or the admin console needs to be changed, and the server restarted for the new port setting to take effect. It is best to check port availability before running WebSphere commands that use default ports.
Deskripsi Asli:
How to resolve Port conflict issue in all flavors of unix os.
Unix commands like lsof and netstat can be used to check which process is listening on a specific port. If an unneeded process is using the port, it can be killed. Otherwise, the port number configured in serverindex.xml or the admin console needs to be changed, and the server restarted for the new port setting to take effect. It is best to check port availability before running WebSphere commands that use default ports.
Unix commands like lsof and netstat can be used to check which process is listening on a specific port. If an unneeded process is using the port, it can be killed. Otherwise, the port number configured in serverindex.xml or the admin console needs to be changed, and the server restarted for the new port setting to take effect. It is best to check port availability before running WebSphere commands that use default ports.
Unix Commands to find the process listening on port:
lsof -i|grep port cat /etc/services|grep port
If the process listening on the port is not a useful one you can kill the process using the command kill -9 processid
If the process is a needed one you have to change the port in serverindex.xml present in config/cells directory or in the adminconsole port details.Restart server after the changes.
Note: Before you use any commands like manageprofiles,addNode etc...which use default ports if not specified specifically,better to check the availability of port using the below netstat command and pass the startingport argument to the websphere commands. example:netstat -an|grep 1234[0-9] .This will tell the list of 10 ports are free or not.