Can't access my server either
I created another disk image on my server and mount my previous disk image on it. When I reboot to the new image disk and mistakenly chmod 777 / on the new image disk, i got some errors and i destroy the new server but I didn't know that it affected my old image disk which was mounted on it. Now i can't access my server again after rebooting to the old image disk though the website is working but i can't access my server via ssh or sftp and also my phpmyadmin is giving this error "phpMyAdmin - Error
Wrong permissions on configuration file, should not be world writable!"
Can someone help me on how to recover my server and database
1 Reply
Hello,
Sure thing. You may be able to recover the disk by booting the Linode into Rescue Mode and running a file system check with Finnix. You can review the guide for step by step instructions:
https://www.linode.com/docs/troubleshooting/rescue-and-rebuild/
Once the Linode is in Rescue Mode, you can access it via the Lish Console. Lish can be found via the Remote Access tab.
https://www.linode.com/docs/networking/using-the-linode-shell-lish
Also in Rescue Mode, you could also fix the permission error by navigating to the file and then running the command. Here is our guide below on chmod:
https://www.linode.com/docs/tools-reference/tools/modify-file-permissions-with-chmod/
Regards,
Preston
Linode Support Team