Tuesday 26 February 2013

BEA-002606 Unable to create a server socket for listening on channel "Default" java.net.BindException: Cannot assign requested address


BEA-002606 Unable to create a server socket for listening on channel "Default" java.net.BindException: Cannot assign requested address

In our SOA 11.1.1.5.0 non prod environments with WLS 10.3.5.0, recently there was an issue reported that someone was trying to start up weblogic server but was unable to start it up.

Error messages were as below:


<Feb 26, 2013 10:01:52 AM GMT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 141.143.2.43 might be incorrect or another process is using port 45901: java.net.BindException: Cannot assign requested address.>


Checked below:

1) ps ux to verify if there was any process running
2) netstat -an
3) Cleared tmp, cache and data directories of Admin and Managed servers and tried to bring up weblogic server but same issue.

Then later checked below:

1) /etc/hosts - IP address was changed
2) config.xml under $MW_HOME/user_projects/domains/domain_name/config/config.xml

config.xml was using old IP

3) Checked the nodemanager.properties file under $MW_HOME/wlserver_10.3/common/nodemanager

nodemanager.properties was using old IP.

Later we were informed that the IP addresses of the virtual machines had been changes.


Issue was resolved by using the new IP addresses in config.xml and nodemanager.properties.


Better solution is to use hostnames instead of IP addresses in the config files.   


 




No comments:

Post a Comment