There may be times you log in to the WHM or your servers command-line interface and try to restart MySQL. However, MySQL reports MySQL fails to start: Errcode: 30 - Read-only file system.
When trying to start a service, you receive an error reporting the file system is in read-only.
You will need to remount the drive to allow read and write. Before mounting the device, you should check
/var/log/messages for any signs of disk issues, and consider running a smart scan. How can I determine a problem is due to File System Errors? You can check the mounts and remount with
mountand then remount with
mount -o remount,rw <partition>
If the system administrator has enabled securetmp, the following article will also be helpful. Secure /tmp is a read-only filesystem