sosreport が /var/log/messages* ファイルを収集できないのはなぜですか?
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
