SAP Knowledge Base Article - Preview

3159542 - Linux: ifconfig error in Java default trace of server with SLES 15

Symptom

You notice following ifconfig error in Java default trace of the server.

##2022 02 22 22:22:22:217#+0100#Error#System.err#
###C0000A18584100000000000000005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
Exception : Cannot run /sbin/ifconfig - execve failed (ENOENT - No such file or directory)#

##2022 02 22 22:22:22:221#+0100#Error#System.err#
###C0000A18584100000000000100005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
*************************************************************#

##2022 02 22 22:22:22:221#+0100#Error#System.err#
###C0000A18584100000000000300005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
** getMacAddress() failed                                  **#

##2022 02 22 22:22:22:222#+0100#Error#System.err#
###C0000A18584100000000000500005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
** failed to get mac address with Runtime.getRuntime().exec( /sbin/ifconfig )#

##2022 02 22 22:22:22:222#+0100#Error#System.err#
###C0000A18584100000000000600005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
**                                                         **#

##2022 02 22 22:22:22:222#+0100#Error#System.err#
###C0000A18584100000000000700005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
*************************************************************#

##2022 02 22 22:22:22:223#+0100#Error#System.err#
###C0000A18584100000000000800005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
java.text.ParseException: cannot read MAC address for 10.22.88.66 from [] using /sbin/ifconfig#

##2022 02 22 22:22:22:223#+0100#Error#System.err#
###C0000A18584100000000000900005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
 at com.sap.bc.krn.perf.PerfTimes.linuxParseMacAddress(PerfTimes.java:999)#

##2022 02 22 22:22:22:223#+0100#Error#System.err#
###C0000A18584100000000000A00005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
 at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:310)#

<snipped>

##2022 02 22 22:22:22:226#+0100#Error#System.err#
###C0000A18584100000000001C00005789###System.err#####dae5eb7c68c111eccf0d000000000000###SAP J2EE Engine|MS Queue Listener#Plain##
** trying a 2nd attempt with ifconfig#


Read more...

Environment

  • NetWeaver AS Java
  • SUSE Linux Enterprise Server 15 (SLES 15) or SUSE Linux Enterprise Server for SAP Applications 15 (SLES for SAP 15).

Keywords

ifconfig, /sbin/ifconfig, ENOENT, getMacAddress, linuxParseMacAddress, PerfTimes , KBA , BC-OP-LNX-SUSE , SUSE Linux , BC-CST-ST , Kernel Statistics , Known Error

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.