Translated message

A translation of this page exists in English.

RHEL7: sosreport の収集は IOError で失敗しました。[Errno 2] そのようなファイルまたはディレクトリがありません: '/var/tmp/xxx.tar.xz'.

Solution Verified - Updated -

Issue

sosreport コマンドがログとともに失敗する。

圧縮アーカイブの作成...
トレースバック (最も最近の呼び出し):
  File "/sbin/sosreport", line 25, in <module>
    main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1637, in main
    sos.execute()
  File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1616, in execute
    return self.Final_work() 、finishedwork.pyを実行します。final_work()
  File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1529, in final_work
    checksum = self._create_checksum(archive, hash_name)
  File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1467, in _create_checksum
    archive_fp = open(archive, 'rb')
IOError:[Errno 2] No such file or directory: '/var/tmp/sos.SKPcFL/sosreport-unicymdctr0001.localdomain-20181004144559.tar.xz'.

Environment

  • Red Hat Enterprise Linux 7
  • sos-3.4-6.el7より前のバージョン
  • Red Hat OpenStack Platform

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