4 Replies Latest reply: Nov 10, 2012 3:10 PM by User287063 RSS

    RC-50221: Warning: Port Pool 21 is not free

    User287063
      Having referenced the thread below, I'm having problems trying to run dbconfig (perl adcfgclone.pl dbconfig) for the port number (1542) portpool = 21 - on my test database server.

      <<RC-50204: Error: - Database Port in use: Port Value = 1571

      I've tried this many times, but to no avail.

      I have tried even the defauly portpool of 0 and even that returns the error message that the port pool is not free.

      If I do a netstat -a|grep 1542 or 1521, it returns nothing.

      What am I doing wrong?


      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Checking the port pool 21
      RC-50221: Warning: Port Pool 21 is not free. Please check logfile /t01/product/db11.2.0.3/appsutil/clone/bin/CloneContext_1109082932.log for conflicts.

      Target System Port Pool [0-99] : 0

      Checking the port pool 0
      RC-50221: Warning: Port Pool 0 is not free. Please check logfile /t01/product/db11.2.0.3/appsutil/clone/bin/CloneContext_1109082932.log for conflicts.

      Target System Port Pool [0-99] : 11

      Checking the port pool 11
      RC-50221: Warning: Port Pool 11 is not free. Please check logfile /t01/product/db11.2.0.3/appsutil/clone/bin/CloneContext_1109082932.log for conflicts.
        • 1. Re: RC-50221: Warning: Port Pool 21 is not free
          Hussein Sawwan-Oracle
          Please post the details of the application release, database version and OS.
          What am I doing wrong?


          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          Checking the port pool 21
          RC-50221: Warning: Port Pool 21 is not free. Please check logfile /t01/product/db11.2.0.3/appsutil/clone/bin/CloneContext_1109082932.log for conflicts.

          Target System Port Pool [0-99] : 0

          Checking the port pool 0
          RC-50221: Warning: Port Pool 0 is not free. Please check logfile /t01/product/db11.2.0.3/appsutil/clone/bin/CloneContext_1109082932.log for conflicts.

          Target System Port Pool [0-99] : 11

          Checking the port pool 11
          RC-50221: Warning: Port Pool 11 is not free. Please check logfile /t01/product/db11.2.0.3/appsutil/clone/bin/CloneContext_1109082932.log for conflicts.
          Looks like those ports are used. Do you have anything running on this server? Have you tried to reboot the server and see if this helps?

          Please also see (While running DB Tier clone:Checking the port pool xx, Failed on RC-50221: Warning: Port Pool yyyy is not free [ID 1273091.1]).

          Thanks,
          Hussein
          • 2. Re: RC-50221: Warning: Port Pool 21 is not free
            User287063
            Hussein Sawwan wrote:
            Please post the details of the application release, database version and OS.
            Database - 11.2.0.3 - OS - zLinux - s390 - SLES - 11 - SP1
            Application - 12.1.2 - OS - Linux x86_64 - SLES - 10 - SP3
            • 3. Re: RC-50221: Warning: Port Pool 21 is not free
              Hussein Sawwan-Oracle
              Database - 11.2.0.3 - OS - zLinux - s390 - SLES - 11 - SP1
              Application - 12.1.2 - OS - Linux x86_64 - SLES - 10 - SP3
              Thanks.

              Did you reboot the server as requested above? Do you have any services running on this server?

              Please also review the doc and update the thread then.

              Thanks,
              Hussein
              • 4. Re: RC-50221: Warning: Port Pool 21 is not free
                User287063
                Hussein Sawwan wrote:
                Database - 11.2.0.3 - OS - zLinux - s390 - SLES - 11 - SP1
                Application - 12.1.2 - OS - Linux x86_64 - SLES - 10 - SP3
                Thanks.

                Did you reboot the server as requested above? Do you have any services running on this server?

                Please also review the doc and update the thread then.

                Thanks,
                Hussein
                Server was re-booted. No Change.

                Here is the issue - The Database server has three listeners on it - one for the two instances - lets call it LISTENER on port 1521 - and two - one for each APP that it hosts the Instance for - lets call these LISTENER_DBAPP1 on port 1532 and LISTENER_DBAPP2 on port 1542

                Whenever I've run the perl adcfgclone dbconfig (after a datafile copy is complete and the instance is brought up), I've always had all three listeners running.

                I've never had this problem before where if I gave the portpool of 21 for DBAPP2, it would not accept, and then fail.

                Thursday onwards, this did not work.

                In additon, the dbconfig deletes the SPFILE and the init.ora file (requiring me to take a backup of each of these files before I start the dbconfig process)

                This morning, I found an prior database context file from a previous clone, and passed that in as a parameter (perl adcfgclone dbconfig DBAPP2_hostname.xml) and this worked.

                There were entries in the log file about the portpool 21 not being free - but after the dbconfig process stopped the LISTENER_DBAPP2 for the 'ApplyDatabase' portion of the dbconfig, it completed succesfully.

                I checked the FND_NODES table and the entries are what I would expect to see after a succesfull DB/Autoconfig run.

                This puzzles me - but for now my issue is resolved.