This blog is about the adcfgclone.pl on DB Tier after Migration from Windows to Linux
When I tried to adcfgclone on the same machine for a testing after a detailed adpreclone, i got this message during 2% of adcfgclone.
The error log says make log says:
'/usr/bin/ld: cannot find -ljava'
return code = .24.25.26.27.30.31.32.33.34.35.42.43.44.46.47.48.50
The issue was with $ORACLE_HOME/sysman/lib env_sysman.mk file
Edit the file and find the line JRE_LIB_DIR
It points to the source lib path:
Correct the path. Before you make any changes,
please make a copy of the file.
Then start the adcfgclone.pl dbTier...
It should complete relinking without errors.
During migration, i presented a jdk1.5.
Another issue after completion of relinking.
ouicli INSTE8_APPLY 255
The issue was with jdk 1.5 was not present at the appsutil directory.
Copy the jdk1.5 contents to appsutil directory under $ORACLE_HOME/appsutil/jre
Then rerun the adcfgclone.pl. It should complete normally.
Cheers!!!
Life saver! Thanks for this one.
ReplyDelete