cancel
Showing results for 
Search instead for 
Did you mean: 

EHP1 Problem...Could not stop AS Java instance with name SCS and number....

Former Member
0 Kudos

Hi,

i'm in phase 6 of EHP1 ( SAP Netweaver 7.00 only BI - Windows + MS SQL Server), but there is a problem:

Could not stop AS Java instance with name SCS and number 03 of the standard system. Could not execute operating system process for action stop on instance 03. Process ID is 7, process name is stopsap.exe. Return code condition success evaluated to false for process stopsap.exe for action stop.

Someone any idea? Thanks for support....

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

So what's in your STOP_SCS_INITIAL_ADDIN_PSE_03.log

and have you searched OSS..

Mark

Former Member
0 Kudos

Hi, this is the log:<br><br>

<!--LOGHEADER[START]/-->
<!--HELP[Manual modification of the header may cause parsing problem!]/-->
<!--LOGGINGVERSION[2.0.7.1006]/-->
<!--NAME[E:\EHP1Inst\EHP1\EHPI\java\log\STOP_SCS_INITIAL_ADDIN_PSE_08.LOG]/-->
<!--PATTERN[STOP_SCS_INITIAL_ADDIN_PSE_08.LOG]/-->
<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/-->
<!--ENCODING[UTF8]/-->
<!--LOGHEADER[END]/-->
Dec 4, 2009 11:24:52 AM [Info]:                      com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:754) [Thread[main,5,main]]: Phase UPGRADE/DOWNTIME_START/STOP_SCS_INITIAL_ADDIN has been started.
Dec 4, 2009 11:24:52 AM [Info]:                      com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:755) [Thread[main,5,main]]: Phase type is com.sap.sdt.j2ee.phases.PhaseTypeControlEngine.
Dec 4, 2009 11:24:52 AM [Info]:                   com.sap.sdt.ucp.phases.AbstractPhaseType.logParameters(AbstractPhaseType.java:409) [Thread[main,5,main]]:   Parameter action=stop
Dec 4, 2009 11:24:52 AM [Info]:                   com.sap.sdt.ucp.phases.AbstractPhaseType.logParameters(AbstractPhaseType.java:409) [Thread[main,5,main]]:   Parameter instance=SCS
Dec 4, 2009 11:24:52 AM [Info]:                   com.sap.sdt.ucp.phases.AbstractPhaseType.logParameters(AbstractPhaseType.java:409) [Thread[main,5,main]]:   Parameter connect=standard
Dec 4, 2009 11:24:52 AM [Info]:      com.sap.sdt.j2ee.phases.PhaseTypeControlEngine.checkParameters(PhaseTypeControlEngine.java:482) [Thread[main,5,main]]: Phase parameters have been checked. All required 3 phase parameters have been set.
Dec 4, 2009 11:24:52 AM [Info]: com.sap.sdt.j2ee.tools.jprocesspiddetector.JProcessPidDetector.getJProcessPid(JProcessPidDetector.java:83) [Thread[main,5,main]]: Starting to detect the Jcontrol or JStart process ID for instance DVEBMGS02
Dec 4, 2009 11:24:53 AM [Info]: com.sap.sdt.j2ee.tools.jprocesspiddetector.JProcessPidDetector.getJProcessPid(JProcessPidDetector.java:90) [Thread[main,5,main]]: Checking file e:\usr\sap\NW1\DVEBMGS02\work\dev_jcontrol
Dec 4, 2009 11:24:53 AM [Info]: com.sap.sdt.j2ee.tools.jprocesspiddetector.JProcessPidDetector.processFile(JProcessPidDetector.java:154) [Thread[main,5,main]]: Looking in the specified file for line starting with pid         : 
Dec 4, 2009 11:24:53 AM [Info]: com.sap.sdt.j2ee.tools.jprocesspiddetector.JProcessPidDetector.processFile(JProcessPidDetector.java:160) [Thread[main,5,main]]: Jcontrol or JStart process ID successfully detected; its value is 2676
Dec 4, 2009 11:24:53 AM [Info]:       com.sap.sdt.j2ee.phases.PhaseTypeControlEngine.getJProcessPid(PhaseTypeControlEngine.java:947) [Thread[main,5,main]]: The JControl process ID for instance SCS has been detected.
Dec 4, 2009 11:24:53 AM [Info]:              com.sap.sdt.tools.proc.OsProcessController.logProcessInfo(OsProcessController.java:155) [Thread[main,5,main]]: Process ID 1, name stopsap.exe has been started.
Dec 4, 2009 11:24:53 AM [Info]:              com.sap.sdt.tools.proc.OsProcessController.logProcessInfo(OsProcessController.java:157) [Thread[main,5,main]]:   Command line: e:\usr\sap\NW1\SCS03\exe\stopsap.exe name=NW1 nr=03 SAPDIAHOST=W2K8-Server1
Dec 4, 2009 11:24:53 AM [Info]:              com.sap.sdt.tools.proc.OsProcessController.logProcessInfo(OsProcessController.java:158) [Thread[main,5,main]]:   Standard out: E:\EHP1Inst\EHP1\EHPI\java\log\STOPSAP.EXE_STOP_03_PSE_08.OUT
Dec 4, 2009 11:24:53 AM [Info]:                      com.sap.sdt.tools.proc.OsProcessController.launch(OsProcessController.java:142) [Thread[main,5,main]]: Process ID 1 has been started.
Dec 4, 2009 11:24:53 AM [Info]:                     com.sap.sdt.tools.proc.OsProcessController.waitFor(OsProcessController.java:198) [Thread[main,5,main]]: Waiting for process ID 1, name stopsap.exe to finish.
Dec 4, 2009 11:28:54 AM [Info]:                     com.sap.sdt.tools.proc.OsProcessController.waitFor(OsProcessController.java:231) [Thread[main,5,main]]: Process ID 1, name stopsap.exe has been finished, exit code -1.
Dec 4, 2009 11:28:54 AM [Error]:                       com.sap.sdt.ucp.phases.AbstractPhaseType.doExecute(AbstractPhaseType.java:863) [Thread[main,5,main]]: Exception has occurred during the execution of the phase.
Dec 4, 2009 11:28:54 AM [Error]:        com.sap.sdt.tools.procx.DefaultProcessAdapter.checkReturnCode(DefaultProcessAdapter.java:524) [Thread[main,5,main]]: Return code condition success evaluated to false for process stopsap.exe for action stop.
Dec 4, 2009 11:28:54 AM [Error]: com.sap.sdt.j2ee.tools.engine.AbstractEngineController.stopEngineE(AbstractEngineController.java:313) [Thread[main,5,main]]: Could not execute operating system process for action stop on instance 03. Process ID is 1, process name is stopsap.exe.
Dec 4, 2009 11:28:54 AM [Error]:        com.sap.sdt.j2ee.phases.PhaseTypeControlEngine.executeAction(PhaseTypeControlEngine.java:561) [Thread[main,5,main]]: Could not stop AS Java instance with name SCS and number 03 of the standard system.
Dec 4, 2009 11:28:54 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:906) [Thread[main,5,main]]: Phase UPGRADE/DOWNTIME_START/STOP_SCS_INITIAL_ADDIN has been completed.
Dec 4, 2009 11:28:54 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:907) [Thread[main,5,main]]: Start time: 2009/12/04 11:24:52.
Dec 4, 2009 11:28:54 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:909) [Thread[main,5,main]]: End time: 2009/12/04 11:28:54.
Dec 4, 2009 11:28:54 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:910) [Thread[main,5,main]]: Duration: 0:04:01.193.
Dec 4, 2009 11:28:54 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:911) [Thread[main,5,main]]: Phase status is error.

Former Member
0 Kudos

Hi,

now my normal instance (02) is missing inside the mmc, but the shadow instance (04) is back, could this correct ?

Best Regards, Marcel

Former Member
0 Kudos

Hi,

Could not execute operating system process

Have you OS resource problems ?

Mark

Former Member
0 Kudos

HI,

for example what? Less memory...

How i can send/provide screenshots (sapmmc etc) inside sdn?

Marcel

Former Member
0 Kudos

Here is the Trouble Ticket log:<br><br>

Trouble Ticket Report

Installation of enhancement package 1 for SAP NetWeaver 7.0

SID................: NW1

Hostname...........: w2k8-server1

Install directory..: e:/usr/sap/NW1

Upgrade directory..: E:\EHP1Inst\EHP1\EHPI\java

Database...........: Microsoft SQL Server

Operating System...: NT

JDK version........: 1.5.0_12 SAP AG

SAPJup version.....: 3.2.2

Source release.....: 700

Target release.....: 700

Start release SP...: $(/J2EE/StandardSystem/SPLevel)

Target release SP..: $(/J2EE/ShadowSystem/SPLevel)

Current usages.....: AS;EPC;AAS;AAS

ABAP stack present.: true

The execution of UPGRADE/DOWNTIME_START/STOP_SCS_INITIAL_ADDIN ended in error.

Could not stop AS Java instance with name SCS and number 03 of the standard system.

Could not execute operating system process for action stop on instance 03. Process ID is 1, process name is stopsap.exe.

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

More information can be found in the log file E:\EHP1Inst\EHP1\EHPI\java\log\STOP_SCS_INITIAL_ADDIN_PSE_08.LOG.

Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:

com.sap.sdt.j2ee.phases.PhaseTypeControlEngine

com.sap.sdt.ucp.phases.PhaseException

Could not stop AS Java instance with name SCS and number 03 of the standard system.

STOP_SCS_INITIAL_ADDIN

DOWNTIME_START

UPGRADE

NetWeaver Enhancement Package Installation

SAPJup

Java Enhancement Package Installation

Former Member
0 Kudos

Hi,

In your log :

Could not execute operating system process for action stop on instance 03. Process ID is 1, process name is stopsap.exe. Dec 4,

So my question is, is the OS got the resources to run the stopsap.exe ?

What are you system resources at the time....And OS config

Mark

Former Member
0 Kudos

Hi Marcel,

Found this in an OSS note for SAPJup, although not the same phase but similar message.

SAPJup fails to stop AS Java

In the phase STOP_SCS_FINAL, SAPJup may fail to stop AS Java and report the following error in the phase log:

Could not execute operating system process for action stop on instance "number". Process ID is "xx", process name is stopsap.exe.

Could not stop J2EE Engine instance with name SCS and number "number" of the standard system.

If this error occurs, repeat the phase.

Have you tried repeat ?

Mark

Former Member
0 Kudos

Yes, about 6 times....

I can stop and start the Instance 3 manually without problems.

Marcel

Former Member
0 Kudos

OK,

What happens if you leave it shutdown and then run the repeat ?

Mark

Former Member
0 Kudos

Didn't change:

Could not stop AS Java instance with name SCS and number 03 of the standard system. Could not execute operating system process for action stop on instance 03. Process ID is 5, process name is stopsap.exe. Return code condition success evaluated to false for process stopsap.exe for action stop.

Former Member
0 Kudos

Hi,

so does anything else stand out out in the logs ?

Are you also running the latest kernel for the upgrade ?

Mark

Former Member
0 Kudos

HI,

lastet Kernel is patched.

No other information.

I will findout why the Instance 03 doenst reachable fpr the installer tool...

Thanks.

sunny_pahuja2
Active Contributor
0 Kudos

Hi Marcel,

I will suggest you the stop the upgrade. Stop all processes on OS and use cleanipc command to free all shared memory and Then start upgrade again and continue with repeat the same phase.

Thanks

Sunny

Former Member
0 Kudos

Its Windows...how i make this in Windows ?

Thanks.

Former Member
0 Kudos

Hi,

i think it is something with user-rights.

I can stop the Instance using the sapmmc, but from command line the stopsap.log:

SAPSRVKILL failed on W2K8-Server1_NW1_03: -2146959355

Cannot connect to DCOM Interface of Start Service: -2146959355

sapntwaitforhalt.exe=>sapparam(1c): No Profile used.

running sapsrvkill.exe W2K8-Server1_NW1_03

running sapntwaitforhalt.exe name=NW1 nr=03 SAPDIAHOST=W2K8-Server1 3600

Any ideas?

Former Member
0 Kudos

Hi,

Try killing it by shutting down the service.

What is is your sap service user ?

Mark

Former Member
0 Kudos

I make this updgrade with the "nw1adm" user.

But, why i can make start/stop the server by the sapmmc and not with the command line?

Greetings, Marcel

Former Member
0 Kudos

Because I believe the command line problem is to do with the service user.

Check the user and then check it's uthorization groups....

Let me know how you get on..

Mark

Former Member
0 Kudos

I think I've found the matching note:

Note 927637 - Web service authentication in sapstartsrv as of Release 7.00

So, now i check to do this.

Marcel

Former Member
0 Kudos

Hi Mark,

now i know the issue.

When i use sapcontrol.exe with -prot PIPE (WIndows) i can start and stop from command line.

SO i need to get this for simple sapstart.exe and stopsap.exe, too.

Any suggestions ?

Best Regards.

Former Member
0 Kudos

Hello Marcel Below,

I am facing the same error . I have Unix OS.

Any idea how you solved the problem

Regards

Anthony