Re: perl adcfgclone.pl dbTechStack -error

  • From: VenkateshK <kanakaala@xxxxxxxxx>
  • To: ora-apps-dba@xxxxxxxxxxxxx
  • Date: Mon, 8 Oct 2007 18:39:12 +0530

Hi Anant,


This is purely isuue with the Pre-Reqs OS Patches and LD_ASSUME_KERNEL and
environment variables.
I thought you are going to Clone the existing Instance to new machine. So
just check all the Pre-Req OS patches are Installed or not
by executing "*oscheck.sh" *script which is bundled with Apps Software.




On 10/8/07, Sumit Gupta <sumit.gupta@xxxxxxxxxxxxx> wrote:
>
>
>
> Hi,
>
>
>
> Pls check whether g++ and gcc executables exist or not in /usr/bin if not
> then make a soft link gcc, g++ for /usr/bin/g++296 and /usr/bin/gcc296
> respectively.
>
>
>
>
>
> Regards,
>
> Sumit
>  ------------------------------
>
> *From:* ora-apps-dba-bounce@xxxxxxxxxxxxx [mailto:
> ora-apps-dba-bounce@xxxxxxxxxxxxx] *On Behalf Of *Anant (DBA)
> *Sent:* Monday, October 08, 2007 12:45 AM
> *To:* ora-apps-dba@xxxxxxxxxxxxx
> *Cc:* vikramsingh120@xxxxxxxxx
> *Subject:* Re: perl adcfgclone.pl dbTechStack -error
>
>
>
>
> Hi Vikram,
>
> Below find the attached log info when i ran adlnkoh.sh script manually.
> Please suggest me and thanks in advance
>
> adlnkoh.sh started at Sun Oct  7 12:08:38 PDT 2007
> logfile located in /u01/adev/adevdb/9.2.0/install/make.log
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
> adlnkoh.sh : make: not found
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
> ld.so.1: /u01/adev/adevdb/9.2.0/bin/sqlplus: fatal: libclntsh.so.9.0: open
> failed: No such file or directory
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
> adlnkoh.sh: make: not found
>
>  Error while running adlnkoh.sh. Please check logfile
>
>
>
> bash-2.03$ vi  make.log
> "make.log" 44 lines, 1345 characters
> running genclntsh...
> genclntsh: Could not locate
> /u01/adev/adevdb/9.2.0/network/admin/shrept.lst
> genclntsh: exiting ...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/rdbms/lib/ins_rdbms.mk install"
> Failed...
> running genclntsh...
> genclntsh: Could not locate
> /u01/adev/adevdb/9.2.0/network/admin/shrept.lst
> genclntsh: exiting ...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/rdbms/lib/ins_rdbms.mk install"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/precomp/lib/ins_precomp.mk
> links"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/sqlplus/lib/ins_sqlplus.mk
> install"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/network/lib/ins_net_client.mk
> install"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/network/lib/ins_oemagent.mk
> install"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/plsql/lib/ins_plsql.mk install"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/ldap/lib/ins_ldap.mk install"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/rdbms/lib/ins_rdbms.mk
> utilities iosh"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/network/lib/ins_net_server.mk
> install"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/otrace/lib/ins_otrace.mk
> install"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/ctx/lib/ins_ctx.mk install"
> Failed...
> The value of IS_RAC:false
> Relinking with RAC OFF
>
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/rdbms/lib/ins_rdbms.mk rac_off"
> Failed...
>
> Starting: "make -if /u01/adev/adevdb/9.2.0/rdbms/lib/ins_rdbms.mk ioracle"
> Failed...
>
> Regards,
>
> Anant
>
>
>
> On 10/8/07, *vikram singh* <vikramsingh120@xxxxxxxxx> wrote:
>
>
>
> Hi Anant,
>
>
>
> As part of the dbTechStack, the ORACLE_HOME gets relinked. Looks like the
> *sqlplus* executable in your ORACLE_HOME is not getting generated during
> the relink. It would be helpful if you try fixing the relink error, and
> adcfgcone will run fine on its own.
>
> You can run the adlnkoh.sh script independently, and see the o/p of the
> script. See if the script generates any log file. Upload the log file to
> this mail, and i will help you in resolving the issue.
>
>
>
> -Vikram
>
> DBA Consultant.
>
>
>
>
> On 10/7/07, *Anant (DBA)* <shastry17@xxxxxxxxx > wrote:
>
> Hi Gurus,
>
> We are doing ERP cloning and below are the errors when I ran adcfgclone
> for database. We are running clone process for DB as DBtechstack and
> refreshing the database using RMAN tape backup.  I tried the metalink
> solution (whether shrept.lst file exists) but of no use. I see sqlplus
> file exists in
> /u01/adev/adevdb/9.2.0/bin/ path before i run perl script and once it
> reaches 98% it errors out and the files i see are :
>
> bash-2.03$ ls -ltr sql*
> -rwxr-xr-x 1 orajfin dba 10166 Apr 26 2002 sqlj
> -rwxr-x--x 1 orajfin dba 763368 May 18 23:16 sqlldr0
> -rwxr-x--x 1 orajfin dba 1057168 May 18 23:17 sqlplus0
>
>
>
>
>
> bash-2.03$ perl adcfgclone.pl dbTechStack
>
>
> Beginning rdbms home Apply - Sun Oct  7 07:09:15 2007
> Log file located at
> /u01/adev/Asuppdb/9.2.0/appsutil/log/adev_financials1/ApplyDBTechStack_10070709.log
>
> RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
>   /    100% completed
> ERROR while running Apply...
>
>  ERROR: Failed to execute
> /u01/adev/adevdb/9.2.0/appsutil/clone/bin/adclone.pl
>
>
>
>  Error while running adlnkoh.sh. Please check logfile
>
> .end std out.
> /u01/adev/adevdb/9.2.0/appsutil/install/adlnkoh.sh:
> /u01/adev/adevdb/9.2.0/bin/sqlplus: not found
>
> .end err out.
>
>
> StackTrace:
> java.lang.Exception: java.lang.NullPointerException
>         at oracle.apps.ad.clone.ApplyDBTechStack.runRelinkOH(
> ApplyDBTechStack.java:847)
>         at oracle.apps.ad.clone.ApplyDBTechStack .<init>(
> ApplyDBTechStack.java:421)
>         at 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:484)
>
>
> Please suggest/advice me if you have any for this.
>
> Thanks,
> Anant
>
>
>
>
>
> ******************************************************************************************************************************
> "This message and any attachments are solely for the intended recipient and 
> may contain Birlasoft confidential or privileged information. If you are not 
> the intended recipient,any disclosure,copying, use, or distribution of the 
> information included in this message and any attachments is
> prohibited. If you have received this communication in error, please notify 
> us by reply e-mail(administrator@xxxxxxxxxxxxx) immediately and permanently 
> delete this message and any attachments. Thank you."
> ************************************************************************************************************************************************************************
>
>


-- 


Thanks & Regards
Venkatesh K
+91 9966441136

Other related posts: