Why do I receive "ERROR: Expected /usr/sap/$SID/SYS/profile/ to be a directory, please set DIR_PROFILE parameter!" even when DIR_PROFILE attribute is set?
Issue
-
We observe the following error in logs even when the
DIR_PROFILEattribute for given SAPInstance is configured and resource doesn't start. How to fix this?ERROR: Expected /usr/sap/RH1/SYS/profile/ to be a directory, please set DIR_PROFILE parameter! -
SAP Instance on node fails to start and when the following command is run by
SAPInstanceresource agent or manually the Instance is not starting.# LD_LIBRARY_PATH=/usr/sap/RH1/ASCS00/exe/ /usr/sap/RH1/ASCS00/exe/sapcontrol -nr 00 -function Start; echo $? 23.09.2018 17:40:01 Start OK 0 # LD_LIBRARY_PATH=/usr/sap/RH1/ASCS00/exe/ /usr/sap/RH1/ASCS00/exe/sapcontrol -nr 00 -function WaitforStarted 3600 10; echo $? 23.09.2018 17:40:39 WaitforStarted FAIL: process msg_server MessageServer not running 2
Environment
- Red Hat Enterprise Linux 7 with High Availability Add-on
- running pacemaker cluster with
SAPInstanceresources
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.