Friday, June 24, 2011

adrelink is not running

Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
Problem:

Running adrelink gave the below without actually run:

adrelink.sh force=y "ad adpatch"

Usage: adrelink force={y|n} [<optional args>] <targets>
or: adrelink force={y|n} [<optional args>] filelist=<file>

where <targets> = { <product module> [<product module>] ... }
and <product module> = "<product> <module name>"
- <product> should be in lower case
- <module name> should exactly match the executable name

Valid <optional args> are:

envfile=adsetenv.sh
Used only by the 'adsetup' script
link_debug={y|n}
Will we link executables with debug or not? Default is 'n'
backup_mode={none|all|file}
Which executables will we back up when linking with force=y?
Default is 'file'. Meanings are:
- none: do not back up any executables
- all : back up all executables
- file: do what $APPL_TOP/admin/adlinkbk.txt says to do

Type 'adrelink examples' to see some examples of running adrelink.


Solution:


You should use tr utility from  /usr/bin not from this /usr/xpg4/bin/tr as you are running version < 12.1.1
Get Oracle Certifications for all Exams
Free Online Exams.com

adlibout: error: Can't write to lib directory for product ad While applying patches using adpatch

Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
Problem:

While applying patch Patch 7461070 the below error generated:

---ad----------------------------------------
Extracting object modules for product ad...

adlibout: error: Can't write to lib directory for product ad
Directory name is /lib
Directory permissions are drwxr-xr-x

Done extracting requested object modules for product ad.

End of adlibout session
Date/time is Monday 20 June 2011 11:54:22 AM GST
**********************************************************

An error occurred while extracting files from library.
Continue as if it were successful [No] :


Solution:

You should use tr utility from  /usr/bin not from this /usr/xpg4/bin/tr as you are running version < 12.1.1
Get Oracle Certifications for all Exams
Free Online Exams.com