When I use the SSH method to transfer a kdump vmcore, the resultant vmcore.flat file is unreadable by crash. What am I doing wrong and how can I fix this?
문제
A kdump core file vmcore.flat
was captured via the SSH capture method. The core file cannot be read by the Crash analysis tool.
환경
- Red Hat Enterprise Linux (RHEL) 5 and 6
해결
converting on RHEL 5
Run the following command against the file to rearrange the dump data vmcore.flat into a dumpfile /tmp/vmcore-rearranged readable by crash:
/sbin/makedumpfile -R */tmp/vmcore-rearranged* < *vmcore.flat*
converting on RHEL 6
Run the following command against the file to rearrange the dump data vmcore.flat into a dumpfile /tmp/vmcore-rearranged readable by crash:
/usr/sbin/makedumpfile -R */tmp/vmcore-rearranged* < *vmcore.flat*
For more information on how to set up and configure kdump, see How do I configure kexec/kdump on Red Hat Enterprise Linux 5?.
Comments
When transferring a kdump core file via the SSH capture method, the core file is serialized for the transfer. This creates a vmcore.flat
file in the receiving server's /var/crash
directory. This file format cannot be read by Crash without first processing it with makedumpfile
.
'OS > Linux' 카테고리의 다른 글
[RHEL] TCP Parameter - ip_local_reserved_ports (0) | 2014.12.26 |
---|---|
[RHEL] RHEL6 설치시 GUI Login (0) | 2014.08.28 |
[RHEL] What should go in password-auth vs system-auth in RHEL6? (0) | 2014.08.28 |
[RHEL] How to configure pam_tally2 to lock user account after certain number of failed login attempts ? (0) | 2014.08.28 |
[RHEL] How to lock out a user to login a system after a set number of failed attempts? (0) | 2014.08.28 |
[RHEL] How to troubleshoot kernel crashes, hangs, or reboots with kdump on Red Hat Enterprise Linux (0) | 2014.08.14 |
[RHEL] 리눅스 부팅 프로세스 연구 (한글) (0) | 2014.06.24 |
[RHEL] 리눅스 x86 부팅 과정 (0) | 2014.06.24 |
[RHEL] Linux initial RAM disk (initrd) overview (0) | 2014.06.24 |
[RHEL] find 명령으로 공백이 포함된 디렉토리/파일 삭제 방법 (0) | 2014.06.24 |
댓글
새로운 코멘트를 추가