SAP Knowledge Base Article - Preview

1972214 - Error during Upgrade: ABAP batch job fails with error "Log writer aborted with RC 1"

Symptom

  • While performing an upgrade using the Software Update Manager (SUM) an error occurs in a phase where an ABAP background job is run.
  • The SUM GUI displays one of the following errors:
    • Checks after phase <PHASE NAME> were negative! Last error code set: No new lines found in logfiles.
    • Batchjob <JOB NAME> with id <ID NUMBER> is aborted
  • The message in the log is similar to:
    1EETQ235 Call of function module "SUBST_LIST_SYS_LOGS" by RFC failed (error-status "5")
    2EETQ360 RFC of "SUBST_LIST_SYS_LOGS" failed:
    2EETQ361 code/exception  : 5
    2EETQ362 key             : COULD_NOT_OPEN_FILE
    2EETQ399  Number:000
    4 ETQ010 Date & Time: 20130811085801
    2WETQ399 Ignore error message 'RFC error system <SID>nr 80 function 'SUBST_LIST_SYS_LOGS' failed with code 5 key COULD_NOT_OPEN_FILE:  Number:000'.
    2EETQ262 Batchjob "ENHUPGPHASE" aborted
    1EETQ399 Last error code set is 'Batchjob 'ENHUPGPHASE' with id '08580000' aborted'
    1EETQ204 Upgrade phase "RUN_ENHUPGPHASE" aborted with severe errors ("20130811085801")
  • In transaction SM37, the job log shows the following:
    "Log writer aborted with RC 1"
    or
    "Log writer canceled with RC 1"
  • SAPupConsole.log can contain log as:
         Severe error(s) occurred in phase PREP_CONFIGURATION/LANG_SELECT!
         Last error code set:
RFC system <SID> nr <Instance No> function 'SUGM_EVAL_LANG_PACKS'
RFC failed with code 4 key Log writer canceled with RC 1:
Log writer canceled with RC 1
  • Such error can happen in various upgrade phases like:
    • PREP_EXTENSION/JOB_RSUPGINIT
    • MAIN_INIT/BATCHCHK
    • MAIN_POSTP/RUN_ENHUPGPHASE
    • RUN_RSUPGREV_ICNV
    • JOB_RSISUDROP_INDEXES
    • MAIN_SHDIMP/RUN_RSCPINTS_PUTTBREST
    • At resetting the upgrade
    • PREP_SETUP/RUN_RSCPINTS_INITPUTTB
    • MAIN_SHDRUN/RUN_VIEWDEPS_REDUCE
    • PREP_CONFIGURATION/LANG_SELECT
    • PREP_CONFIGURATION/BATCHCHK_IMP


Read more...

Environment

 SAP ABAP systems

Keywords

Postprocessing NetWeaver 7.4 NW broke upgrading RSUPGJOB CL_UPG_LOGGER=================CP MESSAGE_TYPE_X "Error writing to file", VIEWDEP_REDUCE.LOG, RUN_VIEWDEPS_REDUCE, MAIN_SHDRUN/RUN_VIEWDEPS_REDUCE, SUGM_EVAL_LANG_PACKS, DIR_PUT, Log writer aborted with RC 1, Log writer canceled with RC 1,  COULD_NOT_OPEN_FILE, PREP_EXTENSION/JOB_RSUPGINIT, MAIN_INIT/BATCHCHK, MAIN_POSTP/RUN_ENHUPGPHASE, RUN_RSUPGREV_ICNV, JOB_RSISUDROP_INDEXES, MAIN_SHDIMP/RUN_RSCPINTS_PUTTBREST, RESET Upgrade,PREP_SETUP/RUN_RSCPINTS_INITPUTTB, PREP_CONFIGURATION/LANG_SELECT, SUBST_LIST_SYS_LOGS, ENHUPGPHASE, Number:000, RFC error, RUN_ENHUPGPHASE, Message no. TG154, Termination of upgrade phase BATCHCHK , 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 for Me (Login required).

Search for additional results

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