SAP Knowledge Base Article - Preview

3680601 - DB13 backup job fails on error "/bin/sh: which: line 1: syntax error: unexpected end of file" and "/bin/sh: error importing function definition for `which'"

Symptom

After RHEL OS upgrade or patch to RHEL8, SAP transaction DB13 job fails. From BR* Tools log, the following lines were found:

/bin/sh: which: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `which'

BR*Tools job fails due to those errors.


Read more...

Environment

Oracle DB standalone server on RHEL8.

Keywords

/bin/sh: which: line 1: syntax error: unexpected end of file, /bin/sh: error importing function definition for `which', brtools, BRBACKUP , KBA , BC-DB-ORA-DBA , Database Administration , BC-OP-LNX-RH , Red Hat Linux , 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.