Unable to run crash utility


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Unable to run crash utility
# 1  
Old 07-29-2016
Unable to run crash utility

Hi

I have a system running
Code:
 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:

Code:
 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:

Code:
 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?
# 2  
Old 08-02-2016
Hi

Ive managed to solve this problem, by intalling:
Code:
kernel-debuginfo-common-x86_64-3.10.0-229.el7.x86_64.rpm
kernel-debuginfo-3.10.0-229.el7.x86_64.rpm

them vmlinuxwas installed, then:
Code:
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

This User Gave Thanks to fretagi For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Unable to run java in redhat os

I am unable to run java from jdk. it says "cannot execute binary file" I downloaded the jdk again freshly but the problem still persists. All files have execution permission. Both OS and JDK are 64bit. Please help me out. $ pwd /home/XXXXX/apache-tomcat-6.0.18/jdk1.5.0_14/bin $... (2 Replies)
Discussion started by: meetsriharsha
2 Replies

2. Shell Programming and Scripting

Unable to run command after ssh

Hello, I am trying to create a ksh script to login to server and collect gather output of some command to troubleshoot some issue. DATE=`date +%b.%d.%Y.%M.%H` echo " Enter emp id to login to server" read Eid Eid=$Eid echo " Enter hostname of the system" read HOST HOST=$HOST... (2 Replies)
Discussion started by: saurabh84g
2 Replies

3. Shell Programming and Scripting

Unable to run function

Hi, I have a separate file with a ksh function in it. When I try to run it, I get an error about permissions: user@~/scripts/functions$ ksh f_fill_testfunc ksh: f_fill_testfunc: cannot open user@~/scripts/functions$ ls -l batch_functions/f_fill_testfunc -rwxr-xr-x 1 user user 1105 Aug... (18 Replies)
Discussion started by: Subbeh
18 Replies

4. HP-UX

Unable to run some commands in HP-UX

Hi All, I want to get %cpu and %memory utilization for a given process id in HP-UX so am using the following commands 1)TOP -p <PID> am getting error message like Quitting top: pset 26323 doesn't exist,but when am using only TOP command without any options its working fine. 2)ps -e -o pcpu... (5 Replies)
Discussion started by: Ramya_Nm
5 Replies

5. UNIX for Dummies Questions & Answers

unable to install xdiff utility in Ubuntu7.10

Hello Experts, Recently I tried to install xdiff program in my Ubuntu7.10. I downloaded xdiff-ext-0.2.0 from Download xdiff-ext 0.2.0 for Linux - Compare files easily - Softpedia. Then I untared the tar ball and did the following steps- # cd xdiff-ext-0.2.0/ # ./configure # make # make check... (1 Reply)
Discussion started by: adc22
1 Replies

6. AIX

unable to run at job

Hi All, I m not able to run at job with normal user on AIX system os version is 5300-05-06. I am able to run at job only with root user. When I try to run at job with any other user I am getting error: at: you are not authorized to use at. Sorry. I checked at.deny file, it is... (4 Replies)
Discussion started by: pkatkade
4 Replies

7. Shell Programming and Scripting

I need help to run this utility from a shell script

I need some help to run this executable from within a shell script. The Script is run the following way at the command prompt. $rateupd Main Menu --Standard Output ----------- --Standard Output 1. - Update Rate --Standard Output 2. - Exit. --Standard Output Enter Selection: 1 --User... (5 Replies)
Discussion started by: rajeeb_d
5 Replies

8. Solaris

Unable to run xclock

Hello. I am trying to run xclock on newly built solaris box - These are the steps I followed: # DISPLAY=localhost:0.0 # export DISPLAY # xclock xclock: not found # cd /usr/openwin/bin # ./xclock Error: Can't open display: localhost:0.0 # Please suggest, what am i doing wrong? Thank... (27 Replies)
Discussion started by: panchpan
27 Replies

9. Shell Programming and Scripting

unable to run a script

thi is (10 Replies)
Discussion started by: angelina
10 Replies
Login or Register to Ask a Question

Featured Tech Videos