Sosreport Failed with Error "local variable 'flog' referenced before assignment"

(Doc ID 2307704.1)

Last updated on SEPTEMBER 19, 2017

Applies to:

Oracle VM - Version 3.2.1 to 3.2.11 [Release OVM32]
Linux OS - Version Oracle Linux 5.0 to Oracle Linux 5.9 [Release OL5 to OL5U9]
Linux x86-64
Linux x86

Symptoms

sosreport shows error messages like below:

# /usr/sbin/sosreport -o auditd --batch > /dev/null
sosreport (version 1.7)
could not setup plugin auditd
<type 'instance'>: ("local variable 'flog' referenced before assignment",)

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms