I have a Digital Ocean droplet which I use as my development environment.
I deleted /bin directory !! via SSH. Now I know it was a stupid thing to do but it is the truth now. I am not great with UNIX/Linux systems but these are the things I tried as stupid as they may seem.
I copied the bin folder from another Ubuntu logged in as root user (from AWS - Production server) I get
Permission Denied
whenever I run commands likels
I tried to change the kernel from Digital Ocean Control Panel and reboot. I don't know what it does but now the droplet isn't rebooting. On the Digital Ocean Console is see several errors like:
init: Failed to spawn XXXXX main process: unable to execute: Permission denied
I have backed up all necessary data from the server via SFTP. How do I fix the issue? Does destroying the droplet and creating the new one help?
I have raised a ticket to support but cannot wait for the response as I need it up and running for testing the new release. Here are a few details if it helps: I use it for PHP web development. Tools I run on the instance: Apache, MongoDB, MySQL, PHP5