on 11-08-2010 12:17 PM
Dear all,
I wounder if someone could explain something.
If I issue the folowing command it works and returns the correct information:-
sapcontrol -nr 20 -user <sid>adm <password> -function GetEnvironment
If I issue the following command it sort of works but gives a non-zero returncode:-
sapcontrol -nr 20 -function OSExecute "ls" 0 30
08.11.2010 12:01:26
OSExecute
OK
exitcode, pid, lines
2, 27013
If I issue the following command it gives an error:-
sapcontrol -nr 20 -user <sid>adm <password> -function OSExecute "ls" 0 30
08.11.2010 11:52:14
OSExecute
FAIL: Invalid Credentials
Can anyone tell me why I get Invalid credentials on the last command when the same credentials work on the first command?
Thank you
Russell Burrow
SAP Basis
Thank you for your response.
I have updated my system to the latest Kernel but I am still getting the problem.
I don't know what you mean by try "ll".
Regards,
Russell Burrow
SAP Basis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
i nt sure abt the exact cause, but as per the sap note [877795 |https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=877795](Please refer section 25) there was the child processing problem in OSexecute.
if you are doing this for slm connection, just try it with "ll" once or follow the maual
jansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.