My Oracle Support Banner

Oracle Linux: Commands Fails with Error "/usr/libexec/platform-python: bad interpreter: No such file or directory" (Doc ID 2934279.1)

Last updated on JULY 31, 2023

Applies to:

Linux OS - Version Oracle Linux 7.0 with Unbreakable Enterprise Kernel [3.8.13] to Oracle Linux 7.9 with Unbreakable Enterprise Kernel [5.4.17] [Release OL7 to OL7U9]
Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Linux x86-64

Symptoms

OS commands such as sosreport and yum failed with the below error. Any tool which tries to use python2.7 will fail.

 

Changes

Automation or accidental removal of /usr/libexec/platform-python

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.