No such file or directory: could not create /etc/httpd22/run/httpd22.pid in RHEL 7

Solution Verified - Updated -

Issue

  • After server reboot, Apache httpd do not start with errors in /var/log/httpd22/error.log
[Thu May 07 09:01:09 2015] [error] (2)No such file or directory: could not create /etc/httpd22/run/httpd22.pid
[Thu May 07 09:01:09 2015] [error] httpd22: could not log pid to file /etc/httpd22/run/httpd22.pid

Environment

  • Red Hat JBoss Web Server (JWS) 2.1.0
    • Apache httpd 2.2.26
  • Red Hat Enterprise Linux (RHEL) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content