Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

RHEL 7 で No such file or directory: could not create /etc/httpd22/run/httpd22.pid エラーが発生する

Solution Verified - Updated -

Issue

  • サーバーを再起動しても Apache httpd が起動せず /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.