cancel
Showing results for 
Search instead for 
Did you mean: 

DIR_EXE_ROOT

Former Member
0 Kudos

Hi everyone,

I am having a basic doubt, where are the parameters DIR_EXE_ROOT,DIR_INSTANCE, DIR_INSTALL defined in a sap system?

SAP Note 1104735 is mentioning about a new direcotry structure for unix systems and we have already made the requested changes . But after th\e change , DIR_EXE_ROOT is pointing to a wrong directory and need to know the possible cause of this change.

Thanks

Aby

Accepted Solutions (0)

Answers (5)

Answers (5)

paul_murgatroyd
Explorer
0 Kudos

I have the same question about where to find DIR_EXE_ROOT defined. The only difference is that I have a Single Stack Java System, so there is no AL11 Tranaction I can look at.

Does anyone know where DIR_EXE_ROOT is defined on a Java Only System? I have been having issues trying to do a Kernel Upgrade, and the Kernel is not being copied into the SCS Instance on startup, so startsap fails due to a version mismatch between the old Kernel and the new one.

0 Kudos

Dear Paul,

Please note that sapcpe is responsible to copy the kernel files from, for example,

/usr/sap/<SID>/SYS/exe to /usr/sap/<SID>/<instance>/exe

So, if this step is not working you need to check the sapcpe trace. Go to instance work folder and check the sapcpe.log.

Usually this occurs if the sapce cannot read two parameters in the instance and start profiles:

DIR_CT_RUN = $(DIR_EXE_ROOT)/run

DIR_EXECUTABLE = $(DIR_INSTANCE)/exe

In addition also review Note 1636252.

Regards,

Abhishek

Former Member
0 Kudos

Hi All,

Thaks for your reply. Basically our start profile contains this value 'DIR_CT_RUN = $(DIR_EXE_ROOT)/run', and my doubt is where we are defining this parameter DIR_EXE_ROOT ?

Startsap script is using the above path to look for executables .

Regards

Aby

Former Member
0 Kudos

HI Aby,

Just to add to what others have said.This is not a parameter which needs to be defined.This is defined by SAP when the instance has been installed i think.You can check the standarad ones from AL11as said by Juan.Please corretc if i am wrong.Thanks.

Edited by: Ambarish annapureddy on May 3, 2011 10:36 AM

former_member188065
Participant
0 Kudos

I suppose we all know where to look up the settings. Question isn't answered yet, is it?

There are some parameters like DIR_EXE_ROOT that seems to appear out of nowhere.

For OS_UNICODE one could assume it is hardcoded in the kernel. DIR_INSTANCE could use INSTANCE_NAME as a source, but what about DIR_EXE_ROOT ?

In a standard windows environment, my best guess would be that DIR_EXE_ROOT is derived from the environment variable SAPEXE which is probably not true.

If anybody could shed some light on this unanswered question(s), please?

former_member188065
Participant
0 Kudos

Well, maybe I found the answer here [Note 1104735 - Upgrade to the new instance-specific directory on UNIX|https://service.sap.com/sap/support/notes/1104735]

It seems that DIR_EXE_ROOT is always pointing to /usr/sap/SID/SYS/exe which would make sense...

JPReyes
Active Contributor
0 Kudos

DIR_EXE_ROOT is SAP defined directory you'll find the value on AL11

Regards

Juan

former_member188065
Participant
0 Kudos

As i said...

JPReyes
Active Contributor
0 Kudos

Additional to the comments above, you can see the current paths of the SAP Directories in AL11.

Regards

Juan

former_member311580
Active Participant
0 Kudos

Hello Aby,

You should maintain the values in the DEFAULT.PFL profile when they are not the standard ones,

You can check their values with transaction RZ11,

Best regards,

Rafa

Former Member
0 Kudos

Hi Aby,

As per note you has do the changes in all Start & Instance profile. Hope fully you did the changes in both profile.

Is your DIR_EXE_ROOT value is same in start & instance profile? Please post what are the values in both the profile & what is the wrong path its using

Regrds

Mrinal

Edited by: Mrinal Das on Sep 2, 2010 8:07 AM