cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade failing in STOP_SCS_INITIAL phase

Former Member
0 Kudos

Hello All,

We are upgrading from XI 3.0 ( NW2004) to PI 7.1 and the upgrade is

failing in the phase STOP_SCS_INITIAL.

During the Java stack upgrade we are getting error message "An error has

occurred during phase STOP_SCS_INITIAL." The upgrade is unable to

proceed both on the Java stack as well as on the ABAP stack until this

error is cleared. I am also unable to find any notes on the matter

The execution of UPGRADE/UPGRADE/STOP_SCS_INITIAL ended in error.

Could not stop J2EE Engine instance with name SCS and number 01 of the

standard system.

!!!!!!!!! anyone faced similar issue please help !!!!!!!!!!!!!!

Thanks & Regards,

Sumanth

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

We had a similar issue while upgrading our BI (NW 7.0) to ehp1 SP5. We had our ABAP instance shutdown and only the message server and enque server running in the SCS instance which could not be stopped by ehpi. Manually stopped from MMC and ehpi started continuing from the point of failure..without any further issues...

Former Member
0 Kudos

Hi,

My major concern is dont play with system with out having proper knowledge.

Because while doing upgrade u need not to stop the SAP system manually, it has to be run. you can chek this details in upgrade guide. the SAP System will be stopped by upgrade itself prior to Downtime_Begin phase.I can understand you are facing the issues with SCS instances stoping but for that you have to check the proper reason, then you have to try stoping manually.

1) How you started the Prepare for the ABAP and As well for the Java.

Can you post the logs from the JUpgrade directory. which sits in /usr/sap/Jupgrade/logs.

Experts please correct me if i am wrong.

-Srini

Former Member
0 Kudos

Hi All,

Thanks for your support

I had solved the problem

Upgrade completed

Regards,

Sumanth

Former Member
0 Kudos

Hi sumanth,

How did u resolve

Former Member
0 Kudos

Please tell us, how do you fix it, thanks!

Best Regards.

Former Member
0 Kudos

Hello Sachin,

we had rebooted the system, but still it is showing the same error when we are continuing with the upgrade

Sumanth

sunny_pahuja2
Active Contributor
0 Kudos

When you rebooted the system, that time SCS must be stopped..Then you have to continue the upgrade without starting it....

Have you restarted the system ?....If not then please check upgrade logs in deeper because it looks like problem is not with Stopping of SCS instance ... Could you please paste more logs from upgrade directory ?

Thanks sunny

Former Member
0 Kudos

We had tried manually also, but no luck

Here are the logs

1) STOP_SCS_INITIAL_PSM_06.LOG:_

<!LOGHEADER[START]/>

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

<!LOGGINGVERSION[1.5.7.1006]/>

<!NAME[/usr/sap/CXD/upg/java/log/STOP_SCS_INITIAL_PSM_06.LOG]/>

<!PATTERN[STOP_SCS_INITIAL_PSM_06.LOG]/>

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

<!ENCODING[UTF8]/>

<!LOGHEADER[END]/>

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.initializexAbstractPhaseType.javax758x [Thread[main,5,main]]: Phase UPGRADE/UPGRADE/STOP_SCS_INITIAL has been started.

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.initializexAbstractPhaseType.javax759x [Thread[main,5,main]]: Phase type is com.sap.sdt.j2ee.phases.PhaseTypeControlEngine.

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.logParametersxAbstractPhaseType.javax413x [Thread[main,5,main]]: Parameter action=stop

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.logParametersxAbstractPhaseType.javax413x [Thread[main,5,main]]: Parameter instance=SCS

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.logParametersxAbstractPhaseType.javax413x [Thread[main,5,main]]: Parameter connect=standard

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.j2ee.phases.PhaseTypeControlEngine.checkParametersxPhaseTypeControlEngine.javax470x [Thread[main,5,main]]: Phase parameters have been checked. All required 3 phase parameters have been set.

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.tools.proc.OsProcessController.logProcessInfoxOsProcessController.javax156x [Thread[main,5,main]]: Process ID 1, name sh has been started.

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.tools.proc.OsProcessController.logProcessInfoxOsProcessController.javax158x [Thread[main,5,main]]: Command line: /bin/sh /usr/sap/CXD/SCS01/work/shutdown.sap

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.tools.proc.OsProcessController.logProcessInfoxOsProcessController.javax159x [Thread[main,5,main]]: Standard out: /usr/sap/CXD/upg/java/log/SH_STOP_01_PSM_01.OUT

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.tools.proc.OsProcessController.launchxOsProcessController.javax143x [Thread[main,5,main]]: Process ID 1 has been started.

May 30, 2009 10:38:42 AM [Info]: com.sap.sdt.tools.proc.OsProcessController.waitForxOsProcessController.javax199x [Thread[main,5,main]]: Waiting for process ID 1, name sh to finish.

May 30, 2009 10:38:43 AM [Info]: com.sap.sdt.tools.proc.OsProcessController.waitForxOsProcessController.javax232x [Thread[main,5,main]]: Process ID 1, name sh has been finished, exit code 127.

May 30, 2009 10:38:43 AM [Error]: com.sap.sdt.ucp.phases.AbstractPhaseType.doExecutexAbstractPhaseType.javax862x [Thread[main,5,main]]: Exception has occurred during the execution of the phase.

May 30, 2009 10:38:43 AM [Error]: com.sap.sdt.tools.procx.DefaultProcessAdapter.checkReturnCodexDefaultProcessAdapter.javax513x [Thread[main,5,main]]: Return code condition success evaluated to false for process sh for action stop.

May 30, 2009 10:38:43 AM [Error]: ...sap.sdt.j2ee.tools.engine.AbstractEngineController.stopEngineExAbstractEngineController.javax310x [Thread[main,5,main]]: Could not execute operating system process for action stop on instance 01. Process ID is 1, process name is sh.

May 30, 2009 10:38:43 AM [Error]: com.sap.sdt.j2ee.phases.PhaseTypeControlEngine.executeActionxPhaseTypeControlEngine.javax556x [Thread[main,5,main]]: Could not stop AS Java instance with name SCS and number 01 of the standard system.

May 30, 2009 10:38:43 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanupxAbstractPhaseType.javax905x [Thread[main,5,main]]: Phase UPGRADE/UPGRADE/STOP_SCS_INITIAL has been completed.

May 30, 2009 10:38:43 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanupxAbstractPhaseType.javax906x [Thread[main,5,main]]: Start time: 2009/05/30 10:38:42.

May 30, 2009 10:38:43 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanupxAbstractPhaseType.javax908x [Thread[main,5,main]]: End time: 2009/05/30 10:38:43.

May 30, 2009 10:38:43 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanupxAbstractPhaseType.javax909x [Thread[main,5,main]]: Duration: 0:00:01.500.

May 30, 2009 10:38:43 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanupxAbstractPhaseType.javax910x [Thread[main,5,main]]: Phase status is error.

2)SH_STOP_01_PSM_06.TXT

/usr/sap/CXD/SCS01/work/shutdown.sap: ^X: not found.

3)Trouble Ticket Report

Upgrade to SAP NetWeaver PI 7.1

SID................: CXD

Hostname...........: sapux106

Install directory..: /usr/sap/CXD

Upgrade directory..: /usr/sap/CXD/upg/java

Database...........: Oracle

Operating System...: UNIX

JDK version........: 1.5.0_10 SAP AG

SAPJup version.....: 2.0.97

Source release.....: 630

Target release.....: 710

Current usages.....: AS;PI;AAS

ABAP stack present.: true

The execution of UPGRADE/UPGRADE/STOP_SCS_INITIAL ended in error.

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

Could not execute operating system process for action stop on instance 01. Process ID is 1, process name is sh.

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

More information can be found in the log file /usr/sap/CXD/upg/java/log/STOP_SCS_INITIAL_PSM_06.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 01 of the standard system.

STOP_SCS_INITIAL

UPGRADE

NetWeaver Upgrade

SAPJup

Java Upgrade

Regards,

Sumanth

sunny_pahuja2
Active Contributor
0 Kudos

Is your SAP systems is up ? If yes, then please try to stop via SMICM and Go to J2ee Instance (Local) --> Send Hard Shutdown -> give hard shutdown without restart.

Sometimes it happens that it not able to free up some processes which are in hang status.

if still not possible could you please check and paste logs in work directoy of SCS instance ...

thanks sunny

sunny_pahuja2
Active Contributor
0 Kudos

Have you tried to STOP your SCS instance manually ? and then continued with your upgrade..

if you will get this error again then please paste last two log files of the upgrade...

thanks sunny