fix 'read only' mode
I tried to complete a new wordpress install using the steps https://www.linode.com/docs/websites/cms/how-to-install-and-configure-wordpress/
The site that is currently on the server can no longer connect to its database. I can't get ftp access and after speaking to support they said the disc is stuck in 'read only' mode. I am unable to correct this, does anyone have a step by step guide on what can be done?
Thanks!
1 Reply
There looks to be two issues here:
- The Linode is unable to connect to the database
- The Linode is in read-only mode
These two issues may be related. Without knowing the error message you were receiving about the database connection issue, and without access to the server itself, it's hard to say for sure what caused this. Common causes for database connection issues include:
- OOMing (running Out Of Memory).
- Disk that the DB is on is full
- Kernel panic
- Server was rebooted & the database service wasn't enabled to start automatically when the Linode was booted back up.
As for addressing the read-only issue, we have another Community post that gives further information on how to boot into Rescue Mode to perform a fsck: My filesystem is read-only
This post, and the comments below, provide some insight into what may have caused your filesystem to go into read-only: Why my Linux server ext3 filesystem go read-only?