XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Error 13: Invalid or unsupported executable format

    Scheduled Pinned Locked Moved Compute
    12 Posts 3 Posters 2.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      asai
      last edited by

      Greetings,

      After a clean shutdown yesterday, two older CentOS 5 VM that have been running fine for many years refused to come back up. I'm running XCP 7.6.

      The VM CPU spikes to 100%, and I get "Error 13: Invalid or unsupported executable format" in the console.

      I can't seem to restore from a recent (3 day old) snapshot either, same problem.

      After doing some searching and trying launching from Grub, I'm stuck.

      Can anyone shed some light on this?

      Thanks for your insight.

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Have you checked your logs (maybe yum.log)? Probably a recent kernel or grub update is causing the issue.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          asai @Danp
          last edited by

          @Danp ,

          The crazy thing is is these are old centos 5.5 vms. They haven't had any patches for ages. Neither have the hosts been patched for quite a while...

          That's what I would think too but seems unlikely in this case...

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            I would switch them to HVM if you can, PV is dead. There's PVshim at worst.

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              asai @olivierlambert
              last edited by

              @olivierlambert , thank you for your reply.

              I did switch to HVM, however that's when I get the grub bootloader screen with the Error 13: Invalid or unsupported executable format.

              So, PVShim might work in this case? I will give it a shot.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                So if the issue is clearly inside the guest, then it's might not be related to XCP-ng 🤔

                Could it be 32 bits vs 64 bits?

                A 2 Replies Last reply Reply Quote 0
                • A Offline
                  asai @olivierlambert
                  last edited by

                  @olivierlambert,
                  This is an x86_64 VM. I originally made the VM on XenServer back when it was Citrix owned. Then I actually migrated it over to KVM about 7 years ago. And then about 3 years ago, I migrated the VM back to XCP-ng using a qcow conversion routine that included running a dracut regenerate command.

                  dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg
                  

                  I wonder if I could somehow start in recovery mode and use that same command to regenerate the VM?

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    asai @olivierlambert
                    last edited by

                    @olivierlambert,
                    Is there a simple way to start the VM with PVshim? After googling around I couldn't find anything that would explain how to do this for the non-specialized person.

                    1 Reply Last reply Reply Quote 0
                    • olivierlambertO Offline
                      olivierlambert Vates 🪐 Co-Founder CEO
                      last edited by

                      First, I would start a live CD and chroot into it to see if you can get all the files (in case you can spot something corrupted)

                      A 2 Replies Last reply Reply Quote 0
                      • A Offline
                        asai @olivierlambert
                        last edited by asai

                        @olivierlambert,
                        Thanks for the assistance. I'm exporting the data from the VM via Live CD and will build a new VM and import applications from old VM.

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          asai @olivierlambert
                          last edited by asai

                          @olivierlambert,
                          I ended up copying the old application data from the crashed VM via a live CD and deployed a new VM (running on HVM.) Everything seems to be working fine now.

                          1 Reply Last reply Reply Quote 0
                          • olivierlambertO Offline
                            olivierlambert Vates 🪐 Co-Founder CEO
                            last edited by

                            Good news 🙂 Also, now you are in HVM, which is a LOT better than PV for a lot of reasons (security, performance etc.)

                            1 Reply Last reply Reply Quote 0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            • First post
                              Last post