Unable to run crash utility

Hi

I have a system running

 cat etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)

, and I am trying to check why is crashing a lot of times. I have checked the following files, but with no sucessfull results:

 ls -lrt *.log
-rw-r--r--. 1 root root   29925 Dec 23  2015 Xorg.9.log
-rw-r--r--. 1 root root       0 Dec 29  2015 sd-client-trace.log
-rw-r--r--. 1 root root   30152 Mar  3 12:23 Xorg.1.log
-rw-------. 1 root root     158 Jun  8 14:54 yum.log
-rw-r--r--. 1 root root    4371 Jul 28 11:45 sd-audit.log
-rw-r--r--. 1 root root   12456 Jul 29 00:55 boot.log
-rw-r--r--. 1 root root   29534 Jul 29 00:55 Xorg.0.log
-rw-r--r--. 1 root root       0 Jul 29 00:55 pm-powersave.log
-rw-r--r--. 1 root root       0 Jul 29 00:55 sd-recovery.log
-rw-r--r--. 1 root root 5890909 Jul 29 00:55 sd-daemon-trace.log
-rw-------. 1 root root 34633052 Jul 29 00:35 messages

I came across a utility called crash , but to running it its proving very difficult, as you can see below:

 crash /root/lib/modules/3.10.0-123.el7.x86_64.debug /var/crash/127.0.0.1-2016.07.27-04\:13\:18/vmcore

crash 7.0.2-6.el7
Copyright (C) 2002-2013  Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010  IBM Corporation
Copyright (C) 1999-2006  Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012  Fujitsu Limited
Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011  NEC Corporation
Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions.  Enter "help copying" to see the conditions.
This program has absolutely no warranty.  Enter "help warranty" for details.

crash: unable to read dump file /root/lib/modules/3.10.0-123.el7.x86_64.debug
/root/lib/modules/3.10.0-123.el7.x86_64.debug: read: Is a directory
/root/lib/modules/3.10.0-123.el7.x86_64.debug: read: Is a directory
crash: /root/lib/modules/3.10.0-123.el7.x86_64.debug: lseek: Invalid argument
read_maps: unable to read header from /root/lib/modules/3.10.0-123.el7.x86_64.debug, errno = 1
crash: /root/lib/modules/3.10.0-123.el7.x86_64.debug: not a supported file format

Usage:

  crash [OPTION]... NAMELIST MEMORY-IMAGE  (dumpfile form)
  crash [OPTION]... [NAMELIST]             (live system form)

Enter "crash -h" for details.

please can you help?

Hi

I�ve managed to solve this problem, by intalling:

kernel-debuginfo-common-x86_64-3.10.0-229.el7.x86_64.rpm
kernel-debuginfo-3.10.0-229.el7.x86_64.rpm

them vmlinux was installed, then:

crash /usr/lib/debug/lib/modules/3.10.0-123.el7.x86_64/vmlinux /var/crash/127.0.0.1-2016.07.27-03\:13\:35/vmcore
1 Like