Clone Error
Hi,
We have done an upgrade of our instance from 11.5.10 to 11.5.10.2 and database version from 9.2.0.5 to 11gR2.
The server is in multinode windows 2003 servers.
Now I am preparing a clone instance for the same and getting the following error while running the adcfgclone.pl on dbTier.
Backing up E:\imtest\imtestdb\11.2.0\appsutil\IMTEST_dvlp003.xml to E:\imtest\im
testdb\11.2.0\appsutil\IMTEST_dvlp003.xml4.bak
Creating the new Database Context file from :
E:\imtest\imtestdb\11.2.0\appsutil\template\adxdbctx.tmp
The new database context file has been created :
E:\imtest\imtestdb\11.2.0\appsutil\IMTEST_dvlp003.xml
Log file located at C:\DOCUME~1\ORACLE~1.DVL\LOCALS~1\Temp\CloneContext_08220512
*45.log*
Incorrect JAVA path:
No java executable at E:\imtest\imtestdb\11.2.0\jdk/bin/java.exe or E:\imtest\im
testdb\11.2.0\jdk/bin/jre.exe
Running Rapid Clone with command:
perl adclone.pl java=..\jre\jre mode=apply stage=E:\imtest\imtestdb\11.2
*.0\appsutil\clone\bin\.. component=dbTier method=CUSTOM dbctxtg=E:\imtest\imtest*
db\11.2.0\appsutil\IMTEST_dvlp003.xml showProgress contextValidated=true
Beginning database tier Apply - Mon Aug 22 17:13:42 2011
-e
E:\imtest\imtestdb\11.2.0\appsutil\IMTEST_dvlp003.xml
-stage
E:\imtest\imtestdb\11.2.0\appsutil\clone\bin\..
-pwd
apps
-showProgress
Log file located at E:\imtest\imtestdb\11.2.0\appsutil\log\IMTEST_dvlp003\ApplyD
BTier_08221713.log
RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
ERROR while running Apply...
ERROR: Failed to execute adclone.pl
And below is the error in the log file:
*[AutoConfig Error Report]*
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
*<filename> <phase> <return code where appropriate>*
*[INSTANTIATE PHASE]*
AutoConfig could not successfully instantiate the following files:
Directory: E:\imtest\imtestdb\11.2.0\appsutil\install\IMTEST_dvlp003
adcrdb.cmd INSTE8
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyDBTechStack
StackTrace:
java.lang.Exception: RC-50014: Fatal: Execution of AutoConfig was failed
* at oracle.apps.ad.clone.ApplyDBTechStack.checkAutoConfigErr(ApplyDBTechStack.java:804)*
* at oracle.apps.ad.clone.ApplyDBTechStack.runAutoConfig(ApplyDBTechStack.java:731)*
* at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:431)*
* at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:156)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)*
* at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)*
* at java.lang.reflect.Constructor.newInstance(Constructor.java:501)*
* at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)*
* at java.lang.Thread.run(Thread.java:595)*
Can anyone help me out with the clone issue.
Regards,
Mahesh
Edited by: mahesh on Aug 22, 2011 7:01 AM
adcrdb.cmd INSTE8 Search the log file for this script, you should find more details about the error around the file name.
Also, please check the database log file as this script is used to create the database.
Thanks,
Hussein
Similar Messages
-
Hello,
We use Commvault for our backup software. I can successfully clone one application's PROD instance on server1 to TEST on server2.
However, for another application, attempting the same process of cloning the app's PROD instance on server1 to TEST on server2, I'm getting RMAN errors.
The prod database is ISLP and test database is ISLT. I've set the parameters:
o alter system set db_file_name_convert = '/u02/oradata/ISLP', '/u02/oradata/ISLT'
o alter system set log_file_name_convert= '/u01/oradata/ISLP', '/data/oracle/ISLT'
Again the destination is on a second server.
The error message I receive is:
Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/09/2013 12:48:55
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary file name /u02/oradata/ISLP/redo_ISLP_2b.log conflicts with a file used by the target database
RMAN-05001: auxiliary file name /u02/oradata/ISLP/redo_ISLP_1b.log conflicts with a file used by the target database
RMAN>
Recovery Manager complete.
I don't understand why RMAN keeps trying to create new redo log files in a directory that is not specified by the log_file_name_convert parameter. I also don't understand why this exact same process works for cloning one applications database but not this application. I would appreciate any help. Thank you. Here is the RMAN script being executed by Commvault.
Rman Script:
[run {
set newname for datafile '/u02/oradata/ISLP/infosilem_ISLP_01.dbf' to '/u02/oradata/ISLT/infosilem_ISLP_01.dbf';
set newname for datafile '/u02/oradata/ISLP/sysaux_ISLP_01.dbf' to '/u02/oradata/ISLT/sysaux_ISLP_01.dbf';
set newname for datafile '/u02/oradata/ISLP/system_ISLP_01.dbf' to '/u02/oradata/ISLT/system_ISLP_01.dbf';
set newname for datafile '/u02/oradata/ISLP/tools_ISLP_01.dbf' to '/u02/oradata/ISLT/tools_ISLP_01.dbf';
set newname for datafile '/u02/oradata/ISLP/undo_ISLP_01.dbf' to '/u02/oradata/ISLT/undo_ISLP_01.dbf';
set newname for datafile '/u02/oradata/ISLP/users_ISLP_01.dbf' to '/u02/oradata/ISLT/users_ISLP_01.dbf';
allocate auxiliary channel ch1 type 'sbt_tape'
PARMS="SBT_LIBRARY=/opt/galaxy/Base64/libobk.so,BLKSIZE=262144,ENV=(CV_mmsApiVsn=2,CV_channelPar=ch1,ThreadCommandLine= RESTORE -jm 142 -a 2:0 -cl 137 -ins 150 -at 22 -j 700481 -jt 700481:3:1 -bal 0 -rcp 0 -ms 1 -p 2 -cn s-dbint -vm Instance001)"
TRACE 0;
set until time = "TO_DATE('05/08/2013 09:00:00','MM/DD/YYYY HH24:MI:SS')" ;
duplicate target database to 'ISLT'
exit;
]You haven't defined a log_file_name_convert for /u02/oradata/ISLP/
Possibly, the database has multiplexed redo log files, one member each in /u01/oradata/ISLP and one member each in /u02/oradata/ISLP.
Hemant K Chitale -
Hi:
I got error at end when doing a RMAN clone on linux, RMAN 11.1.0.7. 89163 is the next to last highest sequence
number in the backup log file. So in the clone script I put 89165.
ORA-19870: error while restoring backup piece
ORA-19504: failed to create file
ORA-17502: ksfdcre:4 Failed to create file
ORA-15173: entry 'archive' does not exist in directory '/'
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/19/2012 17:36:15
RMAN-03015: error occurred in stored script Memory Script
RMAN-20506: no backup of archived log found
RMAN-06053: unable to perform media recovery because of missing log
RMAN-06025: no backup of archived log for thread 1 with sequence 89163 and starting SCN of 11158664662 found to restore
What is the problem here?
Can I bring up the database up?
Thank you for your help.Then you may get an error as below
RMAN-06053: unable to perform media recovery because of missing log
RMAN-06025: no backup of archived log for thread 1 with sequence 89165you can try to open the database with resetlogs as you would not be having the archive sequence 89165
Also, 1 suggestion. Since you are on 11g, why not use the feature "active database" ?
rman target sys/pwd@target catalog xxxx auxiliary wwww
RMAN>duplicate target database to 'CLONEDB' from active database;This does not require you to take the backup first and then start the cloning activity -
Dear all,
I have installed r12.0.4 in linux, installation is fine, when I try to clone this instance to one more server, am getting the error
OS utlities not in path.
I have ar,cc,ld,make all in location. perl.. I checked with the source instance,when I try to invoke adcfgclone.pl on the source
instance , am getting the same error in the source instance. i didnt apply any patch after installation, it is a fresh installation..
any idea ?
KaiHussain,
Unfortunately am not with the system now.. but I faced the error saying that OS Utlities in path. I checked with the source database, but am facing the same error in the source also ?
any idea ?
kai -
Hi,
I make a database clone.
I copied all files from start database.
After what I recreate controlfiles into the new database, and I have an error which I don't know what is it :
Wed Jul 28 13:22:28 2004
CREATE CONTROLFILE SET DATABASE "IPUMAS" RESETLOGS NOARCHIVELOG
MAXLOGFILES 32
MAXLOGMEMBERS 4
MAXDATAFILES 250
MAXINSTANCES 8
MAXLOGHISTORY 907
LOGFILE
GROUP 1 (
'/appli/oraredolog/IPUMAS/rep01/IPUMAS_redo1_1.rdo',
'/appli/oraredolog/IPUMAS/rep02/IPUMAS_redo1_2.rdo'
) SIZE 100M,
GROUP 2 (
'/appli/oraredolog/IPUMAS/rep01/IPUMAS_redo2_1.rdo',
'/appli/oraredolog/IPUMAS/rep02/IPUMAS_redo2_2.rdo'
) SIZE 100M,
GROUP 3 (
'/appli/oraredolog/IPUMAS/rep01/IPUMAS_redo3_1.rdo',
'/appli/oraredolog/IPUMAS/rep02/IPUMAS_redo3_2.rdo'
) SIZE 100M,
GROUP 4 (
'/appli/oraredolog/IPUMAS/rep01/IPUMAS_redo4_1.rdo',
'/appli/oraredolog/IPUMAS/rep02/IPUMAS_redo4_2.rdo'
) SIZE 100M
DATAFILE
'/appli/oradata/IPUMAS/rep01/IPUMAS_system_01.dbf',
'/appli/oradata/IPUMAS/rep07/IPUMAS_rollback_01.dbf',
'/appli/oradata/IPUMAS/rep16/IPUMAS_rollback_02.dbf',
'/appli/oradata/IPUMAS/rep01/IPUMAS_temp_01.dbf',
'/appli/oradata/IPUMAS/rep02/IPUMAS_temp_02.dbf',
'/appli/oradata/IPUMAS/rep04/IPUMAS_TAB_BOREF_01.dbf',
'/appli/oradata/IPUMAS/rep03/IPUMAS_TAB_DATA01_01.dbf',
'/appli/oradata/IPUMAS/rep03/IPUMAS_TAB_DATA01_02.dbf',
'/appli/oradata/IPUMAS/rep03/IPUMAS_TAB_DATA01_03.dbf',
'/appli/oradata/IPUMAS/rep03/IPUMAS_TAB_DATA01_04.dbf',
'/appli/oradata/IPUMAS/rep03/IPUMAS_TAB_DATA01_05.dbf',
'/appli/oradata/IPUMAS/rep03/IPUMAS_TAB_DATA01_06.dbf',
'/appli/oradata/IPUMAS/rep04/IPUMAS_TAB_DATA01_07.dbf',
'/appli/oradata/IPUMAS/rep04/IPUMAS_TAB_DATA01_08.dbf',
'/appli/oradata/IPUMAS/rep04/IPUMAS_TAB_DATA01_09.dbf',
'/appli/oradata/IPUMAS/rep04/IPUMAS_TAB_DATA01_10.dbf',
'/appli/oradata/IPUMAS/rep04/IPUMAS_TAB_DATA01_11.dbf',
'/appli/oradata/IPUMAS/rep04/IPUMAS_TAB_DATA01_12.dbf',
'/appli/oradata/IPUMAS/rep05/IPUMAS_TAB_DATA02_01.dbf',
'/appli/oradata/IPUMAS/rep05/IPUMAS_TAB_DATA02_02.dbf',
'/appli/oradata/IPUMAS/rep05/IPUMAS_TAB_DATA02_03.dbf',
'/appli/oradata/IPUMAS/rep05/IPUMAS_TAB_DATA02_04.dbf',
'/appli/oradata/IPUMAS/rep05/IPUMAS_TAB_DATA02_05.dbf',
'/appli/oradata/IPUMAS/rep16/IPUMAS_TAB_DATA02_06.dbf',
'/appli/oradata/IPUMAS/rep06/IPUMAS_TAB_DATA03_01.dbf',
'/appli/oradata/IPUMAS/rep06/IPUMAS_TAB_DATA04_01.dbf',
'/appli/oradata/IPUMAS/rep08/IPUMAS_TAB_MVT01_01.dbf',
'/appli/oradata/IPUMAS/rep08/IPUMAS_TAB_MVT02_01.dbf',
'/appli/oradata/IPUMAS/rep08/IPUMAS_TAB_REJ_01.dbf',
'/appli/oradata/IPUMAS/rep07/IPUMAS_TAB_WORK_01.dbf',
'/appli/oradata/IPUMAS/rep12/IPUMAS_IDX_WORK_01.dbf',
'/appli/oradata/IPUMAS/rep07/IPUMAS_TAB_MAS_01.dbf',
'/appli/oradata/IPUMAS/rep07/IPUMAS_TAB_MAS_02.dbf',
'/appli/oradata/IPUMAS/rep07/IPUMAS_TAB_MAS_03.dbf',
'/appli/oradata/IPUMAS/rep07/IPUMAS_TAB_MAS_04.dbf',
'/appli/oradata/IPUMAS/rep07/IPUMAS_TAB_MAS_05.dbf',
'/appli/oradata/IPUMAS/rep07/IPUMAS_TAB_MAS_06.dbf',
'/appli/oradata/IPUMAS/rep09/IPUMAS_IDX_DATA01_01.dbf',
'/appli/oradata/IPUMAS/rep09/IPUMAS_IDX_DATA01_02.dbf',
'/appli/oradata/IPUMAS/rep09/IPUMAS_IDX_DATA01_03.dbf',
'/appli/oradata/IPUMAS/rep09/IPUMAS_IDX_DATA01_04.dbf',
'/appli/oradata/IPUMAS/rep10/IPUMAS_IDX_DATA01_05.dbf',
'/appli/oradata/IPUMAS/rep10/IPUMAS_IDX_DATA01_06.dbf',
'/appli/oradata/IPUMAS/rep10/IPUMAS_IDX_DATA01_07.dbf',
'/appli/oradata/IPUMAS/rep10/IPUMAS_IDX_DATA01_08.dbf',
'/appli/oradata/IPUMAS/rep16/IPUMAS_IDX_DATA01_09.dbf',
'/appli/oradata/IPUMAS/rep16/IPUMAS_IDX_DATA01_10.dbf',
'/appli/oradata/IPUMAS/rep11/IPUMAS_IDX_DATA02_01.dbf',
'/appli/oradata/IPUMAS/rep11/IPUMAS_IDX_DATA02_02.dbf',
'/appli/oradata/IPUMAS/rep11/IPUMAS_IDX_DATA02_03.dbf',
'/appli/oradata/IPUMAS/rep15/IPUMAS_IDX_MVT_01.dbf',
'/appli/oradata/IPUMAS/rep14/IPUMAS_IDX_MAS_01.dbf',
'/appli/oradata/IPUMAS/rep14/IPUMAS_IDX_MAS_02.dbf',
'/appli/oradata/IPUMAS/rep13/IPUMAS_IDX_MAS_03.dbf',
'/appli/oradata/IPUMAS/rep13/IPUMAS_IDX_MAS_04.dbf',
'/appli/oradata/IPUMAS/rep11/IPUMAS_IDX_MAS_05.dbf',
'/appli/oradata/IPUMAS/rep12/IPUMAS_IDX_MAS_06.dbf',
'/appli/oradata/IPUMAS/rep01/IPUMAS_tools_01.dbf',
'/appli/oradata/IPUMAS/rep16/IPUMAS_TAB_BLOB01_01.dbf'
CHARACTER SET WE8ISO8859P15
Wed Jul 28 13:22:28 2004
ORA-1503 signalled during: CREATE CONTROLFILE SET DATABASE "IPUMAS" RESETLOGS...
Wed Jul 28 13:22:28 2004
alter database open resetlogs
ORA-1507 signalled during: alter database open resetlogs
Thank you for your help
Nicolas.Hi Alurich,
I deleted controlfile, I verified init.ora the controlfile directories is correct...
I have always this error :
Total System Global Area 1442754452 bytes
Fixed Size 73620 bytes
Variable Size 99921920 bytes
Database Buffers 1342177280 bytes
Redo Buffers 581632 bytes
CREATE CONTROLFILE SET DATABASE "IPUMAS" RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01161: database name IPMAS in file header does not match given name of
IPUMAS
ORA-01110: data file 56: '/appli/oradata/IPUMAS/rep16/IPUMAS_rollback_02.dbf'
IPMAS is my start database, I copied all file, and rename database from IPMAS to IPUMAS with command line create controlfile...
Nicolas. -
Bitmap::Clone error
I convert this from c# to vc++.this coding is executed with error.But the image is displayed only green color block without content.
I think the content is based on Color::A.But I add this in Bitmap->Setpixel means,the O/P is not displayed
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e)
System::Drawing::Bitmap^ temp =bmp;
System::Drawing::Bitmap^ bmap = temp->Clone;
Color^ c;
for (int i = 0; i < bmap->Width; i++)
for (int j = 0; j < bmap->Height; j++)
c = bmap->GetPixel(i, j);
bmap->SetPixel(i, j, Color::FromArgb(c->A,0,255,0));
pictureBox6->Image = bmap;
Error: C3867 'System::Drawing::Bitmap::Clone' function call missing argument list use '&System::Drawing::Bitmap::Clone' to create a pointer to member.In order to solve the syntax error:
Bitmap ^ bmap = (Bitmap^)temp->Clone();
Color c; -
Hi,
Oracle 11g
OS Windows
I am trying to clone.Database is starting with nomount but during control file creation is occuring error Find below.
QL> @D:\clone.sql;
CREATE CONTROLFILE SET DATABASE "clone" RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: 'D:\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL01.CTL'
ORA-27038: created file already exists
OSD-04010: <create> option specified, file already exists
Kindly suggest.
Thanks
Edited by: user13382934 on Nov 4, 2010 10:16 AMHi All,
The clone is ready now it is prepared using cold backup from PROD. I have some doubts ,after making clone as I did .The doubt is if I am taking backup for PROD on daily basis using export full command, My clone is prepared on example 01 OCT and I need to restore on 10 OCT from recent backup(example 9th OCT) on clone instance. On this point what I have to perform to restore using import command?
Do after full importing on clone database will be exactly same as it is as PROD?
Example In Prod there are created new tablespace, new user etc on this point do I have to create new tablespace, new user on clone instance first then import ?
If nothing is created on PROD after making clone then no need to perform anything just full import on clone instance and it will be same as PROD?
Thanks -
Hi;
While i am doing post clone on target side for db i have this error:
RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
I set LD_LIBRARY_PATH and i followed doc 330469.1 but error still appear
In make log file it say me:
ORACLE_HOME/bin/oracle0
mv: cannot stat ...../rdbms/lib/oracle no such file or directory
any idea?
Edited by: aaaaa on Jul 22, 2009 1:38 AMHi hussein;
i have same error after new copy from source to target. The Error is:
Beginning database tier Apply - Thu Jul 23 10:10:46 2009
Log file located at proddb/9.2.0/appsutil/log/PROD_oracle2009/ApplyDBTier_07231010.log
RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
ERROR while running Apply...
ERROR: Failed to execute /proddb/9.2.0/appsutil/clone/bin/adclone.pl
In log file i have :
adlnkoh.sh started at Thu Jul 23 10:11:08 EEST 2009
logfile located in /usr/oracle/PROD/database/proddb/9.2.0/install/make.log
Error while running adlnkoh.sh. Please check logfile
.end std out.
/proddb/9.2.0/appsutil/install/adlnkoh.sh: line 200: /proddb/9.2.0/bin/sqlplus: No such file or directory ( this sqlplus doesnt exists i checked in this path)
.end err out.
StackTrace:
java.lang.Exception: java.lang.NullPointerException
at oracle.apps.ad.clone.ApplyDBTechStack.runRelinkOH(ApplyDBTechStack.java:847)
at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:421)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:149)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479)
Under proddb/9.2.0/install/make.log i have :
make: [proddb/9.2.0/rdbms/lib/oracle] Error 1 (ignored)
mv -f /proddb/9.2.0/bin/oracle /proddb/9.2.0/bin/oracleO
mv: cannot stat /proddb/9.2.0/bin/oracle': No such file or directory
make: [ioracle] Error 1 (ignored)
mv proddb/9.2.0/rdbms/lib/oracle /proddb/9.2.0/bin/oracle
mv: cannot stat `/proddb/9.2.0/rdbms/lib/oracle': No such file or directory
make: [ioracle] Error 1 (ignored)
chmod 6751 /proddb/9.2.0/bin/oracle
chmod: cannot access `/proddb/9.2.0/bin/oracle': No such file or directory
make: [ioracle] Error 1 (ignored)
Completed...
I checked /proddb/9.2.0/rdbms/lib in source system oracle0 lsnrctl0 sqlplus0 exist and i copied this folder again to target but i still cant see those file again
Any idea?? -
Elements 10 has stopped allowing my clone tool and gives a program error message. Anyone else experience this and find a fix?
Select the clone tool (if possible) and try a tool reset - see image below. If that's not possible, select another tool and choose reset all tools.
-
Hi
While cloning ,
I faced some errors
1. 'libjava.so not found' on adcfgclone on apps tier . I solved the issue by copying the 'jre' folder from IAS top to clone folder.
2.RC - 50004 Fatal Error on ApplyAppstier on adcfgclone on appstier.I solved it by copying the 'jdbc' folder from IAS top to clone folder.
Now I wants to know the root cause of this issue.Because I solved those issues on trial and error basis and there is no metalink note.
Can anybody pls help me to clarify the things.
Thanks & regards
RajanWe used RCP command to copy the files from source to target
In first case , already there is one jre folder and I renamed as jre.old and then copied from IAS top.
In second case , there is no jdbc folder exists already.
Will it happens if we are not in recent Autoconfig patch level ?
Thanks
Rajan. -
DFSR Database Clone Error 0x00002336
Hi. On my second downstream server (where I want the clone imported), I get this error message:
Import-DfsrClone : Could not import the database clone. Error code: 0x00002336
At line:1 char:1
+ Import-DfsrClone -Volume d:\ -Path D:\DBCLONE
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (d:\:String) [Import-DfsrClone], DfsrException
+ FullyQualifiedErrorId : Import-DfsrClone.ImportDBCloneMethodFailed,Microsoft.DistributedFileSystemReplication.Co
mmands.ImportDfsrCloneCommand
I followed Ned Pyle's tutorial and followed his tutorial:
https://www.youtube.com/watch?v=0kPob4IKY_U
The only thing different I did modify the config.xml file because on the downstream server, the paths are different. For example, D:\Shared\Public is instead, D:\Public so that is all I changed.
What am I doing wrong?Hi,
Thanks for your posting.
I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Thank you for your understanding and support.
Best Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
HRMS application
EBS11.5.10.2
Db 11.2.0.3
suse linux 11 sp2
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> perl adcfgclone.pl appsTier
ERROR: cannot find jre or java under /data/lnxtestcomn/clone/bin/../jre/bin
Please verify that you ran adpreclone.pl successfully
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin>
echo $PATH
/data/lnxtestora/8.0.6/bin:/data/oracle/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/NX/bin:/opt/gnome/bin:/opt/oracle/product/11gR1/db/bin
oracle@hmf-hrm-007:~> which java
/usr/bin/java
oracle@hmf-hrm-007:~> which perl
/usr/bin/perl
I was able clone dbTier successfully.
Preclone steps were ran fine on source.
Help is appreciated.
Thanks.oracle@hmf-hrm-007:~> export PATH=/data/lnxtestora/iAS/Apache/perl/bin/:$PATH
oracle@hmf-hrm-007:~> PERL5LIB=/data/lnxtestora/iAS/Apache/perl/lib/5.00503/:/data/lnxtestora/iAS/Apache/perl/bin
oracle@hmf-hrm-007:~> cd ../lnxtestora/iAS/Apache/perl/bin/
oracle@hmf-hrm-007:/data/lnxtestora/iAS/Apache/perl/bin> perl ../../../../../lnxtestcomn/clone/bin/adcfgclone.pl appsTier
Can't locate strict.pm in @INC (@INC contains: /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503/i686-linux /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503 /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005/i686-linux /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005 .) at ../../../../../lnxtestcomn/clone/bin/adcfgclone.pl line 26.
BEGIN failed--compilation aborted at ../../../../../lnxtestcomn/clone/bin/adcfgclone.pl line 26.
I tried following too.
oracle@hmf-hrm-007:/data/lnxtestora/iAS/Apache/perl/bin> cd ../../../../../lnxtestcomn/clone/bin
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> perl adcfgclone.pl appsTier
Can't locate strict.pm in @INC (@INC contains: /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503/i686-linux /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503 /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005/i686-linux /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005 .) at adcfgclone.pl line 26.
BEGIN failed--compilation aborted at adcfgclone.pl line 26.
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> which perl
/data/lnxtestora/iAS/Apache/perl/bin/perl
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> which java
/usr/bin/java
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> perl -v
This is perl, version 5.005_03 built for i686-linux
Copyright 1987-1999, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> echo $PERL5LIB
/data/lnxtestora/iAS/Apache/perl/lib/5.00503/:/data/lnxtestora/iAS/Apache/perl/bin
Edited by: user10994730 on Sep 28, 2012 11:03 AM -
Hi,
When i cloned the instance in database tier the following errors are coming..,so please tel me any steps to clear this.
First Creating a new context file for the cloned system
The program is going to ask you for some information about the new system
sh:/tmp/adcfgclone.err :Permission denied
ERROR:Context creation not completed successfully
please check /tmp/adcfgclone.err files for errorsHi,
When applying adcfgclone these errors are displayed.please tell any steps to clear this...........
Control file created.
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/cpix/p02/oracle/cpixdata/sys1.dbf'
alter tablespace TEMP add tempfile '/cpix/p02/oracle/cpixdata/tmp1.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "cpix.yantro.com"
ERROR at line 1:
ORA-01109: database not open
declare lib_ver varchar2(3);
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
exit_code=1
Checking for errors ...
RA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/cpix/p02/oracle/cpixdata/sys1.dbf'
ORA-01109: database not open
ORA-01109: database not open
ORA-01109: database not open
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/cpix/p02/oracle/cpixdata/sys1.dbf'
ORA-01109: database not open
ORA-01109: database not open
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 9.2.0.6.0 - Production on Tue Apr 6 19:07:56 2010
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
.end std out.
.end err out.
Thanks
sabarish -
Hello,
I am facing post-clone error on 11i O.S aix 5.3 when i run post-clone script on db it got error.share any solution is highly appreciable
$ perl adcfgclone.pl dbTier
Enter the APPS password [APPS]:
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
RC-50004: Error occurred in CloneContext:
null
Check logfile CloneContext_01210431.log for details.
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone.err file for errors
Thanks,
MAAN
Edited by: user1116442 on Jan 20, 2011 3:40 AMHello,
Yes i run sh orainstRoot.sh as root user after running orainstRoot.sh script as root user i run adcfgclone.pl script but it still getting error.
The 806 installer uses the oratab file.
The file oratab needs to exist at:
/etc/oratab
Please run the script /tmp/orainstRoot.sh as root
Restart adclone.pl after performing required corrections.
ERROR: Failed to execute /apps/oracle/orcldb/9.2.0/appsutil/clone/bin/adclone.pl
This error little bit change from above mention error which come at first time after running sh orainstRoot.sh.kindly look at this.
I didn't run adclone.pl as it saying in error Restart adclone.pl after performing required corrections.
i am asking you should i run adclone.pl as it in above error.and please tell how can i run adclone.pl..is it run as perl adclone.pl dbTier....?
Thanks, -
Error while running adcfgclone on database tier please help me
Hello
I am doing cloning through cold backup and i face some errors..here is my logfile.....please suggest me some solution...
Executing script in InstantiateFile:
Attempting to create a back up of the Context file
Created back up file of name :
/home/clone/db/db/tech_st/10.2.0/appsutil/out/CLONE_zishan/12071920/CLONE_zishan.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /home/clone/db/db/tech_st/10.2.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
===========================================================================
Starting Updates of Context file Tue Dec 07 19:20:41 GMT+05:30 2010
found context version : 120.27
available update version : 120.27
No updates to apply
Ending Updates of Context file
===========================================================================
===========================================================================
Starting Context Value Management System at Tue Dec 07 19:20:41 GMT+05:30 2010
Using version 120.8
Options:
Force : no
Contextfile : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
Templatefile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
ValueUpdateFile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcvmdb.xml
Verifying value management system requirements:
ContextFile : VALID
Template File : VALID
ValueUpdateFile : VALID
Parsing the ValueUpdateFile
[ s_contextfile ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
===========================================================================
[ Config tool : /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl ]
Command : /home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl PASSWORD contextfile=/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml logdir=/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan
Action : execute
SCRIPT RETURNED:
Generate Tns Names
Classpath : /home/clone/db/db/tech_st/10.2.0/jdbc/lib/ojdbc14.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java/xmlparserv2.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java:/home/clone/db/db/tech_st/10.2.0/jlib/netcfg.jar:/home/clone/db/db/tech_st/10.2.0/jlib/ldapjclnt10.jar
Loading ORACLE_HOME environment from /home/clone/db/db/tech_st/10.2.0
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/NetServiceHandler.log
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
.end std out.
.end err out.
Result : FAILED
===========================================================================
Ending Context Value Management System.
===========================================================================
===========================================================================
No uploading of Context file and its templates to database. Database conection failed
===========================================================================
Finished running CVM.....
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
Looking for the directory : /home/clone/db/db/tech_st/10.2.0/nls/data/9idata
Directory exists
Looking for file : /home/clone/db/db/tech_st/10.2.0/nls/data/old/cr9idata.pl
File exists
Validation complete
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:09 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Starting DB listener with command:
/home/clone/db/db/tech_st/10.2.0/appsutil/scripts/CLONE_zishan/addlnctl.sh start CLONE
You are running addlnctl.sh version 120.1
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/addlnctl.txt
Starting listener process CLONE ...
addlnctl.sh: exiting with status 0
.end std out.
.end err out.
checking DB Connection...
DEBUG: checkDBConnection in()
ADX Database Utility
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
DEBUG: checkDBConnection out()
Verifying correctness of adcrdbclone.sql
Clustered Database: false
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
Updating:s_db_rollback_segs:(_syssmu1$, syssmu2$, syssmu3$, syssmu4$, syssmu5$, syssmu6$, syssmu7$, syssmu8$, syssmu9$, syssmu10$, syssmu11$, syssmu12$, syssmu13$, syssmu14$, syssmu15$):
Updating:s_undo_tablespace:APPS_UNDOTS1:
Updating:s_database:db102:
Updating:isspfileexists:false:
Updating:s_dbfiles:512:
Executing Configuration Phase...
Deleting files of type INSTALL
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/sqlnet.ora
Processing driver file: /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
Checking for file: /home/clone/db/db/tech_st/10.2.0/dbs/initCLONE.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/listener.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/tnsnames.ora
File exists
File deleted
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:26 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Tue Dec 7 19:21:27 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
LD_LIBRARY_PATH : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
Executable : /home/clone/db/db/tech_st/10.2.0/bin/sqlplus
The log information will be written to
/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/adcrdb_CLONE.txt
Creating the control file for CLONE_zishan database ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:27 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
ORA-00205: error in identifying control file, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:33 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabaseHi;
What is EBS and Db,OS?
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389home/clone/db/db/apps_st/data/cntrl01.dbf' This file exsits? If yes you have r/w permission?
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
*Did you run preclone on source before copy file to target?
Regard
Helios
Maybe you are looking for
-
Is it worthy to buy a Zen with 2Gb and a SD card of 4 or is it better to buy a Zen with 4
Hi. I'm thinking on buying a Zen, but i'm a bit confused on the issue of if is it better to buy a Zen with 4Gb or a Zen with 2Gb and a SD card with 4Gb, because the diference on the pricefrom the 2Gb to the 4Gb fits a SD card with 4Gb, and will resul
-
Hi I need the Material Ageing report as the given following requirement 1) Material With GR Date 2) The Ageing will be for 30, 60, 90, 180, 270, 360 3) Material with Normal & Special Stock 4) Material with the Split Valuation If any one have worked o
-
Songs are not in the same sequence like on CD or iTunes
I am automatically syncing my iPod with iTunes, but for some reason the songs displayed and played in the wrong sequence. Its very annoying because I have some musicals that the songs must follow in the right order. I reinstalled iPod software and re
-
I just bought a Satellite A665-3DV12X. I plan to resize/split it's C: partition. In that case will I be able to reover from the recovery partition to the shrunk C: drive? Thanks in advance. Serkan
-
When should i use .dmg and .cdr?
I am backing my software programs and would like to know if I should use the .cdr or .dmg type? Does it matter? Are there differences in file sizes?