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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.