Bash- :cannot execute binary file (Ubuntu VM on ESXI server)
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What I'd do is decouple the guests VMDK, mount it and then check the system logs (maybe that will show clues), then verify hashes to see which utilities have been hit by corruption. If you made backups you could try and restore one but until you've got a fix on what causes the corruption reliability remains zero.
Thank you for the reply,
what i dont understand , why is the system became READ-ONLY, it seems to a permission problem. and since chmod is blocked as well, nothing could work?
what i dont understand , why is the system became READ-ONLY
As far as I know having a read-only file system usually points to the "dirty" flag needing to be cleared or other corruption. Your OP starts off by saying "i have been getting all errors on my system on boot" yet you didn't post exact (error) messages. If you still have them posting them could show clues. If you don't have them then disconnecting the VMDK, (loop)mounting and inspecting it running the default diagnostic file system tools (in --dry-run mode) may show clues.
It sounds like the Linux file system is damaged. Have you tried booting the VM using s system rescue CD image, and checking the file system?
Also, you could check the "/var/log/messages" file on the ESXi itself. Also check the "vmware.log" files which should be in the same folder as the rest of the VM files. If these ESXi logs are not reporting any obvious errors about your Ubuntu VM, the problem if very likely to be within the VM itself. The cure for this is just the same as for a physical server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.