LD_LIBRARY_PATH keeps disappearing

cgrvy

ADSM.ORG Member
Joined
Aug 5, 2008
Messages
34
Reaction score
0
Points
0
Hi,

I recently upgraded a TSM4VE install to get over an error when restoring very large vm's. However, since then my scheduled backups have been constantly failing failing due to the LD_LIBRARY_PATH being missing.

I set the path from the machine with the following command:
export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/bin/ba

I then confirm that it is set correctly using:
echo $LD_LIBRARY_PATH which responds with the correct details. However after a few hours when I run this command again it returns a blank line.

I have updated the dsmcad file to include the line "export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/bin/ba" at the top of the file - but when I reboot the machine the path is empty again.

Anyone see this issue before or have any thoughts?

I'm using version 6.4.1.3 on RedHat

Thanks!
 
Place the line in /etc/environment so it path will be active system wide after a reboot.
If you only need the export for users, place it in /etc/profile

When you export a path in a shell, you will lose the export once you log off that shell.
 
Thanks for the reply - I added the line: "export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/bin/ba" into /etc/environment and rebooted the machine. The variables are still empty.... is that the correct format?
 
my mistake - the environment option worked!

thanks again!
 
Back
Top