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'
or
Info: Retrieve version info: sh: which: line 1: syntax error: unexpected end of file
Info: Retrieve version info: sh: error importing function definition for `which'
Info: Retrieve version info: /bin/sh: which: line 1: syntax error: unexpected end of file
Info: Retrieve version info: /bin/sh: error importing function definition for `which'
Read more...
Environment
- Red Hat Enterprise Linux 8
- bash shell
- SAP Host Agent
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.