When RMAN loads
libobk_avamar.so or
libobk_avamar64.so, the path to the RMAN-dependent libraries must be communicated to the dynamic loader. The dynamic loader exits with a failure when it is unable to locate the libraries that
libobk_avamar.so or
libobk_avamar64.so requires. RMAN channel allocation fails.
About this task
Use an environment variable to specify the location of the libraries. Set the correct environment variable before an Avamar backup or restore operation runs an RMAN script. The location and the environment variable vary with each operating system. The following table lists the operating systems and the environment variables.
Table 1. Environment variables for libobkThe following table displays the environment variables for libobk.
Operating system
Environment variable
AIX
LIBPATH
HP-UX
SHLIB_PATH
Linux, Solaris
LD_LIBRARY_PATH
The library path is typically
install-dir/lib, where
install-dir is the base installation directory for the system. For example:
On Linux, the path is
/usr/local/avamar.
On Solaris, the path is
/opt/AVMRclnt.
On Windows, the path is
C:\Progra~1\avs\bin.
Steps
Use the
set and
export commands (for the sh, ksh, or bash shell) or the
setenv command (for the csh or bash shell) to set the library path variable.
Set the appropriate environment variable on the system. For example, to set the
LD_LIBRARY_PATH variable on Solaris, use one of the following methods depending on the operating system shell:
For the sh, ksh, or bash shell, type the following command:
set LD_LIBRARY_PATH=/opt/AVMRclnt/lib export LD_LIBRARY_PATH
For the csh or bash shell, type the following command:
setenv LD_LIBRARY_PATH /opt/AVMRclnt/lib
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\