Articles & Code Snippets


Linux - How to fix “Read-only file system”?

Amazing things come from passion.


# /etc/init.d/apache2 start
Starting web server: apache2(30)Read-only file system: apache2: could not open error log file /var/log/apache2/error.log.
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
 failed!
Fix:
sudo fsck.ext4 -f /dev/sda1
web


Archives