Symptom
New entries were added to the PATH or LD_LIBRARY_PATH (LIBPATH, SHLIB_PATH) variables via .sapenv_hostname.csh or .sapenv.csh shell startup scripts in the sidadm user's home directory.
For example in the .sapenv*, the following is added at the end of the scripts to include the "/newdir" at the end of the variables:
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/newdir
setenv PATH ${PATH}:/newdir
When checking the variables, they show as:
hostname:sidadm 54> echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/sap/SID/SYS/exe/uc/linuxx86_64:/usr/sap/SID/SYS/exe/run:/home/sidadm:/newdir:/newdir
hostname:sidadm 55> echo $LD_LIBRARY_PATH
/usr/sap/SID/SYS/exe/run:/usr/sap/SID/SYS/exe/uc/linuxx86_64:/newedir:/oracle/client/19/instantclient:/newdir
Read more...
Environment
- Any SAP release
- Any Linux Distribution
- AIX
- Solaris
- HP-UX
- csh shell
Product
Keywords
PATH, LD_LIBRARY_PATH, SHLIB_PATH, LIBPATH, sapenv, cshrc , KBA , BC-OP-LNX , Linux , BC-OP-AIX , IBM AIX , BC-OP-HPX , HP-UX , BC-OP-SUN , SUN Solaris , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview