SAP Knowledge Base Article - Preview

3277471 - LD_LIBRARY_PATH empty with saphostagent - NetWeaver

Symptom

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

  • In phase 'DBCONNCHK_PRE' variable LD_LIBRARY_PATH is not set correctly.
    SAPup> Starting subprocess with PID 3550 in phase 'DBCONNCHK_PRE' at 20221127114233
        ENV: DIR_LIBRARY=/usr/sap/<SID>/SUM/abap/bin
        ENV: LD_LIBRARY_PATH=/usr/sap/<SID>/SUM/abap/bin

  • Check in log file ENVDUMP.LOG. The environment variable LD_LIBRARY_PATH is empty.
    LD_LIBRARY_PATH=

  • If you run the command "/usr/sap/hostctrl/exe/saphostexec -userenv <sid>adm" with root user, you will see the information in the following pattern at the end of the output.
      ===    rsdb_ssfs_connect=0
    found by SU but not in SHELL:         LD_LIBRARY_PATH=/usr/sap/<SID>/SUM/abap/bin:/usr/sap/<SID>/SYS/exe/run:/usr/sap/<SID>/SYS/exe/uc/linuxx86_64:/usr/sap/<SID>/SYS/exe/uc/linuxx86_64/hdbclient
      ===    dbms_type=HDB


Read more...

Environment

NetWeaver on Linux

Product

SAP NetWeaver 7.4 ; SAP NetWeaver 7.5

Keywords

LD_LIBRARY_PATH,sapuxusergetrtinfo , KBA , BC-OP-LNX , Linux , BC-CCM-HAG , Host Agent , Problem

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.