SAP Knowledge Base Article - Preview

3284764 - Error in Host Agent traces - Error importing function definition for module

Symptom

The dev_saphostexec or dev_sapdbctrl file contains errors such as:

[Thr 140239695652736] *** ERROR => Invalid env value 'case "$-" in'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value '*v*x*)'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'set +vx;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value ';;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value '*v*)'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'set +v;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value ';;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value '*x*)'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'set +x;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value ';;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value '*)'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value ';;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'esac;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'fi;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'unset _mlre _mlIFS;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'if [ -n "${IFS+x}" ]; then'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'fi;'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'for _mlv in ${MODULES_RUN_QUARANTINE:-};'  [HostServiceI 1529]
[Thr 140239695652736] *** ERROR => Invalid env value 'do'  [HostServiceI 1529]

or

sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
sh: switchml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `switchml'
sh: scl: line 1: syntax error: unexpected end of file
sh: error importing function definition for `scl'
sh: ml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `ml'


Read more...

Environment

Red Hat Enterprise Linux 8

Keywords

RHEL, Host agent, dev_sapdbctrl, dev_saphostexec, error importing function definition , KBA , BC-OP-LNX-RH , Red Hat Linux , BC-CCM-HAG , Host Agent , 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.