cancel
Showing results for 
Search instead for 
Did you mean: 

sapcontrol -nr 08 -function GetEnvironment malfunctions

Former Member
0 Kudos

We have a strange situation that is if running following command at a application server as qaaadm:

sapcontrol -nr 08 -function GetEnvironment

we can see all Oracle related environment variables are MISSING.

If I use "env"  as qaaadm, all those missing variables show up.

1) I have tried kernel 721 (patch level 216), 721 (pl 500) and 721_ext (pl 500), all have above problem;

2) I also applied 1825259 to add for example: SETENV_00 = DB_SID=QAA, but

sapcontrol -nr 08 -function GetEnvironment | grep DB_SID still shows nothing, while env|grep DB_SID shows QAA.



Your advice is appreciated.



Accepted Solutions (1)

Accepted Solutions (1)

Sriram2009
Active Contributor
0 Kudos

Hi Mike

Could you check this SAP notes for environment variables

202227 - Recommended login shells


1827566 - How to set environment variables for SAP system?


BR

SS

Answers (2)

Answers (2)

alwina_enns
Employee
Employee
0 Kudos

Hello Mike,

did you already check the note:

http://service.sap.com/sap/support/notes/1301712

It describes, when "GetEnvironment" can hang.

Regards,
Alwina

Former Member
0 Kudos

Hi Mike,

Did you already try ?:

sapcontrol -nr 08 -function RestartService

Then try the GetEnvironment again.

Cheers,

Amerjit