(13)Permission denied: AH000058: Error retrieving pid file /run/httpd/httpd.pid

Solution In Progress - Updated -

Issue

Custom docker Apache image fails to run in OpenShift 3 with error:

(13)Permission denied: AH000058: Error retrieving pid file /run/httpd/httpd.pid

The same image works fine in a plain docker container runtime environment but fails in OpenShift.

Environment

  • OpenShift 3.x

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.