Cloning issue

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Cloning issue

latifa
Hi Erman,

I am cloning a standalone environment from RAC environment. However, our DBA reinstalled from zero the oracle home. so for the technology stack for EBS it's not ok with follwing error:

Checking  Database Port on null:  Port Value = 1521
RC-50204: Error: - Database Port in use: Port Value = 1521
 Checking  DB ONS Local Port on null:  Port Value = 6300
   DB ONS Local Port available:  Port Value = 6300
 Checking  DB ONS Remote Port on null:  Port Value = 6400
   DB ONS Remote Port available:  Port Value = 6400
Cannot proceed with ApplyDBTechStack - the paths/ports in the context file are not valid.
RC-20403: The following port numbers are busy - please make sure the ports are available and try again.
Raised by oracle.apps.ad.clone.ApplyDBTechStack
        s_dbport : 1521


I started to recreate the context_file with : adbldxml.pl --> a context_file is generated.

and then applied from oracle_home/appsutil/clone/bin: adcfgclone.pl dbTechStack context_file


How can this error will happen if our database port is 1521 ?
How can I correct it ?


Thank you in advance for your help.


Regards,
Latifa
Reply | Threaded
Open this post in threaded view
|

Re: Cloning issue

latifa
of course I copied from RAC source appsutil and clone directories.
Reply | Threaded
Open this post in threaded view
|

Re: Cloning issue

ErmanArslansOracleBlog
Administrator
Database port should be free during the execution of adcfgclone db techstack.
This is a cloning activity.. It is like we are building the clone env from scratch.. We are expecting to find all the ports available.

you can find the process using it -> netstat -anp | grep 1521

Option A:

1. Shutdown the process using the port
2. Re-run adcfgclone.pl to use the same ports

Option B:

1. Choose a different, free port number during the adcfgclone execution

Ref: E-Business Suite Applications Manager Rapidclone Process Fails With Error 'RC-50204: Error: - Database Port in use' Running 'adcfgclone.pl dbTechstack' (Doc ID 428839.1)
Reply | Threaded
Open this post in threaded view
|

Re: Cloning issue

latifa
Hi Erman,

Thank you for reply.

However, I shouldn't run dbTechstack. I was lucky, links were not modified.
I run after that only autoconf (with some troubles which could be repaired, some scripts missing, java classes, ...).
Autoconf finished successfully.

Regards,
Latifa
Reply | Threaded
Open this post in threaded view
|

Re: Cloning issue

ErmanArslansOracleBlog
Administrator
Good for you.

You know what...

I don't run those adcfgclone commands on db tier..

I do the db config myself manually and it is okay for all the time..

I just copy oracle home, relink it, change the ownerships, restore the db, recover it, run fnd_conc_clone.setup_clean and lastly do the db tier autoconfig.. That's all the db work that I do in a cloning session. Just wanted to share.