can't start httpd (Apache/2.4.37) on read-only root
by tpirapokin from LinuxQuestions.org on (#59749)
Hi,
Currently I tried start httpd Apache/2.4.37 from systemd but I got error.
Oct 17 22:05:27 localhost.localdomain systemd[1]: httpd.service: Failed to run 'start' task: Read-only file system
Oct 17 22:05:27 localhost.localdomain systemd[1]: httpd.service: Failed with result 'resources'.
Oct 17 22:05:27 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
I have make sure that the log directory is read-write and I can start httpd from command
/usr/sbin/httpd -DFOREGROUND
I'm on CentOS 8.2.


Currently I tried start httpd Apache/2.4.37 from systemd but I got error.
Oct 17 22:05:27 localhost.localdomain systemd[1]: httpd.service: Failed to run 'start' task: Read-only file system
Oct 17 22:05:27 localhost.localdomain systemd[1]: httpd.service: Failed with result 'resources'.
Oct 17 22:05:27 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
I have make sure that the log directory is read-write and I can start httpd from command
/usr/sbin/httpd -DFOREGROUND
I'm on CentOS 8.2.