1748202 Members
3111 Online
108759 Solutions
New Discussion юеВ

Re: Oracle Apps error

 
SOLVED
Go to solution
DareDevil_1
Advisor

Oracle Apps error

hi all,

am trying to clone Oracle apps 11.5.10 for the first time. when i ran a
adcfgclone.pl appsTier

i got the following error:
Starting: "make -if /vol005/applsgtt/sgttora/iAS/precomp/lib/ins_precomp.mk relink EXENAME=profor"
Linking profor
Completed...

Starting: "make -if /vol005/applsgtt/sgttora/iAS/precomp/lib/ins_precomp.mk relink EXENAME=profor"
Linking profor
/usr/ccs/bin/ld: Can't find library: "clntsh"
chmod: can't access profor
*** Error exit code 1 (ignored)
rm -f /vol005/applsgtt/sgttora/iAS/bin/profor
mv profor /vol005/applsgtt/sgttora/iAS/bin/
mv: profor: cannot access: No such file or directory
*** Error exit code 1 (ignored)
Completed...

Starting: "make -if /vol005/applsgtt/sgttora/iAS/precomp/lib/ins_precomp.mk relink EXENAME=procob18"
Linking procob18
/usr/ccs/bin/ld: Can't find library: "clntsh"
chmod: can't access procob18
*** Error exit code 1 (ignored)
rm -f /vol005/applsgtt/sgttora/iAS/bin/procob18
mv procob18 /vol005/applsgtt/sgttora/iAS/bin/
mv: procob18: cannot access: No such file or directory
*** Error exit code 1 (ignored)
Completed...

Starting: "make -if /vol005/applsgtt/sgttora/iAS/precomp/lib/ins_precomp.mk relink EXENAME=ott"
Linking ott
/usr/ccs/bin/ld: Can't find library: "clntsh"
chmod: can't access ott
*** Error exit code 1 (ignored)
rm -f /vol005/applsgtt/sgttora/iAS/bin/ott
mv ott /vol005/applsgtt/sgttora/iAS/bin/
mv: ott: cannot access: No such file or directory
*** Error exit code 1 (ignored)
Completed...

Starting: "make -if /vol005/applsgtt/sgttora/iAS/precomp/lib/ins_precomp.mk relink EXENAME=proc"
Linking proc
/usr/ccs/bin/ld: Can't find library: "clntsh"
chmod: can't access proc
*** Error exit code 1 (ignored)
rm -f /vol005/applsgtt/sgttora/iAS/bin/proc
mv proc /vol005/applsgtt/sgttora/iAS/bin/
mv: proc: cannot access: No such file or directory
*** Error exit code 1 (ignored)
Completed...

Error found while relinking

If someone knows about this pls pls let me know what to do.

thanks in advance
17 REPLIES 17
Dennis Handly
Acclaimed Contributor

Re: Oracle Apps error

/usr/ccs/bin/ld: Can't find library: "clntsh"

Do you have the oracle database installed? I think that's where libclntsh is built.
DareDevil_1
Advisor

Re: Oracle Apps error

Yes i have the Database. It is erroring our while relinking the IAS_ORACLE_HOME.
Dennis Handly
Acclaimed Contributor

Re: Oracle Apps error

>Yes i have the Database.

Is there someway to tell Oracle apps where you installed libclntsh?
DareDevil_1
Advisor

Re: Oracle Apps error

It searches the SHLIB_PATH and LD_LIBRARY_PATH. all of which have been set.
Dennis Handly
Acclaimed Contributor
Solution

Re: Oracle Apps error

>It searches the SHLIB_PATH and LD_LIBRARY_PATH. all of which have been set.

No, ld searches LPATH. dld searches your paths.
DareDevil_1
Advisor

Re: Oracle Apps error

hi,

Thanks a lot. I seem to have crossed one milestone by setting LPATH and my PATH.

But getting the following error while running adcgfclone.pl appsTier

Error while running adlnkiAS.sh. Please check logfile

.end std out.

.end err out.



StackTrace:
java.lang.Exception: java.lang.NullPointerException
at oracle.apps.ad.clone.ApplyAppsTechStack.runRelinkOH(ApplyAppsTechStack.java:795)
at oracle.apps.ad.clone.ApplyAppsTechStack.(ApplyAppsTechStack.java:371)
at oracle.apps.ad.clone.ApplyAppsTier.(ApplyAppsTier.java:177)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Unknown Source)

The make.log just says that there was an error while linking.
Eric Antunes
Honored Contributor

Re: Oracle Apps error

Hi,

Cloning 11i applications requuires at least 5 steps since preparing the source system until the final tasks... So, I recommend you to read Metalink Note 216664.1 to guide you in the entire process.

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
DareDevil_1
Advisor

Re: Oracle Apps error

"Cloning 11i applications requuires at least 5 steps since preparing the source system until the final tasks... So, I recommend you to read Metalink Note 216664.1 to guide you in the entire process."

I have gone thru the process, the first part of cloning the source was done on the clients place.now i have to bring it up in the target system.

I have brought the database up and now its the apps tier for which i ran the
$COMMON_TOP/clone/bin
perl adcfgclone.pl appsTier

Its giving error while trying to link the IAS_ORACLE_HOME.

Please find below the error in make log.


Starting: "make -if /vol005/applsgtt/sgttora/iAS/webcache/lib/ins_calypso.mk install"

- Linking Webcache
rm -f webcached
cc -Wl,+s -Wl,+n -o webcached -L/vol005/applsgtt/sgttora/iAS//lib/ -L/vol005/applsgtt/sgttora/iAS/lib/ main.o li
bwebcachexml.a -lclntst8 -lcore8 -lnls8 -lpthread `cat /vol005/applsgtt/sgttora/iAS/lib/sysliblist` -lm -lpthread -lnsl -ld4r
-L/vol005/applsgtt/sgttora/iAS/JRE/lib/PA_RISC/native_threads -ljava
/usr/ccs/bin/ld: Can't open main.o
/usr/ccs/bin/ld: Permission denied
*** Error exit code 1 (ignored)
mv -f /vol005/applsgtt/sgttora/iAS/webcache/bin/webcached /vol005/applsgtt/sgttora/iAS/webcache/bin/webcached0
mv: /vol005/applsgtt/sgttora/iAS/webcache/bin/webcached: cannot access: No such file or directory
*** Error exit code 1 (ignored)
mv webcached /vol005/applsgtt/sgttora/iAS/webcache/bin/webcached
mv: webcached: cannot access: No such file or directory
*** Error exit code 1 (ignored)
chmod 751 /vol005/applsgtt/sgttora/iAS/webcache/bin/webcached
chmod: can't access /vol005/applsgtt/sgttora/iAS/webcache/bin/webcached
*** Error exit code 1 (ignored)
Make: Don't know how to make libwxd.a. Stop.
Failed...

Dennis Handly
Acclaimed Contributor

Re: Oracle Apps error

>It's giving error while trying to link the IAS_ORACLE_HOME.
/usr/ccs/bin/ld: Can't open main.o
/usr/ccs/bin/ld: Permission denied

Well, you need to be able to read main.o.