Perl adcfgclone.pl dbTier fails RC-50014: Fatal: Execution of AutoConfig

in past we have been successfully doing Rapid clonning of R12.
but now i am doing Rapid clonning and i am facing the error :
15% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
RC-50014: Fatal: Execution of AutoConfig was failed
ERROR while running Apply...
Mon Dec 19 08:37:26 2011
ERROR: Failed to execute /opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl
Please check logfile.
i run preclone script on PRODUCTION Server and took a cold backup and copied that backup to TEST server.
Log file errors :
ADX Database Utility
getConnection() -->
sDbHost : testing
sDbDomain : fgho.com
sDbPort : 1521
sDbSid : PROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testing.fgho.com:1521:PROD
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 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=testing.fgho.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 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=testing.fgho.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD.fgho.com)))
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
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : testing
sDbDomain : fgho.com
sDbPort : 1521
sDbSid : PROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testing.fgho.com:1521:PROD
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 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=testing.fgho.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 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=testing.fgho.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD.fgho.com)))
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
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Wed Dec 21 09:54:44 PKT 2011
The environment settings are as follows ...
ORACLE_HOME : /opt/oracle/db/tech_st/11.1.0
ORACLE_SID : PROD
TWO_TASK :
PATH : /opt/oracle/db/tech_st/11.1.0/perl/bin:/opt/oracle/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/opt/oracle/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:.
LD_LIBRARY_PATH : /opt/oracle/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/opt/oracle/db/tech_st/11.1.0/lib:/usr/dt/lib:/opt/oracle/db/tech_st/11.1.0/ctx/lib
Executable : /opt/oracle/db/tech_st/11.1.0/bin/sqlplus
The log information will be written to
     /opt/oracle/db/tech_st/11.1.0/appsutil/log/PROD_testing/adcrdb_PROD.txt
Creating the control file for PROD_testing database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Dec 21 09:54:44 2011
Copyright (c) 1982, 2008, 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 1068937216 bytes
Fixed Size          2166536 bytes
Variable Size          427819256 bytes
Database Buffers     624951296 bytes
Redo Buffers          14000128 bytes
Control file created.
Database altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
Database altered.
Database closed.
Database dismounted.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size          2166536 bytes
Variable Size          427819256 bytes
Database Buffers     624951296 bytes
Redo Buffers          14000128 bytes
Database mounted.
PL/SQL procedure successfully completed.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size          2166536 bytes
Variable Size          427819256 bytes
Database Buffers     624951296 bytes
Redo Buffers          14000128 bytes
Control file created.
Database altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
Database altered.
PL/SQL procedure successfully completed.
File created.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
exit_code=0
Checking for errors ...
.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 : testing
sDbDomain : fgho.com
sDbPort : 1521
sDbSid : PROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testing.fgho.com:1521:PROD
Connection obtained
-------------------ADX Database Utility Finished---------------
Starting Database profiles update: running addbprf.sh
addbprf.sh started at Wed Dec 21 09:57:02 PKT 2011
The environment settings are as follows ...
ORACLE_HOME : /opt/oracle/db/tech_st/11.1.0
ORACLE_SID : PROD
TWO_TASK :
PATH : /opt/oracle/db/tech_st/11.1.0/perl/bin:/opt/oracle/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/opt/oracle/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:.
LD_LIBRARY_PATH : /opt/oracle/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/opt/oracle/db/tech_st/11.1.0/lib:/usr/dt/lib:/opt/oracle/db/tech_st/11.1.0/ctx/lib
Executable : /opt/oracle/db/tech_st/11.1.0/bin/sqlplus
Enter the APPS username:
Enter the APPS password:
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Dec 21 09:57:03 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Connected.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Dec 21 09:57:07 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Connected.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
addbprf.sh exiting with status 0
.end std out.
stty: standard input: Invalid argument
stty: standard input: Invalid argument
.end err out.
Cleaning up the Data Model
===============================================================================
NetServiceHandler 120.19 started for testing at Wed Dec 21 09:57:08 PKT 2011
===============================================================================
[ Context Information ]
Host : testing
Domain : fgho.com
Out Dir : null
Tier Type : DATABASE TIER
Getting connection...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : testing
sDbDomain : fgho.com
sDbPort : 1521
sDbSid : PROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testing.fgho.com:1521:PROD
Connection obtained
-------------------ADX Database Utility Finished---------------
Connection obtained
Removing System PROD
System succesfully removed
Data Model cleaned
Closing connection
Connection Closed
Updating FND_SQLNET_ACCESS
You are running txkcreateACL.sh version 120.1
The environment settings are as follows ...
ORACLE_HOME : /opt/oracle/db/tech_st/11.1.0
ORACLE_SID : PROD
PATH : /opt/oracle/db/tech_st/11.1.0/perl/bin:/opt/oracle/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/opt/oracle/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:.
Executable : /opt/oracle/db/tech_st/11.1.0/bin/sqlplus
Executing txkcreateACL.sql ...
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Dec 21 09:57:46 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected.
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
txkcreateACL.sh: exiting with status 1
.end std out.
.end err out.
[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>
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /opt/oracle/db/tech_st/11.1.0/appsutil/install/PROD_testing
txkcreateACL.sh INSTE8_APPLY 1
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyDatabase

alert log contents :
Wed Dec 21 09:54:47 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /opt/oracle/db/tech_st/11.1.0/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =44
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile /opt/oracle/db/tech_st/11.1.0/dbs/initPROD.ora on machine testing.fgho.com
System parameters with non-default values:
processes = 200
sessions = 400
timed_statistics = TRUE
shared_pool_size = 400M
shared_pool_reserved_size= 40M
nls_language = "american"
nls_territory = "america"
nls_sort = "binary"
nls_date_format = "DD-MON-RR"
nls_numeric_characters = ".,"
nls_comp = "binary"
nls_length_semantics = "BYTE"
sga_target = 1G
control_files = "/opt/oracle/db/apps_st/data/cntrl01.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl02.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl03.dbf"
db_block_checksum = "TRUE"
db_block_size = 8192
compatible = "11.1.0"
log_buffer = 10485760
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = "AUTO"
undo_tablespace = "APPS_UNDOTS1"
db_block_checking = "FALSE"
sec_case_sensitive_logon = FALSE
session_cached_cursors = 500
utl_file_dir = "/usr/tmp"
utl_file_dir = "/usr/tmp"
utl_file_dir = "/opt/oracle/db/tech_st/11.1.0/appsutil/outbound/PROD_testing"
utl_file_dir = "/usr/tmp"
plsql_native_library_dir = "/opt/oracle/db/tech_st/11.1.0/plsql/nativelib"
plsql_native_library_subdir_count= 149
plsql_code_type = "INTERPRETED"
plsql_optimize_level = 2
job_queue_processes = 2
systemtrig_enabled = TRUE
cursor_sharing = "EXACT"
parallel_min_servers = 0
parallel_max_servers = 8
db_name = "PROD"
open_cursors = 600
ifile = "/opt/oracle/db/tech_st/11.1.0/dbs/PROD_testing_ifile.ora"
sortelimination_cost_ratio= 5
btree_bitmap_plans = FALSE
fastfull_scan_enabled = FALSE
query_rewrite_enabled = "true"
indexjoin_enabled = FALSE
sqlexecprogression_cost= 2147483647
likewith_bind_as_equality= TRUE
pga_aggregate_target = 1G
workarea_size_policy = "AUTO"
optimizerautostats_job = FALSE
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4M
diagnostic_dest = "/opt/oracle/db/tech_st/11.1.0/admin/PROD_testing"
tracefiles_public = TRUE
max_dump_file_size = "20480"
Wed Dec 21 09:54:48 2011
PMON started with pid=2, OS id=13123
Wed Dec 21 09:54:48 2011
VKTM started with pid=3, OS id=13125
VKTM running at (100ms) precision
Wed Dec 21 09:54:48 2011
DIAG started with pid=4, OS id=13129
Wed Dec 21 09:54:48 2011
DBRM started with pid=5, OS id=13131
Wed Dec 21 09:54:48 2011
PSP0 started with pid=6, OS id=13133
Wed Dec 21 09:54:48 2011
DIA0 started with pid=7, OS id=13135
Wed Dec 21 09:54:48 2011
MMAN started with pid=8, OS id=13137
Wed Dec 21 09:54:48 2011
DBW0 started with pid=9, OS id=13139
Wed Dec 21 09:54:48 2011
DBW1 started with pid=10, OS id=13141
Wed Dec 21 09:54:48 2011
LGWR started with pid=11, OS id=13143
Wed Dec 21 09:54:48 2011
CKPT started with pid=12, OS id=13145
Wed Dec 21 09:54:48 2011
SMON started with pid=13, OS id=13147
Wed Dec 21 09:54:48 2011
RECO started with pid=14, OS id=13149
Wed Dec 21 09:54:48 2011
MMON started with pid=15, OS id=13151
Wed Dec 21 09:54:48 2011
MMNL started with pid=16, OS id=13153
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Wed Dec 21 09:54:48 2011
CREATE CONTROLFILE REUSE SET DATABASE "PROD"
LOGFILE
GROUP 1 ('/opt/oracle/db/apps_st/data/log01a.dbf', '/opt/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
GROUP 2 ('/opt/oracle/db/apps_st/data/log02a.dbf', '/opt/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
DATAFILE
'/opt/oracle/db/apps_st/data/system12.dbf', ( to reduce charachters here i removed data file names and path )
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 182332776
Completed: CREATE CONTROLFILE REUSE SET DATABASE "PROD"
LOGFILE
GROUP 1 ('/opt/oracle/db/apps_st/data/log01a.dbf', '/opt/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
GROUP 2 ('/opt/oracle/db/apps_st/data/log02a.dbf', '/opt/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
DATAFILE
'/opt/oracle/db/apps_st/data/system12.dbf',
'/opt/oracle/db/apps_st/data/a_ref02.dbf'
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
alter database open resetlogs
RESETLOGS after incomplete recovery UNTIL CHANGE 5966705058903
Wed Dec 21 09:55:37 2011
Setting recovery target incarnation to 2
Wed Dec 21 09:55:37 2011
Assigning activation ID 182332776 (0xade2d68)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /opt/oracle/db/apps_st/data/log01a.dbf
Current log# 1 seq# 1 mem# 1: /opt/oracle/db/apps_st/data/log01b.dbf
Successful open of redo thread 1
Wed Dec 21 09:55:37 2011
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Dec 21 09:55:37 2011
SMON: enabling cache recovery
Incremental checkpoint up to RBA [0x1.3.0], current log tail at RBA [0x1.3.0]
Successfully onlined Undo Tablespace 368.
Dictionary check beginning
Tablespace 'TEMP1' #284 found in data dictionary,
but not in the controlfile. Adding to controlfile.
Tablespace 'TEMP2' #394 found in data dictionary,
but not in the controlfile. Adding to controlfile.
Dictionary check complete
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
WARNING: The following temporary tablespaces contain no files.
This condition can occur when a backup controlfile has
been restored. It may be necessary to add files to these
tablespaces. That can be done using the SQL statement:
ALTER TABLESPACE <tablespace_name> ADD TEMPFILE
Alternatively, if these temporary tablespaces are no longer
needed, then they can be dropped.
Empty temporary tablespace: TEMP1
Empty temporary tablespace: TEMP2
Database Characterset is US7ASCII
Opening with internal Resource Manager plan
Starting background process FBDA
Wed Dec 21 09:55:43 2011
FBDA started with pid=18, OS id=13206
replication_dependency_tracking turned off (no async multimaster replication found)
Wed Dec 21 09:55:49 2011
Starting background process QMNC
Wed Dec 21 09:55:49 2011
QMNC started with pid=19, OS id=13215
LOGSTDBY: Validating controlfile with logical metadata
LOGSTDBY: Validation complete
Wed Dec 21 09:55:59 2011
Global Name changed to PROD
Completed: alter database open resetlogs
alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01.dbf' REUSE
Completed: alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01.dbf' REUSE
alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02.dbf' REUSE
Completed: alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02.dbf' REUSE
alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01A.dbf' REUSE
Completed: alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01A.dbf' REUSE
alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02A.dbf' REUSE
Completed: alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02A.dbf' REUSE
ALTER DATABASE RENAME GLOBAL_NAME TO "PROD.fgho.com"
Completed: ALTER DATABASE RENAME GLOBAL_NAME TO "PROD.fgho.com"
Stopping background process FBDA
Shutting down instance: further logons disabled
Stopping background process QMNC
Stopping background process MMNL
Wed Dec 21 09:56:10 2011
Stopping background process MMON
Wed Dec 21 09:56:22 2011
Shutting down instance (immediate)
License high water mark = 1
ALTER DATABASE CLOSE NORMAL
Wed Dec 21 09:56:23 2011
SMON: disabling tx recovery
SMON: disabling cache recovery
Wed Dec 21 09:56:23 2011
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Thread 1 closed at log sequence 1
Successful close of redo thread 1
Completed: ALTER DATABASE CLOSE NORMAL
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Wed Dec 21 09:56:24 2011
Stopping background process VKTM:
Wed Dec 21 09:56:26 2011
Instance shutdown complete
Wed Dec 21 09:56:27 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /opt/oracle/db/tech_st/11.1.0/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =44
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile /opt/oracle/db/tech_st/11.1.0/dbs/initPROD.ora on machine testing.fgho.com
System parameters with non-default values:
processes = 200
sessions = 400
timed_statistics = TRUE
shared_pool_size = 400M
shared_pool_reserved_size= 40M
nls_language = "american"
nls_territory = "america"
nls_sort = "binary"
nls_date_format = "DD-MON-RR"
nls_numeric_characters = ".,"
nls_comp = "binary"
nls_length_semantics = "BYTE"
sga_target = 1G
control_files = "/opt/oracle/db/apps_st/data/cntrl01.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl02.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl03.dbf"
db_block_checksum = "TRUE"
db_block_size = 8192
compatible = "11.1.0"
log_buffer = 10485760
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = "AUTO"
undo_tablespace = "APPS_UNDOTS1"
db_block_checking = "FALSE"
sec_case_sensitive_logon = FALSE
session_cached_cursors = 500
utl_file_dir = "/usr/tmp"
utl_file_dir = "/usr/tmp"
utl_file_dir = "/opt/oracle/db/tech_st/11.1.0/appsutil/outbound/PROD_testing"
utl_file_dir = "/usr/tmp"
plsql_native_library_dir = "/opt/oracle/db/tech_st/11.1.0/plsql/nativelib"
plsql_native_library_subdir_count= 149
plsql_code_type = "INTERPRETED"
plsql_optimize_level = 2
job_queue_processes = 2
systemtrig_enabled = TRUE
cursor_sharing = "EXACT"
parallel_min_servers = 0
parallel_max_servers = 8
db_name = "PROD"
open_cursors = 600
ifile = "/opt/oracle/db/tech_st/11.1.0/dbs/PROD_testing_ifile.ora"
sortelimination_cost_ratio= 5
btree_bitmap_plans = FALSE
fastfull_scan_enabled = FALSE
query_rewrite_enabled = "true"
indexjoin_enabled = FALSE
sqlexecprogression_cost= 2147483647
likewith_bind_as_equality= TRUE
pga_aggregate_target = 1G
workarea_size_policy = "AUTO"
optimizerautostats_job = FALSE
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4M
diagnostic_dest = "/opt/oracle/db/tech_st/11.1.0/admin/PROD_testing"
tracefiles_public = TRUE
max_dump_file_size = "20480"
Wed Dec 21 09:56:27 2011
PMON started with pid=2, OS id=13257
Wed Dec 21 09:56:27 2011
VKTM started with pid=3, OS id=13259
VKTM running at (100ms) precision
Wed Dec 21 09:56:27 2011
DIAG started with pid=4, OS id=13263
Wed Dec 21 09:56:27 2011
DBRM started with pid=5, OS id=13265
Wed Dec 21 09:56:27 2011
PSP0 started with pid=6, OS id=13267
Wed Dec 21 09:56:27 2011
DIA0 started with pid=7, OS id=13269
Wed Dec 21 09:56:27 2011
MMAN started with pid=8, OS id=13271
Wed Dec 21 09:56:27 2011
DBW0 started with pid=9, OS id=13273
Wed Dec 21 09:56:27 2011
DBW1 started with pid=10, OS id=13275
Wed Dec 21 09:56:27 2011
LGWR started with pid=11, OS id=13277
Wed Dec 21 09:56:27 2011
CKPT started with pid=12, OS id=13279
Wed Dec 21 09:56:27 2011
SMON started with pid=13, OS id=13281
Wed Dec 21 09:56:27 2011
RECO started with pid=14, OS id=13283
Wed Dec 21 09:56:27 2011
MMON started with pid=15, OS id=13285
Wed Dec 21 09:56:27 2011
MMNL started with pid=16, OS id=13287
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Wed Dec 21 09:56:27 2011
ALTER DATABASE MOUNT
Changing di2dbun from to PROD
Setting recovery target incarnation to 2
Successful mount of redo thread 1, with mount id 182307531
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed Dec 21 09:56:31 2011
Shutting down instance (abort)
License high water mark = 1
USER (ospid: 13293): terminating the instance
Instance terminated by USER, pid = 13293
Wed Dec 21 09:56:32 2011
Instance shutdown complete
Wed Dec 21 09:56:33 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /opt/oracle/db/tech_st/11.1.0/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =44
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile /opt/oracle/db/tech_st/11.1.0/dbs/initPROD.ora on machine testing.fgho.com
System parameters with non-default values:
processes = 200
sessions = 400
timed_statistics = TRUE
shared_pool_size = 400M
shared_pool_reserved_size= 40M
nls_language = "american"
nls_territory = "america"
nls_sort = "binary"
nls_date_format = "DD-MON-RR"
nls_numeric_characters = ".,"
nls_comp = "binary"
nls_length_semantics = "BYTE"
sga_target = 1G
control_files = "/opt/oracle/db/apps_st/data/cntrl01.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl02.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl03.dbf"
db_block_checksum = "TRUE"
db_block_size = 8192
compatible = "11.1.0"
log_buffer = 10485760
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = "AUTO"
undo_tablespace = "APPS_UNDOTS1"
db_block_checking = "FALSE"
sec_case_sensitive_logon = FALSE
session_cached_cursors = 500
utl_file_dir = "/usr/tmp"
utl_file_dir = "/usr/tmp"
utl_file_dir = "/opt/oracle/db/tech_st/11.1.0/appsutil/outbound/PROD_testing"
utl_file_dir = "/usr/tmp"
plsql_native_library_dir = "/opt/oracle/db/tech_st/11.1.0/plsql/nativelib"
plsql_native_library_subdir_count= 149
plsql_code_type = "INTERPRETED"
plsql_optimize_level = 2
job_queue_processes = 2
systemtrig_enabled = TRUE
cursor_sharing = "EXACT"
parallel_min_servers = 0
parallel_max_servers = 8
db_name = "PROD"
open_cursors = 600
ifile = "/opt/oracle/db/tech_st/11.1.0/dbs/PROD_testing_ifile.ora"
sortelimination_cost_ratio= 5
btree_bitmap_plans = FALSE
fastfull_scan_enabled = FALSE
query_rewrite_enabled = "true"
indexjoin_enabled = FALSE
sqlexecprogression_cost= 2147483647
likewith_bind_as_equality= TRUE
pga_aggregate_target = 1G
workarea_size_policy = "AUTO"
optimizerautostats_job = FALSE
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4M
diagnostic_dest = "/opt/oracle/db/tech_st/11.1.0/admin/PROD_testing"
tracefiles_public = TRUE
max_dump_file_size = "20480"
Wed Dec 21 09:56:33 2011
PMON started with pid=2, OS id=13297
Wed Dec 21 09:56:33 2011
VKTM started with pid=3, OS id=13299
VKTM running at (100ms) precision
Wed Dec 21 09:56:33 2011
DIAG started with pid=4, OS id=13303
Wed Dec 21 09:56:33 2011
DBRM started with pid=5, OS id=13305
Wed Dec 21 09:56:33 2011
PSP0 started with pid=6, OS id=13307
Wed Dec 21 09:56:33 2011
DIA0 started with pid=7, OS id=13309
Wed Dec 21 09:56:33 2011
MMAN started with pid=8, OS id=13311
Wed Dec 21 09:56:33 2011
DBW0 started with pid=9, OS id=13313
Wed Dec 21 09:56:33 2011
DBW1 started with pid=10, OS id=13315
Wed Dec 21 09:56:33 2011
LGWR started with pid=11, OS id=13317
Wed Dec 21 09:56:33 2011
CKPT started with pid=12, OS id=13319
Wed Dec 21 09:56:33 2011
SMON started with pid=13, OS id=13321
Wed Dec 21 09:56:33 2011
RECO started with pid=14, OS id=13323
Wed Dec 21 09:56:33 2011
MMON started with pid=15, OS id=13325
Wed Dec 21 09:56:33 2011
MMNL started with pid=16, OS id=13327
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Wed Dec 21 09:56:33 2011
CREATE CONTROLFILE REUSE SET DATABASE "PROD"
LOGFILE
GROUP 1 ('/opt/oracle/db/apps_st/data/log01a.dbf', '/opt/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
GROUP 2 ('/opt/oracle/db/apps_st/data/log02a.dbf', '/opt/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
DATAFILE
'/opt/oracle/db/apps_st/data/system12.dbf',
'/opt/oracle/db/apps_st/data/a_ref02.dbf'
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 182334161
Completed: CREATE CONTROLFILE REUSE SET DATABASE "PROD"
LOGFILE
GROUP 1 ('/opt/oracle/db/apps_st/data/log01a.dbf', '/opt/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
GROUP 2 ('/opt/oracle/db/apps_st/data/log02a.dbf', '/opt/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
DATAFILE
'/opt/oracle/db/apps_st/data/system12.dbf',
'/opt/oracle/db/apps_st/data/a_ref02.dbf'
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
alter database open resetlogs
RESETLOGS after incomplete recovery UNTIL CHANGE 5966705066893
Wed Dec 21 09:56:57 2011
Setting recovery target incarnation to 2
Wed Dec 21 09:56:58 2011
Checker run found 42 new persistent data failures
Wed Dec 21 09:56:58 2011
Assigning activation ID 182334161 (0xade32d1)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /opt/oracle/db/apps_st/data/log01a.dbf
Current log# 1 seq# 1 mem# 1: /opt/oracle/db/apps_st/data/log01b.dbf
Successful open of redo thread 1
Wed Dec 21 09:56:58 2011
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Dec 21 09:56:58 2011
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 368.
Dictionary check beginning
Tablespace 'TEMP1' #284 found in data dictionary,
but not in the controlfile. Adding to controlfile.
Tablespace 'TEMP2' #394 found in data dictionary,
but not in the controlfile. Adding to controlfile.
Dictionary check complete
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
WARNING: The following temporary tablespaces contain no files.
This condition can occur when a backup controlfile has
been restored. It may be necessary to add files to these
tablespaces. That can be done using the SQL statement:
ALTER TABLESPACE <tablespace_name> ADD TEMPFILE
Alternatively, if these temporary tablespaces are no longer
needed, then they can be dropped.
Empty temporary tablespace: TEMP1
Empty temporary tablespace: TEMP2
Database Characterset is US7ASCII
Incremental checkpoint up to RBA [0x1.3.0], current log tail at RBA [0x1.2b.0]
Opening with internal Resource Manager plan
Starting background process FBDA
Wed Dec 21 09:56:58 2011
FBDA started with pid=18, OS id=13347
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Wed Dec 21 09:56:58 2011
QMNC started with pid=19, OS id=13351
LOGSTDBY: Validating controlfile with logical metadata
LOGSTDBY: Validation complete
Global Name changed to PROD
Completed: alter database open resetlogs
alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01.dbf' REUSE
Completed: alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01.dbf' REUSE
alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02.dbf' REUSE
Completed: alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02.dbf' REUSE
alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01A.dbf' REUSE
Completed: alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01A.dbf' REUSE
alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02A.dbf' REUSE
Completed: alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02A.dbf' REUSE
ALTER DATABASE RENAME GLOBAL_NAME TO "PROD.fgho.com"
Completed: ALTER DATABASE RENAME GLOBAL_NAME TO "PROD.fgho.com"
Wed Dec 21 09:57:03 2011
Starting background process CJQ0
Wed Dec 21 09:57:03 2011
CJQ0 started with pid=20, OS id=13385
Wed Dec 21 09:57:49 2011
Errors in file /opt/oracle/db/tech_st/11.1.0/admin/PROD_testing/diag/rdbms/prod/PROD/trace/PROD_ora_14065.trc:
ORA-00604: error occurred at recursive SQL level
ORA-01422: exact fetch returns more than requested number of rows
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0xC] [PC:0x979FFE, qmtRemoveRef()+114]
Errors in file /opt/oracle/db/tech_st/11.1.0/admin/PROD_testing/diag/rdbms/prod/PROD/trace/PROD_ora_14065.trc (incident=3337):
ORA-07445: exception encountered: core dump [qmtRemoveRef()+114] [SIGSEGV] [ADDR:0xC] [PC:0x979FFE] [Address not mapped to object] []
Incident details in: /opt/oracle/db/tech_st/11.1.0/admin/PROD_testing/diag/rdbms/prod/PROD/incident/incdir_3337/PROD_ora_14065_i3337.trc
to reduce charachters  i removed data file names and path at some places in this alert log file

Similar Messages

  • Adcfgclone.pl error:RC-50014: Fatal: Execution of AutoConfig was failed

    hi all,
    i got following error while cloning of R12 instance on HP UX.
    after copying from source to target i have run perl adcfgclone.pl dbTechStack.
    error...
    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 : /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    No uploading of Context file and its templates to database. Database conection failed
    [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: /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/install/RSU_reeldev
    adcrdb.sh INSTE8
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    regards,
    sandeep.

    hi,
    i already have checked <RDBMS ORACLE_HOME>/appsutil/log/<Context_name>/<MMDDhhmm>/adconfig.log location but there is no directory with <MMDDhhmm>/adconfig.log..
    can u check below update....i think i m missing some syntex
    adcfgclone.pl dbconfig /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.20.12000000.12
    Enter the APPS password :
    Running Rapid Clone with command:
    perl /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone component=dbconfig method=CUSTOM dbctxtg=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml showProgress contextValidated=false
    Running:
    perl /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone component=dbconfig method=CUSTOM dbctxtg=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml showProgress contextValidated=false
    APPS Password :
    Setting SHLIB_PATH to :/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/oui/lib/hpunix
    Beginning dbconfig Apply - Sat Apr 24 12:19:55 2010
    /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/erpdev1/orarsu/db/tech_st/10.2.0/oui -classpath /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/java:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDatabase -e /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml -stage /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone -rmanstage -rmantgtloc -srcdbname -showProgress -checkDBConnection
    -e
    /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml
    -stage
    /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone
    -rmanstage
    -rmantgtloc
    -srcdbname
    -showProgress
    -checkDBConnection
    Option -rmanstage can only appear once
    usage:
    java oracle.apps.ad.clone.ApplyDatabase
    -e CONTEXT [-stage STAGE_DIR]
    [-stagestub STAGE_STUB] [-verbose]
    [-rmanstage RMANSTAGE]
    [-rmantgtloc RMANTGTLOC]
    [-srcdbname SRCDBNAME]
    [-nthreads NUMBER] [-showProgress] [-pwd PASSWD]
    [-phase bits|reg|cfg|all]
    [-node initial*|add|remove] [-shared]
    [-dbmode clone*|restore|standby]
    [-checkDBConnection] [-configracnode]
    where:
    CONTEXT = Applications context file name
    STAGE_DIR = Cloning stage directory
    Only used if running 'Copy Bits' phase.
    STAGE_STUB = Custom stage sub directory
    Only used if running 'Copy Bits' phase.
    -verbose = if specified, will run in verbose mode
    NUMBER = Number of threads used in the zip action. Range [1-20]
    showProgress = Shows the progress of the process
    bits = process only the 'Copy Bits' portion of the clone
    reg = process only the 'Registration' portion of the clone
    cfg = process only the 'Configuration' portion of the clone
    all = processes 'Copy Bits', 'Registration', and 'Configuration'
    initial = (default value) runs process for creating initial node
    add = runs process for creating initial node
    remove = runs process for creating initial node
    shared = Used for shared filesystem nodes.
    Verifies and uses bits that are already present.
    Only used if running 'Copy Bits' phase.
    clone = Standard cloning mode where the new database is brought up
    with a new DBID and Global DB Name. Clean-up and setup
    processes may be started
    restore = Used to restore a database. DBID, GDBN, and
    setup information are not changed.
    standby = Used to create a standby database. Database is
    not opened and no changes are made.
    checkDBConnection = Checks for DBConnection before configuring
    configracnode = used for scale out on a RAC instance
    ERROR while running Apply...
    Sat Apr 24 12:19:56 2010
    ERROR: Failed to execute /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    pls help me to resolve the same...
    thanks
    sandeep

  • RC-50014: Fatal: Execution of AutoConfig was failed

    Hi
    I did HOT clone via RMAN.
    We have 11g DB and 12.1.3 APPS
    after run adcfgclone on appsTier
    after 77% completion , i got error
    RC-50014: Fatal: Execution of AutoConfig was failed
    Please Reply me
    Thanks
    Mohammad
    Edited by: user10493335 on Nov 12, 2011 7:41 AM

    Here is log file content
    [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>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u01/PIMTEST/inst/apps/PIMTEST_usadanaspimtst2/admin/install
    adgendbc.sh INSTE8_SETUP 1
    afcpnode.sh INSTE8_SETUP 1
    afgcsreg.sh INSTE8_SETUP 1
    txkWfClone.sh INSTALL_SETUP 1
    [PROFILE PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u01/PIMTEST/inst/apps/PIMTEST_usadanaspimtst2/admin/install
    adadmprf.sh INSTE8_PRF 1
    admk80ln.sh INSTALL_PRF 1
    afadmprf.sh INSTE8_PRF 1
    afcpctx.sh INSTE8_PRF 1
    afcpgsm.sh INSTE8_PRF 1
    ibywebprf.sh INSTE8_PRF 1
    igccmprf.sh INSTE8_PRF 1
    jtfictx.sh INSTE8_PRF 1
    okladmprf.sh INSTE8_PRF 1
    txkJavaMailerCfg.sh INSTE8_PRF 1
    txkWebServicescfg.sh INSTE8_PRF 1
    Directory: /u01/PIMTEST/tech_st/10.1.3/perl/bin/perl -I /u01/PIMTEST/tech_st/10.1.3/perl/lib/5.8.3 -I /u01/PIMTEST/tech_st/10.1.3/perl/lib/site_perl/5.8.3 -I /u01/PIMTEST/apps_st/appl/au/12.0.0/perl -I /u01/PIMTEST/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi /u01/PIMTEST/inst/apps/PIMTEST_usadanaspimtst2/admin/scripts/adexecsql.pl sqlfile=/u01/PIMTEST/inst/apps/PIMTEST_usadanaspimtst2/admin/install
    afwebprf.sql INSTE8_PRF 1
    amscmprf.sql INSTE8_PRF 1
    amswebprf.sql INSTE8_PRF 1
    bisadmprf.sql INSTE8_PRF 1
    bisdblrp.sql INSTE8_PRF 1
    clnadmprf.sql INSTE8_PRF 1
    cncmprf.sql INSTE8_PRF 1
    cseadmprf.sql INSTE8_PRF 1
    csfadmprf.sql INSTE8_PRF 1
    csiadmprf.sql INSTE8_PRF 1
    eamadmprf.sql INSTE8_PRF 1
    fteadmprf.sql INSTE8_PRF 1
    icxwebprf.sql INSTE8_PRF 1
    oksfrmprf.sql INSTE8_PRF 1
    wshadmprf.sql INSTE8_PRF 1
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u01/PIMTEST/tech_st/10.1.3/perl/bin/perl -I /u01/PIMTEST/tech_st/10.1.3/perl/lib/5.8.3 -I /u01/PIMTEST/tech_st/10.1.3/perl/lib/site_perl/5.8.3 -I /u01/PIMTEST/apps_st/appl/au/12.0.0/perl -I /u01/PIMTEST/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi /u01/PIMTEST/inst/apps/PIMTEST_usadanaspimtst2/admin/install
    adadmat.pl INSTE8_APPLY 1
    AutoConfig is exiting with status 31
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyApplTop
    ERROR: AutoConfig completed with errors. Check logfile at /u01/PIMTEST/inst/apps/PIMTEST_usadanaspimtst2/admin/log/ApplyAppsTier_11121014.log for details.
    ApplyApplTop Completed Successfully.
    # Checking the status of AutoConfig run of ApplyApplTop
    Warning : AutoConfig has completed with errors .
    Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line after fixing the problem
    Thanks
    Mohammad

  • Perl adcfgclone.pl dbTier  fails on control file creation

    Hi Guys,
    Platform is : Linux 5
    DB: 11.1.0.7
    R12.1.1
    I have a temp file that had been removed at the OS level.. on the source And I want to updated the control file regarding this so that it does not record this file any more.
    I am using rapid clone (EBS) to cone this source database unto the target but is failing on the target control file creation as it's trying to find the temp file that had been removed at the source. OS level.
    So I will like to update the control file on the source so that it does not reflect this dropped temp file any longer and then do the clone again.
    So What's the best way to achieve this or please point me to a metalink note:
    Also below are the rrors from the rapid clone
    /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u04/oracle/ASCPT/db/tech_st/11.1.0/oui -classpath /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc6.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/java:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/ewt3.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/share.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/srvm.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/DEV2_irvstjunx084.xml -stage /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone -showProgress
    APPS Password : Log file located at /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/log/DEV2_irvstjunx084/ApplyDBTier_05140928.log
    / 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    I had tried modifying the the file adcrdbclone.sql in which is caled by <RDBMS $ORACLE_HOME>/appsutil/template/addbtmpl.drv by removing the temp file that does not exist .
    and then ran perl adcfgclone.pl dbTier again but still failed on the control file creation.
    Please advise
    Thanks in advance

    Hi Helios ,
    Thanks for getting back to me.
    I found that the issed was that there is a datafile that was dropped at the source at the OS level ... ( A mistake by one of support staff).
    So How can I modify the control file creation at the target not to reference the data file that does not exist. I have tried removing it as stated in my previore post but it stall fails at the control file creation
    Please adivise

  • I am cloning r12 10.2.0.4 database and running perl adcfgclone.pl dbTier

    bash-3.00$ perl adcfgclone.pl dbTier
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.20.12000000.12
    Enter the APPS password :
    Running:
    /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_631.lst -stage /u01/oracle/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone_631.err; echo $? > /tmp/adcfgclone_631.res
    Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [ksctest] : ksctest
    Target Instance is RAC (y/n) [n] : n
    Target System Database SID : atest
    Target System Base Directory : /u01/oracle
    Oracle OS User [oracle] : oracle
    Target System utl_file_dir Directory List : /usr/tmp
    Number of DATA_TOP's on the Target System [2] : 1
    Target System DATA_TOP Directory 1 : /u01/oracle/db/apps_st/data
    Target System RDBMS ORACLE_HOME Directory [u01/oracle/db/tech_st/10.2.0] : /u01/oracle/db/tech_st/10.2.0
    Do you want to preserve the Display [null] (y/n) ? : n
    Target System Display [ksctest:0.0] : ksctest:1.0
    Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n
    Target System Port Pool [0-99] : 50
    Checking the port pool 50
    done: Port Pool 50 is free
    Report file located at /u01/oracle/db/tech_st/10.2.0/appsutil/temp/portpool.lst
    Complete port information available at /u01/oracle/db/tech_st/10.2.0/appsutil/temp/portpool.lst
    Backing up /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml to /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml1.bak
    Creating the new Database Context file from :
    /u01/oracle/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
    /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml
    Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log
    Check Clone Context logfile /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log for details.
    Running Rapid Clone with command:
    perl /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml showProgress contextValidated=true
    Running:
    perl /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml showProgress contextValidated=true
    APPS Password :
    Beginning database tier Apply - Sun Apr 7 14:35:15 2013
    /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u01/oracle/db/tech_st/10.2.0/oui -classpath /u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml -stage /u01/oracle/db/tech_st/10.2.0/appsutil/clone -rmanstage -rmantgtloc -srcdbname -showProgress
    APPS Password : Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/log/atest_ksctest/ApplyDBTier_04071435.log
    / 4% completed RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
    ERROR while running Apply...
    Sun Apr 7 14:36:15 2013
    ERROR: Failed to execute /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    =========================================================
    Skipping Profile Phase
    Skipping Apply Phase
    [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: /u01/oracle/db/tech_st/10.2.0/appsutil/install/atest_ksctest
    adcrdb.sh INSTE8
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    i am getting this error in logfile

    user3714906 wrote:
    please updatePlease see my previous reply -- Please search the log file for adcrdb.sh and you should find more details about the error
    Thanks,
    Hussein

  • Oracle EBS 11i - Cloning failing while running 'perl adcfgclone.pl dbTier

    Hi DBAs/Experts
    I am trying to clone the Oracle 11i (11.5.10.2 with RUP6) all single node on RHEL 4.6. I was following the metalink note 230672.1.
    I ran adpreclone scripts successfully on the dbTier and appsTier. Shutdown the Apps & DB. Moved over the file system (whole /u01) which include all the homes ,tops and datafiles from source to target.
    While running 'perl adcfgclone.pl dbTier' , I am getting following errors. I didn't check any pre-requisite patches for Rapid Clone as the EBS was already up-todate with RUP6. (How can I verify if the system is on RUP6 in case I have to double check it).
    ------------------ Error Message -------
    adlnkoh.sh started at Thu Feb 26 21:55:55 EST 2009
    logfile located in /u01/app/oracle/visdb/9.2.0/install/make.log
    Error while running adlnkoh.sh. Please check logfile
    .end std out.
    /u01/app/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 198: /u01/app/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
    .end err out.
    StackTrace:
    /u01/app/oracle/visdb/9.2.0/install/make.log
    mv -f /u01/app/oracle/visdb/9.2.0/bin/oracleO /u01/app/oracle/visdb/9.2.0/bin/oracle
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/oracle /u01/app/oracle/visdb/9.2.0/bin/oracleO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle /u01/app/oracle/visdb/9.2.0/bin/oracle
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    chmod 6751 /u01/app/oracle/visdb/9.2.0/bin/oracle
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    Completed...
    /u01/app/oracle/visdb/9.2.0/bin/oracle did not relink properly.
    Please review relink errors in this log file
    Please help me with your expert advises to resolve the issue.
    Thanks
    -Samar
    Edited by: user4314207 on Mar 4, 2009 8:09 PM
    Edited by: user4314207 on Mar 5, 2009 9:18 AM

    running genclntsh...
    basename: too few arguments
    Try `basename --help' for more information.
    cp: missing file argument
    Try `cp --help' for more information.
    cp: cannot stat `/DISCARD/': No such file or directory
    ar: creating /u01/app/oracle/visdb/9.2.0/lib/libclntst9.a
    Created /u01/app/oracle/visdb/9.2.0/lib/libclntst9.a
    rm -f oracle mig dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest imp exp sqlldr rman avmurout avmping avligmsg avmumon nid /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.s /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    Starting: "make -if /u01/app/oracle/visdb/9.2.0/rdbms/lib/ins_rdbms.mk install"
    chmod 755 /u01/app/oracle/visdb/9.2.0/bin
    rm -f oracle mig dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest imp exp sqlldr rman avmurout avmping avligmsg avmumon nid /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.s /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    - Linking Oracle
    rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle
    gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ -Wl,-E `test -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o && echo /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o` /u01/app/oracle/visdb/9.2.0/rdbms/lib/opimai.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/ssoraed.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/ttcsoi.o /u01/app/oracle/visdb/9.2.0/lib/nautab.o /u01/app/oracle/visdb/9.2.0/lib/naeet.o /u01/app/oracle/visdb/9.2.0/lib/naect.o /u01/app/oracle/visdb/9.2.0/lib/naedhs.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lskgxn9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o -lknlopt `if /usr/bin/ar tv /u01/app/oracle/visdb/9.2.0/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap9" ; fi` -lslax9 -lpls9 -lplp9 -lserver9 -lclient9 -lvsn9 -lwtcserver9 -!
    lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 -ljox9 -lserver9 -locijdbcst9 -lwwg9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `if /usr/bin/ar tv /u01/app/oracle/visdb/9.2.0/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lsnls9 -lunls9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lun!
    ls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` !
    -Wl,-rpa
    th,/u01/app/oracle/visdb/9.2.0/lib:/lib/i686:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm `test -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o && echo -laio`
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/oracle /u01/app/oracle/visdb/9.2.0/bin/oracleO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle /u01/app/oracle/visdb/9.2.0/bin/oracle
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    chmod 6751 /u01/app/oracle/visdb/9.2.0/bin/oracle
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    Linking Migration utility (mig)
    rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig
    gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/rdbms/lib/s0kumain.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/skumcf.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o /u01/app/oracle/visdb/9.2.0/lib/nautab.o /u01/app/oracle/visdb/9.2.0/lib/naeet.o /u01/app/oracle/visdb/9.2.0/lib/naect.o /u01/app/oracle/visdb/9.2.0/lib/naedhs.o -ldbtools9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -l!
    nzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxm!
    l9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib!
    /ldflags
    ` -lpls9 -lplp9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/mig] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/mig /u01/app/oracle/visdb/9.2.0/bin/migO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/mig': No such file or directory
    make: [imig] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig /u01/app/oracle/visdb/9.2.0/bin/mig
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/mig': No such file or directory
    make: [imig] Error 1 (ignored)
    chmod 751 /u01/app/oracle/visdb/9.2.0/bin/mig
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/mig': No such file or directory
    make: [imig] Error 1 (ignored)
    - Linking DB*Verify utility (dbv)
    rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv
    gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/rdbms/lib/s0kudbv.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o -ldbtools9 -lsnls9 -lunls9 -lnls9 -lclntsh `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -l!
    generic9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/dbv /u01/app/oracle/visdb/9.2.0/bin/dbvO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/dbv': No such file or directory
    make: [idbv] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv /u01/app/oracle/visdb/9.2.0/bin/dbv
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv': No such file or directory
    make: [idbv] Error 1 (ignored)
    chmod 751 /u01/app/oracle/visdb/9.2.0/bin/dbv
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/dbv': No such file or directory
    make: [idbv] Error 1 (ignored)
    Starting: "make -if /u01/app/oracle/visdb/9.2.0/precomp/lib/ins_precomp.mk links"
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLDA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f BNDDSC.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SELDSC.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.h SQLCA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.h ORACA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlda.h SQLDA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.cob SQLCA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.cob ORACA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.for SQLCA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.for ORACA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s bnddsc.for BNDDSC.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s seldsc.for SELDSC.FOR)
    Completed...
    Starting: "make -if /u01/app/oracle/visdb/9.2.0/sqlplus/lib/ins_sqlplus.mk install"
    rm -f sqlplus
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/demobld
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/demodrop
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/helpins
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/pupbld
    Linking sqlplus
    rm -f sqlplus
    gcc -o sqlplus -L/u01/app/oracle/visdb/9.2.0/sqlplus/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/sqlplus/lib/s0afimai.o -lsqlplus -lclntsh `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/vi!
    sdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm -lpthread `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm -lpthread
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [sqlplus] Error 1 (ignored)
    /bin/chmod 755 sqlplus
    /bin/chmod: cannot access `sqlplus': No such file or directory
    make: [sqlplus] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/sqlplus /u01/app/oracle/visdb/9.2.0/bin/sqlplusO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/sqlplus': No such file or directory
    make: [newsqlplus] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/sqlplus/lib/sqlplus /u01/app/oracle/visdb/9.2.0/bin/sqlplus
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/sqlplus/lib/sqlplus': No such file or directory
    make: [newsqlplus] Error 1 (ignored)
    /bin/chmod 751 /u01/app/oracle/visdb/9.2.0/bin/sqlplus
    /bin/chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/sqlplus': No such file or directory
    make: [newsqlplus] Error 1 (ignored)
    Completed...

  • Perl adcfgclone.pl dbTier error

    Hi everyone. Newbie here. I'm running on an error during cloning R12 EBS production to development server and I'm doing it manually.
    After running the command: perl adcfgclone.pl dbTier and filling in the prompt details, clone was not successfully completed. Please see below the logs
    [root@tstocl bin]# perl adcfgclone.pl dbTier
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.31.12010000.1
    Enter the APPS password :
    Running:
    /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx6 00M -cp /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/java:/orclde v/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/orcldev/ts tred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.conte xt.CloneContext -e /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/.. /context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_14291.lst -stage / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone 2> /tmp/adcfgclone_14291. err; echo $? > /tmp/adcfgclone_14291.res
    Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [tstocl] :
    Target Instance is RAC (y/n) [n] :
    Target System Database SID : TST3
    Target System Base Directory : /orcldev/tstred/dbred
    Target System utl_file_dir Directory List : usr/tmp
    Number of DATA_TOP's on the Target System [1] :
    Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] :
    RC-00002: Warning: Directory /orclprd/oraprd/dbsred/db/apps_st/data not found.
    Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] : /o rcldev/tstred/dbred/db/apps_st/data
    Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1                                                                                        .0] :
    Do you want to preserve the Display [null] (y/n) ? : y
    Do you want the the target system to have the same port values as the source sys tem (y/n) [y] ? : n
    Target System Port Pool [0-99] : 9
    Checking the port pool 9
    done: Port Pool 9 is free
    Report file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp/por tpool.lst
    Complete port information available at /orcldev/tstred/dbred/db/tech_st/11.1.0/a ppsutil/temp/portpool.lst
    Backing up /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml to / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml1.bak
    Creating the new Database Context file from :
    /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
    AC-10006: Exception - org.xml.sax.SAXParseException: file:/orcldev/tstred/dbred/ db/tech_st/11.1.0/appsutil/TST3_tstocl.xml<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. thrown while creating OAVars object for f ile: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    The new database context file has been created :
    /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
    Check Clone Context logfile /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clo ne/bin/CloneContext_0719104652.log for details.
    Running Rapid Clone with command:
    perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
    Running:
    perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
    APPS Password :
    You must define the target database context to use
    dbctxtg=<applications context file>
    Restart adclone.pl after performing required corrections.
    ERROR: Failed to execute /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone /bin/adclone.pl
    Please check logfile.
    Log file "CloneContext_0719104652.log" contains details below:
    [root@tstocl bin]# more CloneContext_0719104652.log
    Using admin directory: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin
    #------Log File time stamp: 0719104652------------
    # $Header: CloneContext.java 120.92.12010000.5 2008/11/10 09:40:09 ksita ship $
    # Running on - tstocl
    # Source Host - null
    # Domain Name - reddragon.com
    # Context Location - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../context/db/CTXORIG.xml
    # Context Type - null
    # Context Template - null
    # Clone Stage Area - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
    # Pairs File - /tmp/adpairsfile_14291.lst
    # Destination Context - null
    # Validation - true
    # Platform Migration - false
    # no prompt - false
    Variables extracted from pairsfile: /tmp/adpairsfile_14291.lst
    ****************************************************/n
    s_dbuser = root
    s_dbgroup = root
    PROMPT :
    Target System Hostname (virtual or normal) [tstocl]
    ANSWER :
    tstocl
    PROMPT :
    Target Instance is RAC (y/n) [n]
    ANSWER :
    n
    PROMPT :
    Target System Database SID
    ANSWER :
    TST3
    PROMPT :
    Target System Base Directory
    ANSWER :
    /orcldev/tstred/dbred
    PROMPT :
    Target System utl_file_dir Directory List
    ANSWER :
    usr/tmp
    PROMPT :
    Number of DATA_TOP's on the Target System [1]
    ANSWER :
    1
    PROMPT :
    Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
    ANSWER :
    /orclprd/oraprd/dbsred/db/apps_st/data
    Value /orclprd/oraprd/dbsred/db/apps_st/datais not valid value for s_dbhome1
    PROMPT :
    Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
    ANSWER :
    /orcldev/tstred/dbred/db/apps_st/data
    Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
    PROMPT :
    Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1.0]
    ANSWER :
    /orcldev/tstred/dbred/db/tech_st/11.1.0
    Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
    PROMPT :
    Do you want to preserve the Display [null] (y/n) ?
    ANSWER :
    y
    PROMPT :
    Do you want the the target system to have the same port values as the source system (y/n) [y] ?
    ANSWER :
    n
    Started testing the availabilty of ports in port pool 9
    Checking Database Port on tstocl: Port Value = 1530
    Database Port available: Port Value = 1530
    Checking DB ONS Local Port on tstocl: Port Value = 6309
    DB ONS Local Port available: Port Value = 6309
    Checking DB ONS Remote Port on tstocl: Port Value = 6409
    DB ONS Remote Port available: Port Value = 6409
    setDestination s_contextfile to : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    Clone Context Parameters:
    Pairs File = /tmp/adpairsfile_14291.lst
    Target XML File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    Template File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
    The following values will be used to create the context file
    s_isWeb = YES
    s_db_util_filedir = usr/tmp
    s_db_rollback_segs = NOROLLBACK
    s_dbhome4 = /orcldev/tstred/dbred/db/apps_st/data
    s_dbhome3 = /orcldev/tstred/dbred/db/apps_st/data
    s_dbhost = tstocl
    s_db_oh = /orcldev/tstred/dbred/db/tech_st/11.1.0
    s_dbhome2 = /orcldev/tstred/dbred/db/apps_st/data
    s_dbhome1 = /orcldev/tstred/dbred/db/apps_st/data
    s_dbgroup = root
    s_dbGlnam = TST3
    s_dbdomain = reddragon.com
    s_dbSid = TST3
    s_dbuser = root
    s_isForms = YES
    s_database_type =
    s_temp = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp
    s_db_ons_localport = 6309
    s_hostname = tstocl
    s_dbSidLower = tst3
    s_cmanport = 1530
    s_dbCluster = false
    s_domainname = reddragon.com
    s_isAdmin = YES
    s_isConc = YES
    s_contextfile = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    s_dbport = 1530
    s_contextname = TST3_tstocl
    s_db_ons_remoteport = 6409
    s_clonestage = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
    s_base = /orcldev/tstred/dbred
    Clone Context will now iteratively apply changes
    to create the new target context file.
    instantiate file:
    source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
    dest : /tmp/tmptmpCtxClone.xml
    instantiate file:
    source : /tmp/tmptmpCtxClone.xml
    dest : /tmp/tmptmpCtxClone.xml
    instantiate file:
    source : /tmp/tmptmpCtxClone.xml
    dest : /tmp/tmptmpCtxClone.xml
    instantiate file:
    source : /tmp/tmptmpCtxClone.xml
    dest : /tmp/tmptmpCtxClone.xml
    instantiate file:
    source : /tmp/tmpCtxClone.xml
    dest : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    AC-50401: Command: su prddbs -c "cp /tmp/TST3_tstocl.xml /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml" failed
    Raised by oracle.apps.ad.autoconfig.InstantiateFile
    instantiate file:
    source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
    dest : /tmp/tmpdummy.xml
    instantiate file:
    source : /tmp/tmpdummy.xml
    dest : /tmp/tmpdummy.xml
    instantiate file:
    source : /tmp/tmpdummy.xml
    dest : /tmp/tmpdummy.xml
    instantiate file:
    source : /tmp/tmpdummy.xml
    dest : /tmp/tmpdummy.xml
    instantiate file:
    source : /tmp/tmpdummy.xml
    dest : /tmp/tmpdummy.xml
    The values for these variables will be retained from the source context
    The new context file has been created at:
    /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    The first suspicion I thought of was that I'm running out of disk space to clone another instance. But I've checked and there's still enough space, even in the /tmp directory. The second I thought of is does setting ownership and the os permissions have something to do with this?
    Hope somebody can help me out with this asap.
    Thank you.

    error for dbTier cloning is solved. I didn't log in as the database user and didn't change permissions for the node files after copying. Cloning for db tier is completed.
    I proceed with cloning the apps tier and I'm running into errors and cannot proceed. See log below:
    [appls3@tstocl bin]$ perl adcfgclone.pl appsTier
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.31.12010000.1
    Enter the APPS password :
    Running:
    /orcldev/tstred/aplred/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /orcldev/tstred/aplred/apps_st/comn/clone/jlib/java:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/xmlparserv2.jar:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /orcldev/tstred/aplred/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_20757.lst -stage /orcldev/tstred/aplred/apps_st/comn/clone 2> /tmp/adcfgclone_20757.err; echo $? > /tmp/adcfgclone_20757.res
    Log file located at /orcldev/tstred/aplred/apps_st/comn/clone/bin/CloneContext_0719152502.log
    Provide the values required for creation of the new APPL_TOP Context file.
    Target System Hostname (virtual or normal) [tstocl] :
    Target System Database SID : TST3
    Target System Database Server Node [tstocl] :
    Target System Base Directory : orcldev/tstred/aplred
    Target System Tools ORACLE_HOME Directory [orcldev/tstred/aplred/apps/tech_st/10.1.2] :
    RC-00213: Warning: The path specified must be the absolute path
    Please advise. Thanks

  • Problems with Rapid Clone - perl adcfgclone.pl dbTier

    Please help me out in this ..................
    instantiate file:
    source : /data/proddb/9.2.0/appsutil/template/adcctclean.sql
    dest : /data/proddb/9.2.0/appsutil/install/TEST_testebiz/adcctclean.sql
    backup : /data/proddb/9.2.0/appsutil/install/TEST_testebiz/adcctclean.sql to /data/proddb/9.2.0/appsutil/out/TEST_testebiz/11071008/adcctclean.sql
    setting permissions: 600
    setting ownership: :
    AutoConfig Setup Phase
    Running Setup Process 1 of 2 for AppsUtil
    Executing script in InstantiateFile:
    /data/proddb/9.2.0/Apache/perl/bin/perl -I /data/proddb/9.2.0/Apache/perl/lib/5.00503:/data/proddb/9.2.0/Apache/perl/lib/site_perl/5.005:/data/proddb/9.2.0/appsutil/perl /data/proddb/9.2.0/appsutil/scripts/TEST_testebiz/adchknls.pl
    script returned:
    Validating information needed for NLS........
    DATABASE version : db920
    No NLS specific checks required
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Setup Phase
    Running Setup Process 2 of 2 for AppsUtil
    Executing script in InstantiateFile:
    /data/proddb/9.2.0/appsutil/install/TEST_testebiz/afmkinit.sh
    script returned:
    afmkinit.sh started at Sat Nov 7 10:08:21 IST 2009
    The environment settings are as follows ...
    ORACLE_HOME : /data/proddb/9.2.0
    ORACLE_SID : TEST
    TWO_TASK :
    PATH : /data/proddb/9.2.0/Apache/perl/bin:/data/proddb/9.2.0/bin:/usr/bin:/usr/sbin:/data/proddb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/data/proddb/9.2.0/appsutil/clone/bin/../jre/bin:/data/proddb/9.2.0/Apache/perl/bin:/data/proddb/9.2.0/bin:/usr/bin:/usr/sbin:/data/proddb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oratest/bin
    LD_LIBRARY_PATH : /data/proddb/9.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/data/proddb/9.2.0/ctx/lib
    afmkinit.sh exiting with status 0
    .end std out.
    .end err out.
    Skipping Profile Phase
    Skipping Apply Phase
    Executing StartDbLsnr...
    You are running addlnctl.sh version 115.6
    Logfile: /data/proddb/9.2.0/appsutil/log/TEST_testebiz/addlnctl.txt
    Starting listener process TEST ...
    Listener TEST has already been started.
    addlnctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing CreateDB...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : testebiz
    sDbDomain : isl.com
    sDbPort : 1521
    sDbSid : TEST
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@testebiz.isl.com:1521:TEST
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testebiz.isl.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testebiz.isl.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TEST.isl.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    adcrdb.sh started at Sat Nov 7 10:08:21 IST 2009
    The environment settings are as follows ...
    ORACLE_HOME : /data/proddb/9.2.0
    ORACLE_SID : TEST
    TWO_TASK :
    PATH : /data/proddb/9.2.0/Apache/perl/bin:/data/proddb/9.2.0/bin:/usr/bin:/usr/sbin:/data/proddb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/data/proddb/9.2.0/appsutil/clone/bin/../jre/bin:/data/proddb/9.2.0/Apache/perl/bin:/data/proddb/9.2.0/bin:/usr/bin:/usr/sbin:/data/proddb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oratest/bin
    LD_LIBRARY_PATH : /data/proddb/9.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/data/proddb/9.2.0/ctx/lib
    Executable : /data/proddb/9.2.0/bin/sqlplus
    The log information will be written to
         /data/proddb/9.2.0/appsutil/log/TEST_testebiz/adcrdb_TEST.txt
    Creating the control file for TEST_testebiz database ...
    SQL*Plus: Release 9.2.0.6.0 - Production on Sat Nov 7 10:08:21 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ORA-01012: not logged on
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    exit_code=0
    Checking for errors ...
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01012: not logged on
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 9.2.0.6.0 - Production on Sat Nov 7 10:08:21 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    .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 : testebiz
    sDbDomain : isl.com
    sDbPort : 1521
    sDbSid : TEST
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@testebiz.isl.com:1521:TEST
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testebiz.isl.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testebiz.isl.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TEST.isl.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    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.ApplyDatabase*
    StackTrace:
    java.lang.Exception: Control file creation failed
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:474)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:319)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:295)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
         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)

    Pl post EBS related questions in the EBS Forums at http://forums.oracle.com/forums/category.jspa?categoryID=3
    Pl identify your OS and EBS versions, along with the steps you are trying to run which produce this error.
    HTH
    Srini

  • Error when applyin adcfgclone on dbtier  RC-50004: FATAL ERROR RC-50014

    I have performed the following steps several times and only two times it was successful..rest of the time,it gave me the following error
    Does anyone know how to resolve this or whats the problem behind this
    Below are the steps i perform followed by the log file contents too..
    Thanks
    [oracle@t2 ~]$ cd /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin
    [oracle@t2 bin]$ ls
    adcfgclone.pl adchkutl.sh adclonectx.pl adclone.pl
    [oracle@t2 bin]$ ./adcfgclone.pl dbTier
    Using Java from /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre
    Enter the APPS user password:
    JDBCCLASSES = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
    XMLPCLASSES = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar
    LOCAL_CPATH = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    oracle
    = oracle
    dba
    = dba
    Running:
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile.lst -stage /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone.err; echo $? > /tmp/adcfgclone.resEnter the APPS password : apps
    Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log
    Provide the values required for creation of the new Database Context file.
    Target hostname (virtual or normal) [t2]:
    Target instance is a Real Application Cluster (RAC) instance (y/n) [n]:
    Target System database name:test2
    Target system base directory for source homes:/d01/oracle/test2
    Target system utl_file accessible directories list:/usr/tmp
    Number of DATA_TOP's on the target system [4]:1
    Target system DATA_TOP 1:/d01/oracle/test2/db/apps_st/data
    Target system RDBMS ORACLE_HOME directory:/d01/oracle/test2/db/tech_st/10.2.0
    Do you want to preserve the Display set to 130.35.33.102:111.0 (y/n) [y] ?:
    Do you want the the target system to have the same port values as the source system (y/n) [y] ?:
    Complete port information available at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/out/test2_t2/portpool.lst
    Backing up /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml to /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml.bak
    Creating the new Database Context file from :
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml
    Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log
    Check logfile /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log for details.
    Running Rapid Clone with command:
    perl /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml showProgress contextValidated=true
    Running:
    perl /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml showProgress contextValidated=true
    XMLPARSER: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar
    JDBC: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
    CLASSPATH: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar
    OUI CLASSPATH: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java
    Setting LD_LIBRARY_PATH to /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/oui/lib/linux
    Beginning database tier Apply - Thu Jun 5 17:33:42 2008
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/d01/oracle/test2/db/tech_st/10.2.0/oui -classpath /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml -stage /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone -showProgress
    APPS Password : Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/log/test2_t2/ApplyDBTier_06051733.log
    \ 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    RC-50014: Fatal: Execution of AutoConfig was failed
    ERROR while running Apply...
    Thu Jun 5 17:38:53 2008
    ERROR: Failed to execute /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    [oracle@t2 bin]$
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1077936128 bytes
    Fixed Size 2076584 bytes
    Variable Size 427819096 bytes
    Database Buffers 633339904 bytes
    Redo Buffers 14700544 bytes
    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: '/d01/oracle/test3/db/apps_st/data/system01.dbf'
    alter tablespace TEMP1 add tempfile '/d01/oracle/test3/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/d01/oracle/test3/db/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "test3.luckyerp"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1077936128 bytes
    Fixed Size 2076584 bytes
    Variable Size 427819096 bytes
    Database Buffers 633339904 bytes
    Redo Buffers 14700544 bytes
    Database mounted.
    PL/SQL procedure successfully completed.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1077936128 bytes
    Fixed Size 2076584 bytes
    Variable Size 427819096 bytes
    Database Buffers 633339904 bytes
    Redo Buffers 14700544 bytes
    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: '/d01/oracle/test3/db/apps_st/data/system01.dbf'
    alter tablespace TEMP1 add tempfile '/d01/oracle/test3/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/d01/oracle/test3/db/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "test3.luckyerp"
    ERROR at line 1:
    ORA-01109: database not open

    but what wil be the remaining steps of clone then..?If you have not done any changes recently on your source nodes (add a tablespace/database, applied patches, add new forms/reports, ..etc), then do the following:
    - Make sure you shutdown the source instance properly before copying the file to the target node.
    - Configure the target system database server (run the following as oracle user):
    $ cd <RDBMS ORACLE_HOME>/appsutil/clone/bin
    $ perl adcfgclone.pl dbTier - Configure the target system application server (run the following as applmgr user):
    $ cd <COMMON_TOP>/clone/bin
    $ perl adcfgclone.pl appsTierNote: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1

  • Error while runnig adcfgclone.pl dbTier

    Hii.
    i was cloning my PROD instance to a Test instance and while configuring the target system database server
    perl adcfgclone.pl dbTier, Im getting the following error
    The new database context file has been created :
    */u03/UAT/uatdb/10.2.0/appsutil/UAT_msftora2.xml*
    Log file located at /tmp/CloneContext_10081143.log
    Running Rapid Clone with command:
    perl /u03/UAT/uatdb/10.2.0/appsutil/clone/bin/adclone.pl java=/u03/UAT/u atdb/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u03/UAT/uatdb/10.2.0/app sutil/clone/bin/.. component=dbTier method=CUSTOM dbctxtg=/u03/UAT/uatdb/10.2.0/ appsutil/UAT_msftora2.xml  showProgress contextValidated=true
    Beginning database tier Apply - Sat Oct  8 11:44:14 2011
    Log file located at /u03/UAT/uatdb/10.2.0/appsutil/log/UAT_msftora2/ApplyDBTier_ 10081144.log
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    ERROR: Failed to execute /u03/UAT/uatdb/10.2.0/appsutil/clone/bin/adclone.pl
    And my logfile contents is shown below
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : msftora2
    sDbDomain : msftpnq.com
    sDbPort : 1528
    sDbSid : UAT
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@msftora2.msftpnq.com:1528:UAT
    Exception occurred: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=UAT)))
    Exception occurred: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=UAT.msftpnq.com)))
    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=msftora2.msftpnq.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=UAT.msftpnq.com)))
    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.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
         at java.lang.Thread.run(Unknown Source)
    can anyone help me in solving the problem
    waiting for your replies
    Thanks in advance
    Edited by: 881222 on Oct 8, 2011 12:46 AM

    The following is some of the logfile contentss
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@msftora2.msftpnq.com:1536:TEST
    Exception occurred: java.sql.SQLException: ORA-01017: invalid
    username/password; logon denied
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL:
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1536))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: ORA-01017: invalid
    username/password; logon denied
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL:
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1536))(CONNECT_DATA=(SERVICE_NAME=TEST.msftpnq.com)))
    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=msftora2.msftpnq.com)(PORT=1536))(CONNECT_DATA=(SERVICE_NAME=TEST.msftpnq.com)))*
    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.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)        at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at
    oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Unknown Source)
    Can you find any issue in thiss...
    Thankss

  • Perl adpreclone.pl dbTier errors out with RC-50013

    Hi all,
    Am performing a clone of an 11.5.10.2 system running on Redhat linux 3.0.
    When i run perl adcfgclone.pl dbTier,it errors out with the following error whenever it gets to 16%.
    AutoConfig is exiting with status 1476
    RC-50013: Fatal: Failed to instantiate driver /home/oracle/teadb/9.2.0/appsutil/driver/instconf.drv
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    StackTrace:
    java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver /home/oracle/teadb/9.2.0/appsutil/driver/instconf.drv
    at oracle.apps.ad.clone.ApplyDBTechStack.checkInstallDrvErr(ApplyDBTechStack.java:717)
    at oracle.apps.ad.clone.ApplyDBTechStack.runInstallConfigDriver(ApplyDBTechStack.java:622)
    at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:389)
    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)
    Could anyone be having a clue of how to go about this issue?
    I read the solution on metalink and the solution i was given is to go to Note 307954.1 which tells me to "Modify the target's instconf.drv and remove the offending lines"
    Now,the problem is that the offending lines are too too many....Is there any other way round this problem?????
    Thank you in advance.

    Take a look on :
    Note:463477.1 - "Adcfgclone Failed To Run On DB Tier With java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver"
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=463477.1
    Aviad

  • Ebs 11i Cloning in Win 2003 dbtier fails with ERROR: Could not open

    Hi,
    The rapidclone - DBTier cloning (11i) on Windows 2003 server fails with the following weird error message.
    There is no detailed log file created.
    echo %PATH%
    f:\oracle\prodora\8.0.6\bin;f:\oracle\proddb\9.2.0\apache\perl\perl\5.0053\bin\mswin32-x86;D:\mksnt\mksnt;;
    F:\oracle\proddb\9.2.0\appsutil\clone\bin\> perl adcfgclone.pl dbTier
    Enter the APPS password [APPS] :
    apps
    First Creating a new context file for the cloned system.
    This program is going to ask you information about the new system:
    ERROR: Could not open
    Any inputs on this really appreciated.
    Thanks,
    Prasanna

    which perl picks up from the path f:\oracle\proddb\9.2.0\apache\perl\5.00503\bin\mswin32-x86/perl.exe.
    Please check the below messages.
    I had verified adchkutl.sh script too (not sure whether this will be invoked in windows env) ?
    F:\oracle\prodappl\ad\11.5.0\bin>which perl
    f:\oracle\proddb\9.2.0\apache\perl\5.00503\bin\mswin32-x86/perl.exe
    F:\oracle\prodappl\ad\11.5.0\bin>adchkutl.sh
    Checking for make... found - D:\mksnt\mksnt/make.exe
    Checking for ld...
    Unable to locate 'ld' utility in path
    Checking for cc...
    Unable to locate 'cc' utility in path
    Checking for ar...
    Unable to locate 'ar' utility in path
    Unable to locate all utilities with system path.
    PATH = f:\oracle\proddb\9.2.0pache\perl?.0050in\mswin32-x86;D:\mksnt\mksnt;;
    F:\oracle\prodappl\ad\11.5.0\bin>which ld
    D:\mksnt\mksnt/ld.exe
    F:\oracle\prodappl\ad\11.5.0\bin>which cc
    D:\mksnt\mksnt/cc.exe
    F:\oracle\prodappl\ad\11.5.0\bin>which ar
    D:\mksnt\mksnt/ar.exe
    F:\oracle\prodappl\ad\11.5.0\bin>
    Thanks

  • Adcfgclone.pl dbTier ADX  connection error

    Hello,
    I got this error message in the Netservicehandler.log at the end of
    perl adcfgclone.pl dbTier. Platform config is as follows:
    Host: 64bit sun solaris
    apps: 11.5.9
    db: 9.2.0
    Log file follows:--
    $ moreNetServiceHandler.logNetServiceHandler.log
    moreNetServiceHandler.logNetServiceHandler.log: not found
    $ more NetServiceHandler.log
    Using java command: /oracle/devdbdb/9.2.0/jdk/bin/java
    JAVA_HOME :
    Java version : 1.3.1_11
    Classpath : /oracle/devdbdb/9.2.0/jdk/jre/lib/rt.jar:/oracle/devdbdb/9.2.0/jdk/jre/lib/i18n.jar:/
    oracle/devdbdb/9.2.0/jdk/lib/dt.jar:/oracle/devdbdb/9.2.0/jdk/lib/tools.jar:/oracle/devdbdb/9.2.0/jdbc/lib/cla
    sses12.jar:/oracle/devdbdb/9.2.0/appsutil/java/xmlparserv2.zip:/oracle/devdbdb/9.2.0/appsutil/java
    ===============================================================================
    NetServiceHandler 115.33 started for hostmachine at Thu Apr 27 17:48:10 PDT 2006
    ===============================================================================
    [ Context Information ]
    Host : hostmachine
    Domain : mydbtech.net
    Out Dir : /oracle/devdbdb/9.2.0/appsutil/out/DEVDB_hostmachine/04271748
    Tier Type : DATABASE TIER
    Getting connection...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : hostmachine
    sDbDomain : mydbtech.net
    sDbPort : 1524
    sDbSid : DEVDB
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@hostmachine.mydbtech.net:1524:DEVDB
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the co
    nnection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostmachine.mydbtech.net)(PORT=152
    4))(CONNECT_DATA=(SERVICE_NAME=DEVDB)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the co
    nnection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostmachine.mydbtech.net)(PORT=152
    4))(CONNECT_DATA=(SERVICE_NAME=DEVDB.mydbtech.net)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the co
    nnection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    Could not get connection to the database.
    Exiting with status 100 to instantiate the tnsnames.ora template
    Creation of Directory - /oracle/devdbdb/9.2.0/network/admin/DEVDB_hostmachine Succeeded.
    instantiate file:
    source : /oracle/devdbdb/9.2.0/appsutil/template/ad8itns.ora
    dest : /oracle/devdbdb/9.2.0/network/admin/DEVDB_hostmachine/tnsnames.ora
    AutoConfig is exiting with status 0
    instantiate file:
    source : /oracle/devdbdb/9.2.0/appsutil/template/ad8ilsnr.ora
    dest : /oracle/devdbdb/9.2.0/network/admin/DEVDB_hostmachine/listener.ora
    AutoConfig is exiting with status 0
    adgentns.pl exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    Please advise what to do now..
    Thanks

    Hello User50... ;)
    As rightly spoted by previous members. presumably you hav connectivity problems from Apps server abd DB server.
    In order to check it you can run the following commands on apps host
    sqlplus -S apps/apps
    conn apps/apps@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostmachine.mydbtech.net)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=DEVDB)))
    Connected. <-- You have to get connected, owervize you have got DB connectivity problem
    exit
    Enjoy,
    Yury

  • Perl adcfgclone.pl appsTier get error.

    Hi,
    #------Log File created at: 09200202------------
    # $Header: CloneContext.java 115.201 2006/03/22 19:30:45 marderiu ship $
    # Running CloneContext on machine - serugp07
    Initializing the Apps Service Context varibale Hash
    DEBUG: Apps Service Status context variable extracted from the given Apps context file
    s_apcstatus
    s_apc_restrict_status
    s_apcstatus_pls
    s_tnsstatus
    s_tcfstatus
    s_concstatus
    s_formsstatus
    s_reptstatus
    s_metcstatus
    s_metsstatus
    s_icsmstatus
    s_jtffsstatus
    s_icxblkstatus
    s_discostatus
    Variables extracted from pairsfile: /tmp/adpairsfile.lst
    Variable :s_appsuser
    Value :applmgr
    Variable :s_appsgroup
    Value :dba
    PROMPT :
    Do you want to use a virtual hostname for the target node (y/n) [n] ?
    ANSWER :
    n
    PROMPT :
    Target system database SID [PROD]
    ANSWER :
    DEV
    PROMPT :
    Target system domain name [ugp.co.th]
    ANSWER :
    ugp.co.th
    Default value found for s_contextname : DEV_serugp07
    PROMPT :
    Target system database server node [iris]
    ANSWER :
    serugp07
    PROMPT :
    Target system database domain name [ugp.co.th]
    ANSWER :
    ugp.co.th
    PROMPT :
    Does the target system have more than one application tier server node (y/n) [y] ?
    ANSWER :
    n
    PROMPT :
    Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?
    ANSWER :
    n
    PROMPT :
    Target system APPL_TOP mount point [prodappl]
    ANSWER :
    /data/devappl
    PROMPT :
    Target system COMMON_TOP directory [prodcomn]
    ANSWER :
    /data/devcomn
    PROMPT :
    Target system 8.0.6 ORACLE_HOME directory [prodora/8.0.6]
    ANSWER :
    /data/devora/8.0.6
    PROMPT :
    Target system iAS ORACLE_HOME directory [prodora/iAS]
    ANSWER :
    /data/devora/iAS
    PROMPT :
    Do you want to preserve the Display set to zeus:1.0 (y/n) [y] ?
    ANSWER :
    n
    PROMPT :
    Target system Display [serugp07:0.0]
    ANSWER :
    serugp07:0.0
    DEBUG:
    The source s_jdktop is set to an external JDK, so don't blindly set the same External JDK to the target also
    DEBUG:Target s_jdktop : null
    PROMPT :
    Location of the JDK on the target system [opt/java1.4]
    ANSWER :
    /data/devcomn/java
    DEBUG:
    The Source s_jretop is not set to a jretop, Setting s_jretop to the target s_jdktop
    PROMPT :
    Target system JRE_TOP [opt/java1.4]
    ANSWER :
    /data/devora/8.0.6/jre11813
    Default value found for s_javatop : /data/devcomn/java
    Default value found for s_temp : /data/devcomn/temp
    Target node service definitions:
         Database = YES
         ConcMgr = YES
         Forms = YES
         Web = YES
         Administration = YES
    PROMPT :
    Do you want to preserve the port values from the source system on the target system (y/n) [y] ?
    ANSWER :
    n
    Started testing the availabilty of ports in port pool 10
    s_webport available: Port Value = 8010
    s_rpcport available: Port Value = 1636
    s_repsport available: Port Value = 7010
    s_oprocmgr_port available: Port Value = 8110
    s_webport_pls available: Port Value = 8210
    s_servletport available: Port Value = 8810
    s_formsport available: Port Value = 9010
    s_metdataport available: Port Value = 9110
    s_metreqport available: Port Value = 9210
    s_jtfuf_port available: Port Value = 9310
    s_mapviewer_port available: Port Value = 9810
    s_oemweb_port available: Port Value = 10010
    s_osagent_port available: Port Value = 10110
    s_mwaPortNo available: Port Value = 10260
    s_mwaPortNo available: Port Value = 10261
    s_mwaPortNo available: Port Value = 10262
    s_mwaPortNo available: Port Value = 10263
    s_mwaPortNo available: Port Value = 10264
    s_mwaPortNo available: Port Value = 10265
    s_mwaTelnetPortNo available: Port Value = 10260
    s_mwaTelnetPortNo available: Port Value = 10261
    s_mwaTelnetPortNo available: Port Value = 10262
    s_mwaTelnetPortNo available: Port Value = 10263
    s_mwaTelnetPortNo available: Port Value = 10264
    s_mwaDispatcherPort available: Port Value = 10340
    s_mwaDispatcherPort available: Port Value = 10341
    s_mwaDispatcherPort available: Port Value = 10342
    s_mwaDispatcherPort available: Port Value = 10343
    s_oacore_servlet_portrange available: Port Value = 16100
    s_oacore_servlet_portrange available: Port Value = 16101
    s_oacore_servlet_portrange available: Port Value = 16102
    s_oacore_servlet_portrange available: Port Value = 16103
    s_oacore_servlet_portrange available: Port Value = 16104
    s_oacore_servlet_portrange available: Port Value = 16105
    s_oacore_servlet_portrange available: Port Value = 16106
    s_oacore_servlet_portrange available: Port Value = 16107
    s_oacore_servlet_portrange available: Port Value = 16108
    s_oacore_servlet_portrange available: Port Value = 16109
    s_disco_servlet_portrange available: Port Value = 17100
    s_disco_servlet_portrange available: Port Value = 17101
    s_disco_servlet_portrange available: Port Value = 17102
    s_disco_servlet_portrange available: Port Value = 17103
    s_disco_servlet_portrange available: Port Value = 17104
    s_disco_servlet_portrange available: Port Value = 17105
    s_disco_servlet_portrange available: Port Value = 17106
    s_disco_servlet_portrange available: Port Value = 17107
    s_disco_servlet_portrange available: Port Value = 17108
    s_disco_servlet_portrange available: Port Value = 17109
    s_forms_servlet_portrange available: Port Value = 18100
    s_forms_servlet_portrange available: Port Value = 18101
    s_forms_servlet_portrange available: Port Value = 18102
    s_forms_servlet_portrange available: Port Value = 18103
    s_forms_servlet_portrange available: Port Value = 18104
    s_forms_servlet_portrange available: Port Value = 18105
    s_forms_servlet_portrange available: Port Value = 18106
    s_forms_servlet_portrange available: Port Value = 18107
    s_forms_servlet_portrange available: Port Value = 18108
    s_forms_servlet_portrange available: Port Value = 18109
    s_tcfport available: Port Value = 15010
    s_xmlsvcs_servlet_portrange available: Port Value = 19100
    s_xmlsvcs_servlet_portrange available: Port Value = 19101
    s_xmlsvcs_servlet_portrange available: Port Value = 19102
    s_xmlsvcs_servlet_portrange available: Port Value = 19103
    s_xmlsvcs_servlet_portrange available: Port Value = 19104
    s_xmlsvcs_servlet_portrange available: Port Value = 19105
    s_xmlsvcs_servlet_portrange available: Port Value = 19106
    s_xmlsvcs_servlet_portrange available: Port Value = 19107
    s_xmlsvcs_servlet_portrange available: Port Value = 19108
    s_xmlsvcs_servlet_portrange available: Port Value = 19109
    s_java_object_cache_port available: Port Value = 12355
    Attempting to connect to database using :
    jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV,APPS,apps
         DbSid :DEV
         DbHost :serugp07
         DomainName:ugp.co.th
         DbPort :1531
    ADX Database Utility
    getConnection() -->
    sDbHost : serugp07
    sDbDomain : ugp.co.th
    sDbPort : 1531
    sDbSid : DEV
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV
    Connection obtained
    -------------------ADX Database Utility Finished---------------
    Attempting to connect to database using :
    jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV,APPS,apps
         DbSid :DEV
         DbHost :serugp07
         DomainName:ugp.co.th
         DbPort :1531
    ADX Database Utility
    getConnection() -->
    sDbHost : serugp07
    sDbDomain : ugp.co.th
    sDbPort : 1531
    sDbSid : DEV
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV
    Connection obtained
    -------------------ADX Database Utility Finished---------------
    StackTrace:
    java.lang.NullPointerException
         at oracle.apps.ad.tools.configuration.CVMHelper.getDBInitParameters(CVMHelper.java:181)
         at oracle.apps.ad.tools.configuration.CVMHelper.getDBName(CVMHelper.java:253)
         at oracle.apps.ad.context.CloneContext.setDatabaseName(CloneContext.java:7150)
         at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:638)
         at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6071)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful
    wanjarus
    Thank you.

    Hi,
    Please see
    Perl Adcfgclone.pl AppsTier Fail With Error: NullPointerException in CVMHelper.getDBInitParameters [ID 726509.1]
    perl adcfgclone.pl appsTier fails with ORA-00600 during CloneContext [ID 304037.1]
    Thanks

  • Error while running  perl adpreclone.pl dbTier

    Hi all,
    Error while running perl adpreclone.pl dbTier
    Running Rapid Clone with command...
    perl /u02/app/orap/product/9.2.0/appsutil/bin/adclone.pl java=/u02/app/orap/product/9.2.0/jre/1.4.2 mode=stage stage=/u02/app/orap/product/9.2.0/appsutil/clone component=dbTier method=CUSTOM dbctx=/u02/app/orap/product/9.2.0/appsutil/DEV_XXX.xml showProgress
    Beginning database tier Stage - Fri Jun 26 12:16:45 2009
    APPS Password : appsdev
    Log file located at /u02/app/orap/product/9.2.0/appsutil/log/DEV_jos11/StageDBTier_06261216.log
    / 75% completed
    RC-50409: Topology information required for cloning not found in the database. Make sure that AutoConfig was run successfully prior to starting Rapid Clone, and try again
    Raised by oracle.apps.ad.tools.AdCreateCtlFile
    RC-40001: Fatal: Failed to create sql script adcrdbclone.sql for recreating control files at target
    - 75% completed
    ERROR while running Stage...
    Checked metalink found the below solution but please the me interconnect_name is what ?
    Check if the column interconnect_name from the fnd_database_instances has a value. If not, please update it with the correct value:
    update FND_DATABASE_INSTANCES
    set INTERCONNECT_NAME = 'xxx';
    commit;
    Rerun the process.
    Thanks,
    Bhanu Chander.

    Hi,
    Alert log is normal.
    but adcfgclone.pl log is
    /u02/app/orap/product/9.2.0/appsutil/out/DEV_XXXX/dbfinfo.lst created Successfully.
    Generating /u02/app/orap/product/9.2.0/appsutil/out/DEV_XXXX/addbhomsrc.xml which will contain the unique mount points
    NODE_ID Column Availability: true
    Node Id Column is available. dbfinfo.lst will contain the node list
    Host Column Availability: true
    Exception occurred while querying the datamodel: java.lang.NullPointerException
    StackTrace:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:393)
    at oracle.apps.ad.tools.AdCreateCtlFile.get_rac_data(AdCreateCtlFile.java:1325)
    at oracle.apps.ad.tools.AdCreateCtlFile.gen_dbhomes_xml(AdCreateCtlFile.java:530)
    at oracle.apps.ad.tools.AdCreateCtlFile.gen_crctrfclone_sql(AdCreateCtlFile.java:626)
    at oracle.apps.ad.tools.AdCreateCtlFile.<init>(AdCreateCtlFile.java:428)
    at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:457)
    at oracle.apps.ad.clone.StageDatabase.<init>(StageDatabase.java:266)
    at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:216)
    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:274)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:534)
    RC-50409: Topology information required for cloning not found in the database. Make sure that AutoConfig was run successfully prior to starting Rapid Clone, and try again
    Raised by oracle.apps.ad.tools.AdCreateCtlFile
    RC-50208: Exception in method gen_crctrfclone_sql
    RC-50208: Exception in Constructor AdCreateCtlFile
    Raised by oracle.apps.ad.tools.AdCreateCtlFile
    StackTrace:
    java.lang.Exception
    at oracle.apps.ad.tools.AdCreateCtlFile.get_rac_data(AdCreateCtlFile.java:1348)
    at oracle.apps.ad.tools.AdCreateCtlFile.gen_dbhomes_xml(AdCreateCtlFile.java:530)
    at oracle.apps.ad.tools.AdCreateCtlFile.gen_crctrfclone_sql(AdCreateCtlFile.java:626)
    at oracle.apps.ad.tools.AdCreateCtlFile.<init>(AdCreateCtlFile.java:428)
    at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:457)
    at oracle.apps.ad.clone.StageDatabase.<init>(StageDatabase.java:266)
    at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:216)
    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:274)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:534)
    RC-40001: Failed to create sql script adcrdbclone.sql for recreating control files at target
    Raised by oracle.apps.ad.clone.StageDatabase
    Thanks,
    Bhanu Chander

Maybe you are looking for

  • MSI K7N2 Delta-ILSR Noisy Northbridge fan

    Hi I'm having a problem with the nforce chipset fan on my K7N2 Delta-ILSR. It makes a horrible wailing sound when cold booting and is only running at about 2500rpm instead of 4000rpm. It does this usually for about 30 seconds then runs normally. Does

  • How do i get my storm to work with att and how do i get my computer to reconize my blackberry

    ok i have tried everything. is there a short cut or something. i can call and text and use the myspace and facebook. but i can not use the browser or get email. please i need some help. i am almost considering going back to a iphone

  • Error while posting parked document in fbv0.

    hi experts, while posting a parked document in transaction fbvo the follwing information appears and document is not posted.      Field WITH_DIALG-WT_BASE(2) is not an input field message no 00347 Diagnosis A transaction is processed using batch inpu

  • Iphone refuses to complete sync/install apps

    Hello everybody, a week ago I recieved an Iphone (3G) that seemed broken, it didn't even start. Well after some tries I managed to get it working (updated it to 3.0 now). The problem now is that it won't sync properly... after a song or 6 it freezes.

  • Path to integeration server in PI

    Hi, I am very new in PI, I have logged in to the PI server but can't find link to integeration server. Can anyone please tell me what is the path for accessing integeration server in PI. Regards