Friday 27 May 2016

[ERROR]: Some of the ports specified for the patch file system are not available.

When attempting to run "adop phase=fs_clone" command the following error occurs:

ValidatePatchFSPortPool:
[ERROR]: Some of the ports specified for the patch file system are not available.

In my case here 7002 is run file system weblogic console port and 7001 is patch file system port.

This issue is caused by a port used by WLS Admin Server on the run file system which is not free (e.g port 7001).

Note:
The following command gives the current port used by the WLS Admin Server :
$ grep s_wls_adminport $CONTEXT_FILE

Cause:

In my case both Run and Patch file system admin servers are running.

Solution:

In my case both Run and Patch file system weblogic console ports are running.

To implement the solution, please execute the following steps:

1. Shutdown all apps services on RUN and PATCH file systems.

. /EBSapps.env R
cd $INST_TOP/admin/scripts
adstpall.sh apps/apps

. /EBSapps.env P
cd $INST_TOP/admin/scripts
adstpall.sh apps/apps

2. make sure that port used by the WLS Admin Server is free and no processes are running from your Patch file system via the following command

$ netstat -a | grep 7001
$ ps -eaf | grep 7001

replace 7001 by the port listed in the autoconfig s_wls_adminport parameter and in the error message (e.g. 7001, 7002, ...)
Note: The above commands should returns no activity on the related ports

3. On the RUN file system, start up adadmin server via the following command

. /EBSapps.env run
cd $INST_TOP/admin/scripts
$ adadminsrvctl.sh start

4. Start fs_clone from the beginning  

For Single Node
$ adop phase=fs_clone allnodes=no force=yes

For Multi Node
$ adop phase=fs_clone force=yes

No comments:

Post a Comment