Technical Articles
SUM stops in phase “MAIN_DTTRANSSHD/STOPSAP_DTTRANS” in STOPSAP
Purpose:
While performing upgrade using SUM tool the upgrade is stopped in phase “MAIN_DTTRANSSHD/STOPSAP_DTTRANS. The main error that we will discuss in this blog is about ” The user name or password is incorrect”
Troubleshooting
To troubleshoot the issue I checkin in SAPUp.ECO , stopsap.log , phases.log to identify the issue.
>>> stopsap.log :
SAPSRVKILL failed on sap<hostname><SID><Instance Number>: The user name or password is incorrect., CreateFile failed in plugin_pipefopen()
Error occured when waiting for halt on sap<hostname><<SID>><Instance Number>.
D:\usr\sap\<<SID>>\DVEBMGSXX\exe\sapntwaitforhalt.exe=>sapparam(1c): No Profile used.
running D:\usr\sap\<<SID>>\DVEBMGS00\exe\sapsrvkill.exe sap<hostname><<SID>><Instance Number>
running D:\usr\sap\<<SID>>\DVEBMGS00\exe\sapntwaitforhalt.exe name=<<SID>> nr=XX SAPDIAHOST=sap<SID> 36XX
>>> SAPup.ECO
### Phase MAIN_DTTRANSSHD/STOPSAP_DTTRANS:
SAPup> Starting subprocess in phase ‘STOPSAP_DTTRANS’ at <time>
ENV: DBMS_TYPE=ada
ENV: PATH=D:\usr\sap\<<SID>>\DVEBMGS00\exe;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\usr\sap\<<SID>>\SYS\exe\uc\NTAMD64;D:\sapdb\clients\<<SID>>\bin;D:\sapdb\clients\<<SID>>\pgm;D:\sapdb\programs\bin;D:\usr\sap\<<SID>>\SUM\abap\bin
ENV: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
ENV: RSEC_SSFS_DATAPATH=\\**\sapmnt\<<SID>>\SYS\global\security\rsecssfs\data
ENV: RSEC_SSFS_KEYPATH=\\**\sapmnt\<<SID>>\SYS\global\security\rsecssfs\key
ENV: SAPSYSTEMNAME=<<SID>>
*DBENV: dbs_ada_schema=SAP<<SID>>
ENV: rsdb_ssfs_connect=0
*DBENV: (auth_shadow_upgrade)
PWD: D:\usr\sap\<<SID>>\SUM\abap\tmp
EXECUTING D:\usr\sap\<<SID>>\DVEBMGS00\exe\stopsap.exe “name=<<SID>>” “nr=XX” “SAPDIAHOST=sap<SID>”
STOPSAP: execution of D:\usr\sap\<<SID>>\DVEBMGS00\exe\sapntwaitforhalt.exe name=<<SID>> nr=XX SAPDIAHOST=sap<SID> 36XX failed
Details are written to D:\usr\sap\<<SID>>\SUM\abap\tmp\stopsap.log
SAPup> Process with PID <> terminated with status -1 at time!
>>> Phases.log
1 ETQ201 Entering upgrade-phase “MAIN_DTTRANSSHD/STOPSAP_DTTRANS” (“time”)
2 ETQ367 Connect variables are set for standard instance access
4 ETQ399 System-nr = ‘XX’, GwService = ‘sapgwXX’ Client = ‘000’
4 ETQ399 Environment variables:
4 ETQ399 dbs_ada_schema=SAP<<SID>>
1 ETQ200 Executing actual phase ‘MAIN_DTTRANSSHD/STOPSAP_DTTRANS’.
1 ETQ399 Phase arguments:
2 ETQ399 Arg[0] = ‘LOCK;DIAG;CENTRAL’
3 ETQ120 time: PID <> execute ‘D:\usr\sap\<<SID>>\DVEBMGS00\exe\tp “pf=~\var\DEFAULT.TPP” lock_eu <<SID>>’, output written to ‘D:\usr\sap\<<SID>>\SUM\abap\log\TP.ECO’.
3 ETQ123 <time>: PID <> exited with status 0 (time 0.00 real)
3 ETQ120 <time>: PID <> execute ‘D:\usr\sap\<<SID>>\DVEBMGSXX\exe\tp “pf=~\var\DEFAULT.TPP” locksys <<SID>>’, output written to ‘D:\usr\sap\<<SID>>\SUM\abap\log\TP.ECO’.
3 ETQ123 <time>: PID <> exited with status 0 (time 0.00 real)
1 ETQ399 SYSTEM MANAGER: Instance list contains type: CI_YES.
1 ETQ399 SYSTEM MANAGER: instance found.
1 ETQ399 SYSTEM MANAGER: Instance list contains type: CI_NO|ASCS.
1 ETQ399 SYSTEM MANAGER: Instance list contains type: CI_YES.
1 ETQ399 SYSTEM MANAGER: instance found.
1 ETQ399 SYSTEM MANAGER: Instance list contains type: CI_NO|ASCS.
1 ETQ399 SYSTEM MANAGER: Calling getInstances.
1 ETQ399 SYSTEM MANAGER: Instance list contains type: CI_YES.
1 ETQ399 SYSTEM MANAGER: instance found.
1 ETQ399 SYSTEM MANAGER: Instance list contains type: CI_NO|ASCS.
1 ETQ399 SYSTEM MANAGER: STOPSAP on Windows.
1 ETQ399 SYSTEM MANAGER: STOPSAP without sapcontrol.
1 ETQ399 SYSTEM MANAGER: STOPSAP in mainclass.
3 ETQ120 <time>: PID <> execute ‘D:\usr\sap\<<SID>>\DVEBMGS00\exe\stopsap.exe “name=<<SID>>” “nr=00” “SAPDIAHOST=sap<SID>”‘, output written to ‘D:\usr\sap\<<SID>>\SUM\abap\log\SAPup.ECO’.
3WETQ123 time: PID <> exited with status -1 (time 0.00 real)
1EETQ399 SYSTEM MANAGER: Error during classic platformdependant stopr3.
1EETQ399 Last error code set is: Process D:\usr\sap\<<SID>>\DVEBMGS00\exe/stopsap.exe exited with -1, see
1EETQ399X’D:\usr\sap\<<SID>>\SUM\abap\log\SAPup.ECO’ for details
1EETQ204 Upgrade phase “STOPSAP_DTTRANS” aborted with severe errors (“time”)
Next Steps
The problem can occur if it is using virtual and physical hostname. I could see that with physical hostname I am able to manually stop the system by calling the command :
\usr\sap\<<SID>>\DVEBMGSXX\exe\stopsap.exe “name=<<SID>>” “nr=XX” “SAPDIAHOST=sap<SID>”
But when I am running this with virtual hostname it fails.
To get over with this issue and move ahead with the upgrade I added the virtual hostname in the registry key :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\OptionalNames with the value of virtual hostname.
With this I was able to move forward with the upgrade.
I found this SAP note helpful while looking for ways to resolve the issue.
SAP note #1282975 – Use of virtual TCP/IP host names in Windows
Let me know in case any queries.
Kind regards,
Manjunath Hanmantgad