Re: [Mondo-devel] Mondorestore: buffer overflow detected, tar terminated
Brought to you by:
bcornec
|
From: Gattegno, V. (CPR&Q G. - ISS/SW Tower) <vic...@hp...> - 2012-02-29 17:25:27
|
Hi again Matthew, Ø "The mondorestore command was not found on your backup media" In /var/log/mondorestore.log, I guess that you get the following too: "Can't find" ... "/images/all.tar.gz" When you mount your backup manually, as you see "autorun" file, you should also see images directory. You'll find mondorestore in images/all.tar.gz, in a /usr/bin directory of all.tar.gz. Similarly, you'll find CDROM-LIVES-HERE' file in images/all.tar.gz, in /tmp directory. What's the content of that file? You can browse interactively in images/all.tar.gz through 7-zip utility (http://www.7-zip.org). When mondo can mount the backup successfully, it automatically untar all.tar.gz (which is in the backup, in images directory). Then mondo can find CDROM-LIVES-HERE, mondorestore etc. and mondo should restore well. So everything comes from the fact that your backup cannot be mounted by mondo. Did you used mondoarchive interactively, or as a command with options ? Which mondoarchive options did you used ? The file /var/log/mondoarchive.log could help to understand how that backup was built. Where did you backuped the ISO files ? Then, where did you downloaded the ISO files ? I would advise you to check the mindi "README.bootparam" file. One time I mondoarchived the ISO files on an external USB hard drive and I got a similar boot problem than your (sh: mondorestore: not found) at boot. I solved it by using the "usb=/dev/xxx" boot option described in that file. Rgds. From: Matthew D Hearn [mailto:mat...@21...] Sent: mercredi 29 février 2012 17:05 To: mon...@li... Subject: Re: [Mondo-devel] Mondorestore: buffer overflow detected, tar terminated Okay, I was finally able to work through some of the kludges (glibc and glibc-common have to be installed together using fully qualified filenames to yum, mondo-3.0.1 thinks mindi-2.1.1 is too new, mindi-2.1.1 thinks busybox-1.18.5 is too new, but you can bypass that stuff with rpm) and got everything installed. I successfully made another mondoarchive, downloaded the ISO, and booted from it. It obviously successfully boots off the ISO, because I get the usual menu asking for nuke, interactive, compare, expert, but then it tells me: Optimizing IDE drive access...cat: can't open '/tmp/CDROM-LIVES-HERE': no such file or directory I don't know where the CDROM lives. Optimization cancelled. Triggering udev again... Executing preliminary script /sbin/post-init: line 10: can't create : nonexistent directory /sbin/post-init: line 11: can't create : nonexistent directory The mondorestore command was not found on your backup media It may mean your device is not seen correctly. Check driver list and error messages. /var/tmp/mondorestore.log mentions no errors about the CDROM, but /tmp/mondorestore2.log has: 10:32 Successfully mounted dynamic /tmp ramdisk 10:32 I'm not groovy! 10:32 First call to find-and-mount-cdrom failed. 10:32 Sleeping for 3 seconds and trying again 10:32 I'm not groovy! 10:32 You probably not have the right drivers 10:32 to support the hardware on which we are running 10:32 Your archives are probably fine but 10:32 your tape streamer and/or CD-ROM drive are unsupported at that point. 10:32 klogd and syslogd have been started. 10:32 Running 'mdadm' 10:32 LVM's have been started. 10:32 Trying to mount CD-ROM a 2nd time... 10:32 I'm not groovy! 10:32 I still cannot find or mount the CD-ROM drive, by the way. 10:32 CD-ROM is not mounted. Darn. Then it checks some filesystems and reports the "mondorestore command was not found" message from above. I'm not sure what driver I'm missing; it's worth noting that mount /dev/cdrom /mnt/cdrom works perfectly and I can view the contents of the ISO. If I knew how to extract the archive data and put it on the disk I'd do it manually! Oddly, I cannot find a file named "mondorestore" anywhere on the mounted ISO. There's an "autorun" but it has a host of errors. Thanks again! Re: [Mondo-devel] Mondorestore: buffer overflow detected, tar terminated From: Gattegno, Victor (CPR&Q GCC - ISS/SW Tower) <victor_gattegno@hp...> - 2012-02-29 11:20 Hello Matthew, The "tar terminated" problem could come from the mindi-busybox-1.7.3 tar. To avoid install conflicts, I would advise you to uninstall the mindi, mondo and mindi-busybox packages, and to install the latest packages versions from: ftp://ftp.mondorescue.org/rhel/6 Latest versions are mondo-3.0.1 mindi-2.1.1 mindi-busybox-1.18.5 Then install mindi-busybox package, then mindi package, then mondo package. About mondorestore.log transfert, there are a few solutions, on an USB device, or through network (since initialized), by tftp for example (because tftp is embedded in busybox). To initialize the network, you can find some advises in http://www.mondorescue.org/docs/p2v.pdf. Regards, Victor |