Friday 7 March 2014

Oracle Cloning Common Errors with Soultions


ERROR : Unable to set CLASSPATH
<Path to $COMMON_TOP>/clone/bin/../jlib/classes111.zip: is missing

First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system :

ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone.err file for erros

Cause

The first error indicates, that the file 'Classes111.zip' is missed.

Solution

To implement the solution, please execute the following steps :

1. Copy from $iAS_TOP/portal30/admin/plsql/lib/classes111.zip to $COMMON_TOP/clone/jlib/classes111.zip :


Workaround:-


[applmgr@tfnvlskp01 8.0.6]$ cd /app/oracle/testora/iAS/portal30/admin/plsql/lib/
[applmgr@tfnvlskp01 lib]$ ls classes111.zip
classes111.zip
[applmgr@tfnvlskp01 lib]$ cd /app/oracle/testcomn/clone/jlib/
[applmgr@tfnvlskp01 jlib]$ ls classes111.zip
ls: classes111.zip: No such file or directory
[applmgr@tfnvlskp01 jlib]$ cp /app/oracle/testora/iAS/portal30/admin/plsql/lib/classes111.zip /app/oracle/testcomn/clone/jlib/

******************************************************************************************************************************************

 
WARNING: Could not find all the required OS utilities in the $PATH.

bash-3.00$ perl adcfgclone.pl appsTier

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 :

Checking for make…
Unable to locate ‘make’ utility in path
Checking for ld…
Unable to locate ‘ld’ utility in path
Checking for ar…
Unable to locate ‘ar’ utility in path
Unable to locate all utilities with system path.
PATH = /clone/apps/apps_st/comn/clone/bin/../jre/bin:/usr/bin:

WARNING: Could not find all the required OS utilities in the $PATH. Please review the checks above

Solution:

Please set perl and perl5lib than use below command and retry issue

export PATH=/usr/ccs/bin:$PATH

*******************************************************************************************************************************************
 

/a01/applprod/prodcomn/clone/jre/1.3.1/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
 
***********
Solution :
***********

login as: root
Access denied
root@192.168.1.62's password:
[root@apps ~]# cd /usr/lib
[root@apps lib]# ls -ltr libstdc++-libc6.2-2.so.3
lrwxrwxrwx 1 root root 31 Jan  2 21:53 libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
[root@apps lib]# ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2
[root@apps lib]#

**********************************************************************************************************************************************

ERROR: Failed to execute appsutil/clone/bin/adclone.pl

 Please check logfile.
[oraprod@db bin]$

Solution 1:
=========

[root@db rpms]# rpm -ivh compat-oracle-rhel4-1.0-5.i386.rpm
Preparing...                ########################################### [100%]
   1:compat-oracle-rhel4    ########################################### [100%]
[root@db rpms]#

Solution 2:
=========

please execute the following steps:

1. Change the permissions on the file to 755:

chmod 755 $ORACLE_HOME/oui/bin/runInstaller.sh

[root@db java]# cd /d01/oraprod/tech_st/9.2.0/oui/bin/

[root@db bin]# chmod 755 /d01/oraprod/tech_st/9.2.0/oui/bin/runInstaller.sh
[root@db bin]# ls -ltr
total 224
-rwxrwxrwx  1 oraprod dba 75514 Mar 11  2004 runInstaller
-rwxrwxrwx  1 oraprod dba 56755 Mar 11  2004 lsnodes.bin
-rwxrwxrwx  1 oraprod dba 64032 Mar 11  2004 libcmdll.so
-rwxrwxrwx  1 oraprod dba   158 Mar 11  2004 lsnodes
-rwxr-xr-x  1 oraprod dba    65 Jul 23  2004 runInstaller.sh
-rwxrwxrwx  1 oraprod dba   449 Jul 23  2004 ouica.sh
-rwxrwxrwx  1 oraprod dba   356 Jul 23  2004 addNode.sh
[root@db bin]#

2. Retest the issue

**********************************************************************************************************************************************
 

RC-40201: Unable to connect to Database

Cause:

The Host entry is not available in the both server.

Solution :
=========

We have to Keep both server ip address entries details in both server /etc/hosts files.

**********************************************************************************************************************************************