LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LinuxQuestions.org Member Intro
User Name
Password
LinuxQuestions.org Member Intro New to LinuxQuestions.org? Been a long time member but never made a post? Introduce yourself here.

Notices


Reply
  Search this Thread
Old 10-17-2020, 05:09 PM   #1
tpirapokin
LQ Newbie
 
Registered: Oct 2020
Posts: 4

Rep: Reputation: Disabled
can't start httpd (Apache/2.4.37) on read-only root


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.
 
Old 10-18-2020, 09:43 PM   #2
tpirapokin
LQ Newbie
 
Registered: Oct 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
I installed readonly-root-10.00.6-1.el8_2.2.noarch.rpm and now httpd started from systemd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed at step EXEC spawning /usr/local/apache2/bin/apachectl: Permission denied while starting httpd using command "systemctl start httpd" linuxtale Linux - Server 4 06-29-2019 09:39 PM
[SOLVED] httpd.conf read-only, with file permissions -rw-r----- 1 root root httpd.con ostrosky.jeremiah Linux - Software 4 06-25-2013 12:10 AM
httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 iswarya Linux - Newbie 1 01-25-2012 01:28 PM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LinuxQuestions.org Member Intro

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration