Report this

What is the reason for this report?

Corrupted Kernel

Posted on December 14, 2017

I was practicing exploiting linux executables with shellcode when after a while i things start breaking with

Execle: Exec format error

After reboot droplet didn’t connect to internet. From dash board console I ran following commands.

$cat /var/mail/root says: /bin/sh: execle: Exec format error

$ sudo service network-manager restart sudo: unable to execute /usr/sbin/service: Exec format error

$ sudo update-grub sudo: unable to execute /usr/sbin/update-grub: Exec format error

I think i corrupted the kernel, please help!!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Make sure your kernel matches your architecture or just restore from your backup / reinstall.

Your best option will likely be to reach out to the support team via a ticket. They can boot your droplet into a recovery environment. This is a Debian based LiveCD image which will allow you to boot your droplet and mount it’s normal disk to make changes, chroot into your disk if needed, or start a temporary SFTP service to copy out needed files. The image must be mounted and removed by the support team and your droplet would then be accessible from the console in the control panel.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.