cancel
Showing results for 
Search instead for 
Did you mean: 

JSPM sapcontrol FAIL: Invalid Credentials

Former Member
0 Kudos

Hi,

I am applying SPS6 to PI 7.1. JSPM fails on the kernel deployment. I have ASCS (port 20) and SCS (port 25) running on a HA server (devpidsap) and Primary Application server (port 21) running on another server. I am running JSPM from Primary Application server and it fails with the following error.

Oct 14, 2008 1:32:32 PM [Info]: Checking component /usr/sap/trans/EPS/in/SAPXIAF06P_7-20001975.SCA for upgrade configurations.

Oct 14, 2008 1:32:33 PM [Info]: Checking component /usr/sap/trans/EPS/in/LMCORE06_0-20001910.SCA for upgrade configurations.

Oct 14, 2008 1:32:33 PM [Info]: Checking component /usr/sap/trans/EPS/in/LMNWABASICMBEAN06_0-20001892.SCA for upgrade configurations.

Oct 14, 2008 1:32:33 PM [Info]: Checking component /usr/sap/trans/EPS/in/LMNWABASICAPPS06_0-20001893.SCA for upgrade configurations.

Oct 14, 2008 1:32:33 PM [Info]: Checking component /usr/sap/trans/EPS/in/ESIUI06_0-20001923.SCA for upgrade configurations.

Oct 14, 2008 1:32:33 PM [Info]: Checking component /usr/sap/trans/EPS/in/EPBASIS06_0-20002466.SCA for upgrade configurations.

Oct 14, 2008 1:32:33 PM [Info]: Checking component /usr/sap/trans/EPS/in/LMHOSTAGENT06_0-20001878.SCA for upgrade configurations.

Oct 14, 2008 1:32:33 PM [Info]: Checking component /usr/sap/trans/EPS/in/ETPRJSCHEDULER06_0-10006469.SCA for upgrade configurations.

Oct 14, 2008 1:32:33 PM [Info]: Checking component /usr/sap/trans/EPS/in/UKMSJAVA06_0-20001896.SCA for upgrade configurations.

Oct 14, 2008 1:32:33 PM [Info]: Stopping AS Java instance, SCS instance and OS services...

Oct 14, 2008 1:32:33 PM [Info]: Stopping AS instance(s) of system PID...

Oct 14, 2008 1:32:33 PM [Info]: You can find additional information in log file /usr/sap/PID/DVEBMGS21/j2ee/JSPM/log/log_2008_10_14_12_21_13/ENGINE_OPERATION

_10.LOG.

Oct 14, 2008 1:35:59 PM [Info]: AS instance(s) of system PID stopped successfully.

Oct 14, 2008 1:35:59 PM [Info]: Stopping instance 25 of system PID...

Oct 14, 2008 1:35:59 PM [Info]: You can find additional information in log file /usr/sap/PID/DVEBMGS21/j2ee/JSPM/log/log_2008_10_14_12_21_13/ENGINE_OPERATION

_11.LOG.

Oct 14, 2008 1:36:00 PM [Error]: Return code condition success evaluated to false for process sapcontrol for action stop.

Oct 14, 2008 1:36:00 PM [Error]: Could not execute operating system process for action stop on instance 25. Process ID is 86, process name is sapcontrol.

Oct 14, 2008 1:36:00 PM [Error]: Cannot stop instance 25 of system PID.

Oct 14, 2008 1:36:00 PM [Error]: Cannot stop system.

Oct 14, 2008 1:36:00 PM [Error]: Cannot stop system.

Oct 14, 2008 1:36:00 PM [Info]: Overal deployment message : Cannot stop system.

Cannot stop system.

Cannot stop instance 25 of system PID.

Could not execute operating system process for action stop on instance 25. Process ID is 86, process name is sapcontrol.

Return code condition success evaluated to false for process sapcontrol for action stop.

. Cannot stop system..

________________________________________________________________________________

ENGINE_OPERATION_11.LOG.

<!LOGHEADER[START]/>

<!HELP[Manual modification of the header may cause parsing problem!]/>

<!LOGGINGVERSION[1.5.7.1006]/>

<!NAME[/usr/sap/PID/DVEBMGS21/j2ee/JSPM/log/log_2008_10_14_12_21_13/ENGINE_OPERATION_11.LOG]/>

<!PATTERN[ENGINE_OPERATION_11.LOG]/>

<!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %m)]/>

<!ENCODING[UTF8]/>

<!LOGHEADER[END]/>

Oct 14, 2008 1:36:00 PM [Info]: Process ID 86, name sapcontrol has been started.

Oct 14, 2008 1:36:00 PM [Info]: Command line: /usr/sap/PID/DVEBMGS21/exe/sapcontrol -nr 25 -host devpidsap -user pidadm <SecureField> -function Stop

Oct 14, 2008 1:36:00 PM [Info]: Standard out: /usr/sap/PID/DVEBMGS21/j2ee/JSPM/log/log_2008_10_14_12_21_13/SAPCONTROL_STOP_25_04.OUT

Oct 14, 2008 1:36:00 PM [Info]: Process ID 86 has been started.

Oct 14, 2008 1:36:00 PM [Info]: Waiting for process ID 86, name sapcontrol to finish.

Oct 14, 2008 1:36:00 PM [Info]: Process ID 86, name sapcontrol has been finished, exit code 1.

________________________________________________________________________________________

When I try to execute command :

/usr/sap/PID/DVEBMGS21/exe/sapcontrol -nr 25 -host devpidsap -user pidadm <password> -function Stop

The message is :

Stop

FAIL: Invalid Credentials

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

SAP Note 1287407 - Invalid credentials trying to stop the system addresses the issue.

Thanks,

Naveed

Former Member
0 Kudos

1.)

set

service/protectedwebmethods = NONE

in all instance profiles and restart all sapstartsrv processes to

activate the changes:

sapcontrol -nr <instance number> -function RestartService

SAP Note #927637.

2.)

set the permission of

/usr/sap/XP1/SYS/exe/uc/sun_64/sapuxuserchk

file similar to the permission in instance specific exe directories:

chown root:sapsys /usr/sap/XP1/SYS/exe/uc/sun_64/sapuxuserchk

chmod 4750 /usr/sap/XP1/SYS/exe/uc/sun_64/sapuxuserchk

SAP Note #927637.

We have Similar issue in PI 7.11 that JSPM didn't start getting

below error

SAPCONTROL_STOP_01_03.OUT

20.02.2011 17:10:44

Stop

FAIL: HTTP error, HTTP/1.1 401 Unauthorized <<<<<

Former Member
0 Kudos

Thanks Naveed. that sapnote resolved the same issue we had.

SAP Note 1287407 - Invalid credentials trying to stop the system addresses the issue.

Former Member
0 Kudos

Thank you Mehul, this fixed my issue by following your steps. This also works on systems that are not HA and experiencing a similar issue.