SAP Knowledge Base Article - Preview

2725568 - Error: The command 'disp+work' from tool 'disp+work' could not be executed

Symptom

Severe error(s) occurred in phase MOD_SELROADMAP/TOOLVERSXML_KERNELPARAMS_ROADMAP!

Last error code set:
Error: The command 'disp+work' from tool 'disp+work' could not be executed
successfully

In TOOLVERS.LOG, you would see more information like belows:

1 ETQ201 Entering upgrade-phase "MOD_SELROADMAP/TOOLVERSXML_KERNELPARAMS_ROADMAP" ("20181127080634")
4 ETQ380 computing toolpath for request "TP_DEFAULT"
4WETQ399 Cannot find 'tp' in current path!
2 ETQ367 Connect variables are set for standard instance access
4 ETQ399 System-nr = '', GwService = 'sapgw' Client = '000'
1 ETQ200 Executing actual phase 'MOD_SELROADMAP/TOOLVERSXML_KERNELPARAMS_ROADMAP'.
1 ETQ399 Phase arguments:
2 ETQ399 Arg[ToolVersXML] = 'ToolVers.xml'
2 ETQ399 Arg[TypesList]   = 'CUR'
2 ETQ399 Arg[ToolFilter]  = 'disp+work'
2 ETQ399 Arg[Options]     = 'SETKERNELPARAMS'
1 ETQ399 Using a tool filter disp+work...
1 ETQ399 Determining some tool versions from current path...
1 ETQ399 Executing the command 'disp+work' for the 'non-ignorable' tool 'disp+work' in cur-path '(null)'
1 ETQ399 Output of 'disp+work' to be found in 'disp+work_cur.out'
1EETQ399 Error: Non-ignorable executable 'disp+work' in dir '<current tool path>' does not exist - missing!
1EETQ399 Last error code set is: Error: The command 'disp+work' from tool 'disp+work' could not be executed
1EETQ399Xsuccessfully
1EETQ204 Upgrade phase "TOOLVERSXML_KERNELPARAMS_ROADMAP" aborted with severe errors ("20181127080634")

 
Command "disp+work -v" works fine when executed with <SID>adm user.

In ENVDUMP.LOG, the loaded PATH environment is not containing appropriate Information.

  HOME=/home/<SID>adm
  LD_LIBRARY_PATH=
  LOGNAME=<SID>adm
  PATH=/bin:/usr/bin
  PWD=/nmb/usr/sap/<SID>/SUM/abap
  SHELL=/bin/csh
  SHLVL=0
  USER=<SID>adm
  SAPSYSTEMNAME=<SID>

When testing by running follow command with root user, the following error occurred.

/usr/sap/hostctrl/exe/saphostexec -userenv <SID>adm

check Environement for user <SID>adm (su vs. shell based):
[Child] Executing '/bin/su - <SID>adm -c echo SAPHOSTAGENT-START;env;echo SAPHOSTAGENT-END
Loading environement via su ... DONE

[Thr 139816412972864] Wed Nov 28 00:58:12 2018
[Thr 139816412972864] *** ERROR => Failed to execute /usr/sap/hostctrl/exe/sapuxusergetrtinfo
 (2: No such file or directory) [OsUtilux.cpp 2888]
Loading environement via login shell ... FAILED

 


Read more...

Environment

- SUM 2.0

- Linux

Product

SAP NetWeaver Application Server for ABAP all versions

Keywords

disp+work, PATH, MOD_SELROADMAP, TOOLVERSXML_KERNELPARAMS_ROADMAP, SUM, sapuxusergetrtinfo , KBA , BC-UPG-TLS-TLA , Upgrade tools for ABAP , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.