Quantcast

[Mondo-devel] (no subject)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mondo-devel] (no subject)

Brown, Christopher-2

Hello I am having some trouble running mondoarchive from the command line.

 

When I manually run mondoarchive using the gui I am able to get a good usable backup of a system I am testing

 

The server is a Redhat EL 4 OS

 

When I issue the follow command from the command line it mindi runs to completion and create the boot disk then I get the following error

 

/usr/sbin/mondoarchive -Oi -d /mnt/mondo -s 4200m –p sername -9

 

If run from script

/root/scripts/mondocron.sh: line 21: 27672 Segmentation fault      /usr/sbin/mondoarchive -Oi -d /mnt/mondo -s 4200m smomail1 -9

 

---evalcall---2--- TASK:  [********************]  98% done;  0:00 to go

---evalcall---E---

---evalcall---1---      Dividing filelist into sets

---evalcall---2--- TASK:  [********************]  99% done;  0:00 to go

---evalcall---E---

Your backup will probably occupy a single ISO. Maybe two.

Done.

Copying Mondo's core files to the scratch directory

Done.

Calling MINDI to create boot+data disks

Your boot loader is GRUB and it boots from /dev/ida/c0d0

*** glibc detected *** double free or corruption (!prev): 0x086c61a0 ***

SIGABRT signal received from OS

Abort - probably failed assertion. I'm sleeping for a few seconds so you can rea

Fatal error... MondoRescue is terminating in response to a signal from the OS

---FATALERROR--- MondoRescue is terminating in response to a signal from the OS

 

 

 

mondoarchive.log

Time started: Wed Apr 28 14:49:46 2010

 

running: dmesg -n1 > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran just fine. :-)

Mondo Archive v2.2.9.3-r2622 --- http://www.mondorescue.org

running i386 binaries

running on i686 architecture

-----------------------------------------------------------

NB: Mondo logs almost everything, so don't panic if you see

some error messages.  Please read them carefully before you

decide to break out in a cold sweat.    Despite (or perhaps

because of) the wealth of messages. some users are inclined

to stop reading this log. If Mondo stopped for some reason,

chances are it's detailed here.  More than likely there's a

message at the very end of this log that will tell you what

is wrong. Please read it!                          -Devteam

-----------------------------------------------------------

Zero...

[Main] mondoarchive.c->welcome_to_mondoarchive#101: One...

        [Main] mondoarchive.c->welcome_to_mondoarchive#102: Two...

                [Main] mondoarchive.c->welcome_to_mondoarchive#103: Three...

                        [Main] mondoarchive.c->welcome_to_mondoarchive#104: Four...

        [Main] mondoarchive.c->distro_specific_kludges_at_start_of_mondoarchive#121: Unmounting old ramdisks if necessary

running: mount | grep cdrom | grep super > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran with res=256

running: mount | grep floppy | grep super > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran with res=256

[Main] libmondo-tools.c->mount_boot_if_necessary#1170: Started sub

                        [Main] libmondo-tools.c->mount_boot_if_necessary#1171: About to set g_boot_mountpt[0] to '\0'

                        [Main] libmondo-tools.c->mount_boot_if_necessary#1173: Done. Great. Seeting command to something

                        [Main] libmondo-tools.c->mount_boot_if_necessary#1176: Cool. Command = 'grep -v ":" /etc/fstab | grep -vE '^#.*$' | grep -E "[  ]/boot[         ]" | tr -s ' ' '        ' | cut -f1 | head -n1'

                        [Main] libmondo-tools.c->mount_boot_if_necessary#1180: tmp = 'LABEL=/boot'

        [Main] libmondo-tools.c->mount_boot_if_necessary#1182: /boot is at LABEL=/boot according to /etc/fstab

[Main] libmondo-tools.c->mount_boot_if_necessary#1226: Ended sub

[Main] libmondo-tools.c->get_kernel_version#254: g_kernel_version = 2.690000

running: rm -Rf /var/cache/mondo/changed.files* > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran just fine. :-)

Checking sanity of your Linux distribution

running: grep ramdisk /proc/devices > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

1 ramdisk

--------------------------------end of output------------------------------

...ran just fine. :-)

running: mount | grep -Ew 'vfat|fat|dos' | grep -vE "/dev/fd|nexdisk" > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran with res=256

                        [Main] libmondo-files.c->find_home_of_exe#360: find_home_of_exe () --- Found cmp at /usr/bin/cmp

running: mindi -V > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

Mindi v2.0.7.3-r2622

--------------------------------end of output------------------------------

...ran just fine. :-)

running: parted2fdisk -l | grep -i raid > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran with res=256

Done.

                        [Main] libmondo-files.c->find_home_of_exe#360: find_home_of_exe () --- Found afio at /usr/bin/afio

[Main] libmondo-cli.c->process_switches#728: Prefix forced to smomail1

running: ls -l /mnt/mondo > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

total 0

--------------------------------start of output-----------------------------

total 0

drwx------  1 root root 0 Apr 28 09:57 archive

drwx------  1 root root 0 Apr 28 09:57 current

--------------------------------end of output------------------------------

...ran just fine. :-)

running: which mkfs.vfat > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

/sbin/mkfs.vfat

--------------------------------end of output------------------------------

...ran just fine. :-)

                [Main] libmondo-cli.c->handle_incoming_parameters#100: Switches:-

                [Main] libmondo-cli.c->handle_incoming_parameters#104: -9

                [Main] libmondo-cli.c->handle_incoming_parameters#104: -O

                [Main] libmondo-cli.c->handle_incoming_parameters#104: -d /mnt/mondo

                [Main] libmondo-cli.c->handle_incoming_parameters#104: -i

                [Main] libmondo-cli.c->handle_incoming_parameters#104: -p smomail1

                [Main] libmondo-cli.c->handle_incoming_parameters#104: -s 4200m

                [Main] libmondo-cli.c->handle_incoming_parameters#104: -p smomail1

                [Main] libmondo-cli.c->handle_incoming_parameters#104: -s 4200m

[Main] libmondo-tools.c->post_param_configuration#396: Foo

        [Main] libmondo-tools.c->post_param_configuration#565: isodir = /mnt/mondo

        [Main] libmondo-tools.c->post_param_configuration#568: command = df -P /mnt/mondo | tail -n1 | cut -d' ' -f1

        [Main] libmondo-tools.c->post_param_configuration#569: res of it = //10.179.250.21/smomail1

        [Main] libmondo-tools.c->post_param_configuration#579: command = mount | grep -w //10.179.250.21/smomail1 | tail -n1 | cut -d' ' -f3

        [Main] libmondo-tools.c->post_param_configuration#580: res of it = /mnt/mondo

        [Main] libmondo-tools.c->post_param_configuration#587: isomnt: /mnt/mondo, 10

        [Main] libmondo-tools.c->post_param_configuration#608: isodir:

        [Main] libmondo-tools.c->post_param_configuration#615: iso-prefix: smomail1

        [Main] libmondo-tools.c->post_param_configuration#645: Finished processing incoming params

BusyBox's sources are available from http://www.busybox.net

        [Main] libmondo-filelist.c->prepare_filelist#1692: tmpdir=//mondo.tmp.L4tmXv; scratchdir=//mondo.scratch.17767/mondo.scratch.17581

Making catalog of files to be backed up

running: cp -f /var/cache/mondo/difflevel.0.aborted /var/cache/mondo/difflevel.0 > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran just fine. :-)

        [Main] libmondo-filelist.c->mondo_makefilelist#1600: include_paths = '/'

[Main] libmondo-filelist.c->mondo_makefilelist#1601: Calculating filelist

        [Main] libmondo-filelist.c->mondo_makefilelist#1619: Excluding paths = ' /var/cache/mondo   /mondo.tmp.L4tmXv /mondo.scratch.17767/mondo.scratch.17581 . .. /mnt/cdrom /mnt/floppy /media /tmp /proc /sys /dev/shm /var/cache/mindi'

        [Main] libmondo-filelist.c->mondo_makefilelist#1621: Generating skeleton filelist so that we can track our progress

                        [Main] libmondo-filelist.c->mondo_makefilelist#1624: g_skeleton_entries = 0

                        [Main] libmondo-filelist.c->mondo_makefilelist#1624: g_skeleton_entries = 0

        [Main] libmondo-filelist.c->mondo_makefilelist#1625: Opening out filelist to //mondo.tmp.L4tmXv/tmpfs/filelist.full

[Main] libmondo-filelist.c->mondo_makefilelist#1638: Including / in filelist //mondo.tmp.L4tmXv/tmpfs/filelist.full

Making catalog of /

         Making catalog of /

        [Main] libmondo-filelist.c->mondo_makefilelist#1650: Copying new filelist to scratchdir

        [Main] libmondo-filelist.c->mondo_makefilelist#1664: Freeing variables

        [Main] libmondo-filelist.c->mondo_makefilelist#1668: Exiting

Done.

Dividing filelist into sets

Dividing filelist into sets. Please wait.

        [Main] libmondo-filelist.c->chop_filelist#233: filelist=//mondo.scratch.17767/mondo.scratch.17581/archives/filelist.full;

Dividing filelist into sets

     Dividing filelist into sets

        [Main] libmondo-filelist.c->chop_filelist#244: outfname=//mondo.tmp.L4tmXv/filelist.0; biggie_fname=//mondo.tmp.L4tmXv/biggielist.txt

        [Main] libmondo-filelist.c->chop_filelist#244: outfname=//mondo.tmp.L4tmXv/filelist.0; biggie_fname=//mondo.tmp.L4tmXv/biggielist.txt

[Main] libmondo-filelist.c->chop_filelist#342: Filelist divided into 117 sets

        [Main] libmondo-files.c->estimate_noof_media_required#1237: Estimating number of media required...

        [Main] libmondo-files.c->size_of_all_biggiefiles_K#777: Calculating size of all biggiefiles (in total)

        [Main] libmondo-files.c->size_of_all_biggiefiles_K#779: biggielist = //mondo.tmp.L4tmXv/biggielist.txt

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#784: Reading it...

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#809: /home/cbro/BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar.gz --> 331239 K

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#814: After adding /home/cbro/BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar.gz, scratchL+331239 now equals 331239

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#809: /mnt/mondo/archive/SMOMAIL1-2010-04-28/smomail1-1.iso --> 1271858 K

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#814: After adding /mnt/mondo/archive/SMOMAIL1-2010-04-28/smomail1-1.iso, scratchL+1271858 now equals 1603097

        [Main] libmondo-files.c->size_of_all_biggiefiles_K#820: Closing...

        [Main] libmondo-files.c->size_of_all_biggiefiles_K#822: Finished calculating total size of all biggiefiles

Your backup will probably occupy a single ISO. Maybe two.

        [Main] libmondo-filelist.c->call_filelist_chopper#116:

Done.

running: gzip -9 //mondo.scratch.17767/mondo.scratch.17581/archives/filelist.full > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran just fine. :-)

running: cp -f //mondo.scratch.17767/mondo.scratch.17581/archives/*list*.gz //mondo.tmp.L4tmXv > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran just fine. :-)

Copying Mondo's core files to the scratch directory

                        [Main] libmondo-files.c->copy_mondo_and_mindi_stuff_to_scratchdir#1030: g_mondo_home='/usr/share/mondo'

                        [Main] libmondo-files.c->copy_mondo_and_mindi_stuff_to_scratchdir#1037: command = cp --parents -pRdf /usr/share/mondo //mondo.scratch.17767/mondo.scratch.17581

running: cp --parents -pRdf /usr/share/mondo //mondo.scratch.17767/mondo.scratch.17581 > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran just fine. :-)

running: cp -f //mondo.tmp.L4tmXv/LAST-FILELIST-NUMBER //mondo.scratch.17767/mondo.scratch.17581 > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran just fine. :-)

running: cp -f /usr/sbin/mondorestore //mondo.tmp.L4tmXv > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran just fine. :-)

Done.

        [Main] libmondo-files.c->figure_out_kernel_path_interactively_if_necessary#290: Calling Mindi with kernel path of '/boot/vmlinuz-2.6.9-22.0.2.EL'

Calling MINDI to create boot+data disks

        [Main] libmondo-devices.c->which_boot_loader#3035: list_drives_cmd = parted2fdisk -l 2>/dev/null | grep "/dev/.*:" | tr -s ':' ' ' | tr -s ' ' '

' | grep /dev/; echo /dev/mapper/VolGroup-LogVol00

        [Main] libmondo-devices.c->which_boot_loader#3048: looking at drive /dev/ida/c0d0's MBR

Cannot pclose pdrives (No such file or directory)

        [Main] libmondo-devices.c->which_boot_loader#3063: 1 grubs and 0 lilos

 

Your boot loader is GRUB and it boots from /dev/ida/c0d0

        [Main] libmondo-files.c->size_of_all_biggiefiles_K#777: Calculating size of all biggiefiles (in total)

        [Main] libmondo-files.c->size_of_all_biggiefiles_K#779: biggielist = //mondo.tmp.L4tmXv/biggielist.txt

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#784: Reading it...

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#809: /home/cbro/BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar.gz --> 331239 K

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#784: Reading it...

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#809: /home/cbro/BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar.gz --> 331239 K

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#814: After adding /home/cbro/BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar.gz, scratchL+331239 now equals 331239

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#809: /mnt/mondo/archive/SMOMAIL1-2010-04-28/smomail1-1.iso --> 1271858 K

                        [Main] libmondo-files.c->size_of_all_biggiefiles_K#814: After adding /mnt/mondo/archive/SMOMAIL1-2010-04-28/smomail1-1.iso, scratchL+1271858 now equals 1603097

        [Main] libmondo-files.c->size_of_all_biggiefiles_K#820: Closing...

        [Main] libmondo-files.c->size_of_all_biggiefiles_K#822: Finished calculating total size of all biggiefiles

[Main] libmondo-archive.c->call_mindi_to_supply_boot_disks#858: lines_in_filelist = 100424

        [Main] libmondo-archive.c->call_mindi_to_supply_boot_disks#899: mindi   --custom //mondo.tmp.L4tmXv //mondo.scratch.17767/mondo.scratch.17581/images '/boot/vmlinuz-2.6.9-22.0.2.EL' '' '0' 100424 'no' 'no' '' 'yes' 116 98 '""' 'yes' 'no' 'no' 32768 0 '`<98>+'

Generating boot+data disks

     Generating boot+data disks

SIGABRT signal received from OS

Abort - probably failed assertion. I'm sleeping for a few seconds so you can read the message.

[Main] newt-specific.c->fatal_error#308: Fatal error received - 'MondoRescue is terminating in response to a signal from the OS'

                [Main] newt-specific.c->fatal_error#326: OK, I think I'm the main PID.

        [Main] newt-specific.c->fatal_error#334: I'm going to do some cleaning up now.

                        [Main] newt-specific.c->fatal_error#335: killall mindi 2> /dev/null

running: ps auxww | grep " /mondo/do-not " | awk '{print $2;}' | grep -v "grep" > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

10788

10790

10792

--------------------------------end of output------------------------------

...ran just fine. :-)

running: kill `ps auxww | grep " /mondo/do-not " | awk '{print $2;}' | grep -v "grep"` > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran with res=15

running: ps auxww | grep " tmp.mondo " | awk '{print $2;}' | grep -v "grep" > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

10803

10805

--------------------------------end of output------------------------------

...ran just fine. :-)

running: kill `ps auxww | grep " tmp.mondo " | awk '{print $2;}' | grep -v "grep"` > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran with res=15

running: ps auxww | grep " ntfsclone " | awk '{print $2;}' | grep -v "grep" > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

10818

10820

--------------------------------end of output------------------------------

...ran just fine. :-)

running: kill `ps auxww | grep " ntfsclone " | awk '{print $2;}' | grep -v "grep"` > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

--------------------------------end of output------------------------------

...ran with res=15

running: umount /mnt/cdrom > //mondo.tmp.L4tmXv/mondo-run-prog-thing.tmp 2> //mondo.tmp.L4tmXv/mondo-run-prog-thing.err

--------------------------------start of output-----------------------------

umount: /mnt/cdrom: not mounted

--------------------------------end of output------------------------------

...ran with res=256

[Main] libmondo-cli.c->termination_in_progress#1148: Termination in progress

                         

Christopher Brown | Network\Systems Engineer

McKesson Medical-Surgical, Extended Care

Advanced Technologies | Technical Services

(763) 595-6959 [hidden email]

 

 


------------------------------------------------------------------------------

_______________________________________________
Mondo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mondo-devel] (no subject)

Bruno Cornec-2
Brown, Christopher said on Wed, Apr 28, 2010 at 03:57:35PM -0400:

> When I issue the follow command from the command line it mindi runs to
> completion and create the boot disk then I get the following error
>
> /usr/sbin/mondoarchive -Oi -d /mnt/mondo -s 4200m -p sername -9
>
> If run from script
>
> /root/scripts/mondocron.sh: line 21: 27672 Segmentation fault
> /usr/sbin/mondoarchive -Oi -d /mnt/mondo -s 4200m smomail1 -9

Did you left out the -p on purpose or is it in the line ?
Could be an explanation.

> Your boot loader is GRUB and it boots from /dev/ida/c0d0
> *** glibc detected *** double free or corruption (!prev): 0x086c61a0 ***
> SIGABRT signal received from OS

Hummm.

> Switches:-
>                 [Main] libmondo-cli.c->handle_incoming_parameters#104:
> -p smomail1

Ok so I guess t was just a typo then.

>
>         [Main] libmondo-archive.c->call_mindi_to_supply_boot_disks#899:
> mindi   --custom //mondo.tmp.L4tmXv
> //mondo.scratch.17767/mondo.scratch.17581/images
> '/boot/vmlinuz-2.6.9-22.0.2.EL' '' '0' 100424 'no' 'no' '' 'yes' 116 98
> '""' 'yes' 'no' 'no' 32768 0 '`<98>+'

Oops that last param look strange to me :-(
However, the format in which the log appears means that it was modified,
so I'm not really sure of the content. Could you use a mail user agent
which doesn't change it ?
The back quote is surely a problem here.

Are you using differential backups ?

Bruno.
--
Open Source & Linux Profession Lead EMEA           / http://opensource.hp.com
HP/Intel/Red Hat Open Source Solutions Initiative  / http://www.hpintelco.net
http://www.HyPer-Linux.org  http://mondorescue.org http://project-builder.org
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org

------------------------------------------------------------------------------
_______________________________________________
Mondo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Loading...