ISSUE:
Unable to start Node Manager
Process due to Port/Address bind exception.
ERROR
OBSERVED:
weblogic.nodemanager.server.NMServer
main SEVERE: Fatal error in node manager server
java.net.BindException: Address already in use at
java.net.PlainSocketImpl.socketBind(Native Method) at
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365) at
java.net.ServerSocket.bind(ServerSocket.java:319) at
java.net.ServerSocket.<init>(ServerSocket.java:185) at
java.net.ServerSocket.<init>(ServerSocket.java:141) at
weblogic.nodemanager.server.Listener.init(Listener.java:56) at
weblogic.nodemanager.server.NMServer.start(NMServer.java:206) at
weblogic.nodemanager.server.NMServer.main(NMServer.java:377) at
weblogic.NodeManager.main(NodeManager.java:31)
CAUSE:
Port
configured for Node Manager is already in use.
This is because
another application is using the port configured for Node Manager,
so that when Node Manager tries to bind to the port, it is not able
to start and fails with above error.
SOLUTION:
P
lease
follow below instructions to change the port number of your Node
Manager configuration:
Step
1) Go to below mentioned location
$WLS_HOME/common/nodemanager
Step
2) Take backup of nodemanager.properties files
$cp
nodemanager.properties nodemanager.properties_BKP
Step
3) Change ListenPort=XXXX parameter to an available port.
netstat
-an | grep Portnumber
Eg: netstat -an | grep 5557
-->If
no output then port is free and avaliable for use.
Step
4) Save it.
Step
5) Start the Node manager Process as below:
$WL_HOME/server/bin
$nohup
./startNodeManager.sh &
Step
6) We will then have to configure the new Node Manager port (Set in Step 3) in the
Machines section of the WebLogic Server console for it to be known to
the Administration Server.
Note
:
If
you don't find nodemanager.properties in that location, that means
you haven't started nodemanager atleast once and hence
nodemanager.properties file is not generated. Hence start
nodemanager, using the script located in
$WL_HOME/server/bin/
startNodemanager.sh
No comments:
Post a Comment