SAP Knowledge Base Article - Preview

3677918 - Warning from OS syslog "grep: warning: stray \ before =" after SLES 15 SP7 patch application

Symptom

After SLES 15 patch application, sp7 onwards, (but not limited to), /var/log/messages prompts weird warning message related to sapinit process like: 

2025-10-03T07:32:10.731890+08:00 <hostname> sapinit[1452]: grep: warning: stray \ before =
2025-10-03T07:32:10.731949+08:00 <hostname> sapinit[1452]: message repeated 2 times: [ grep: warning: stray \ before =]
2025-10-03T07:32:10.746485+08:00 <hostname> sapinit[3473]: grep: warning: stray \ before =
2025-10-03T07:32:10.746536+08:00 <hostname> sapinit[3473]: message repeated 2 times: [ grep: warning: stray \ before =]
2025-10-03T07:32:10.756375+08:00 <hostname> sapinit[2472]: grep: warning: stray \ before =
2025-10-03T07:32:10.756421+08:00 <hostname> sapinit[2472]: message repeated 2 times: [ grep: warning: stray \ before =]


Read more...

Environment

SAP on SLES 15 SP7

Product

SAP ERP all versions ; SAP HANA, enterprise edition all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

sapinit, grep, GNU, stray \ before , KBA , BC-OP-LNX-SUSE , SUSE Linux , BC-OP-LNX , 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.