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 ZZZ 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"
  • 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


Read more...

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 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 ONE Support launchpad (Login required).

Search for additional results

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