sosreport fails with EOFError

Solution Verified - Updated -

Issue

  • A third party monitoring software will run sosreport when the problem is detected.
  • The sosreport executed by the third party software throws an EOFError.

    Please enter the case id that you are generating this report for []: Traceback (most recent call last):
    File "/sbin/sosreport", line 19, in <module>
      main(sys.argv[1:])
    File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1384, in main
      sos.execute()
    File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1356, in execute
      self.prework()
    File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 877, in prework
      self.policy.pre_work()
    File "/usr/lib/python2.7/site-packages/sos/policies/__init__.py", line 890, in pre_work
      "report for [%s]: ") % caseid)
    EOFError
    

Environment

  • Red Hat Enterprise Linux 7
  • sos

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content