Sponsored Content
Full Discussion: Unable to run crash utility
Operating Systems Linux Red Hat Unable to run crash utility Post 302978331 by fretagi on Friday 29th of July 2016 05:13:13 AM
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?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

unable to run a script

thi is (10 Replies)
Discussion started by: angelina
10 Replies

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
RHNREG_KS(8)							   Red Hat, Inc.						      RHNREG_KS(8)

NAME
rhnreg_ks - A program for non interactively registering systems to Spacewalk Server, Red Hat Satellite or Red Hat Network Classic. SYNOPSIS
rhnreg_ks [options] DESCRIPTION
rhnreg_ks is a utility for registering a system with the "Spacewalk Server", "Red Hat Satellite" or "Red Hat Network Classic". It is designed to be used in a non-interactive environment (a kickstart style install, for example). All the information can be specified on the command line or stdin. OPTIONS
--profilename Specify the profile name that should be used as an identifier for the system in Spacewalk Server, Red Hat Satellite or Red Hat Net- work Classic --username The username to register the system with under Spacewalk Server, Red Hat Satellite or Red Hat Network Classic. This can be an exist- ing Spacewalk, Red Hat Satellite or Red Hat Network Classic username, or a new username. --password The password associated with the username specified with the --username option. This is an unencrypted password. --activationkey Specify/use a serial number to associate with the system. This is optional, but activation keys can really simplify the registration process. Learn more about activation keys in the online RHN documentation. --contactinfo This option has been deprecated. Please login to the server web user interface and update your contactinfo. --nohardware Do not probe or upload any hardware information. --nopackages Do not profile or upload any package information. --novirtinfo Do not profile or upload any virtualization information. --norhnsd Do not start rhnsd after completion. --force Register the system even if it has already been registered. --version Show the version of rhnreg_ks. --proxy Specify a HTTP proxy to use. --proxyUser Specify a username to use with an authenticated HTTP proxy. --proxyPassword Specify a password to use with an authenticated HTTP proxy. --sslCACert Specify a path to a SSL CA certificate to use. --serverUrl Specify a URL to as the server. -h, --help Show a help message and exit. FILES
/etc/sysconfig/rhn/systemid The digital server ID for this machine if the system has been registered onto "Spacewalk Server", "Red Hat Satellite" or "Red Hat Network Classic". This file does not exist otherwise. /etc/sysconfig/rhn/up2date The common configuration file used by RHN client programs. EXAMPLES
Register a new system to Spacewalk / Red Hat Satellite / Red Hat Network Classic: rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar" SEE ALSO
rhn_check(8), rhn_register(8), rhnsd(8), rhn-profile-sync(8), rhnplugin(8), up2date(5). AUTHORS
See the AUTHORS file included with this software. This manual page was written by Adrian Likins <alikins@redhat.com> and James Bowes <jbowes@redhat.com> BUGS
Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT
Copyright (C) 1999-2011 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Linux 2011 February 4 RHNREG_KS(8)
All times are GMT -4. The time now is 08:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy