Symptom
Running sapcontrol without a full path fails with:
-sh: sapcontrol: command not found
This occurs when executing any of the following:
sapcontrol -nr <instance_number> -function Stop
sapcontrol -nr <instance_number> -function Start
sapcontrol -nr <instance_number> -function GetProcessList
As root — expected behavior. Root does not source the HANA environment; the full binary path is always required.
As <sid>adm — indicates a misconfiguration. The sapcontrol command must resolve without a full path when the HANA environment is correctly set.
Read more...
Environment
SAP HANA Database 2.0
Product
Keywords
SAP HANA, sapcontrol, command not found, PATH, LD_LIBRARY_PATH, environment variables, exe symlink, broken symlink, sid adm, hdb symlink, linuxx86_64, StartSystem, StopSystem, RestartSystem, GetProcessList, GetSystemInstanceList, hostctrl, HANA 2.0, Linux, hdblcm, sapstartsrv , KBA , HAN-DB , SAP HANA Database , 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.
SAP Knowledge Base Article - Preview