Translated message

A translation of this page exists in English.

sosreport が /var/log/messages* ファイルを収集できないのはなぜですか?

Solution Verified - Updated -

Issue

  • sosreport が作成した tarball を解凍し、/var/log/messages ファイルを確認した後、ソフトリンクの対象となるファイルが空 (0 サイズ) になります。
$ ls -gG sosreport-hostname.example.com.1638092-20160520212735/var/log/
total 176
drwxr-xr-x.2  4096 May 19 14:56 anaconda
drwxr-x---.2    22 May 19 14:56 audit
-rw-r--r--.1 12632 May 19 19:26 boot.log
-rw-------.1 33489 May 20 21:27 cron
-rw-r--r--.1 43544 May 19 19:26 dmesg
drwx------.2    39 May 19 16:04 httpd
lrwxrwxrwx.1    46 May 20 21:28 messages -> ../../sos_strings/logs/var.log.messages.tailed
[...]
$ ls -gG sosreport-hostname.example.com.1638092-20160520212735/sos_strings/logs/
total 0
-rw-r--r--.1 0 May 20 21:27 var.log.messages.tailed
              ^

Environment

  • Red Hat Enterprise Linux 7.
  • sos バージョン 3.2-*

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