Changes between Version 14 and Version 15 of TroubleShooting


Ignore:
Timestamp:
Aug 22, 2009, 1:56:03 AM (10 years ago)
Author:
bruno
Comment:

finish the detailed example

Legend:

Unmodified
Added
Removed
Modified
  • TroubleShooting

    v14 v15  
    147147We suppose that you're at the prompt after the crash.
    148148Prepare on your NFS server the needed conten for debugging the case:
     149
     150First download both the normal and the debug mondo packages:
    149151{{{
    150152# cd /dir/exported/to/mondo
    151 #
     153# wget ftp://ftp.mondorescue.org/test/rhel/5/mondo-2.2.9-0.20090729004531.rhel5.x86_64.rpm
     154# wget ftp://ftp.mondorescue.org/test/rhel/5/mondo-debuginfo-2.2.9-0.20090729004531.rhel5.x86_64.rpm
     155}}}
     156
     157Then on the original platform make the backup the way you're used to using the downloaded mondo package (and mindi of course). On the same platform you also have to install the valgrind package.
     158Then create a tar file containing the mondo debig info and valgrind content that you make available on your NFS server:
     159{{{
     160# rpm2cpio mondo-debuginfo-2.2.9-0.20090729004531.rhel5.x86_64.rpm | cpio -idum
     161# tar cfz mondo.tgz ./usr
     162# rm -rf usr
     163# tar cfz valgrind.tgz /usr/bin/valgrind /usr/lib*/valgrind
     164}}}
     165
     166Then on the restored client, at the prompt you can extract the content, and use it:
     167{{{
     168# cd /
     169# tar xfz /tmp/isodir/valgrind.tgz
     170# tar xfz /tmp/isodir/mondo.tgz
     171# valgrind --log-file=/tmp/valg.log --show-reachable=yes --track-origins=yes --leak-check=full mondorestore -K 99 -Z interactive
     172}}}
     173
     174Then send those files to the dev team with a picture of the crash:
     175{{{
     176/var/log/mondorestore.log
     177/tmp/valg.log
     178}}}
     179
    152180
    153181=== Attaching to Running Processes ===