httpd installation fails because SSSD resolves a centralized apache identity

Solution Verified - Updated -

Issue

  • Installing Apache HTTP Server fails while creating the local apache service account, for example:
groupadd: GID '48' already exists
useradd: group 'apache' does not exist

warning: group apache does not exist - using root
warning: user apache does not exist - using root
warning: group apache does not exist - using root
  • The Apache HTTPD failed to start up after a system reboot. The Apache HTTPD starts before the SSSD service is fully available, resulting in the following errors in the error log:
No such file or directory: AH01243: Couldn't bind unix domain socket /etc/httpd/run/cgisock.2612881
No such file or directory: AH00099: could not create /etc/httpd/run/httpd.pid.EG5bTg
AH00100: httpd: could not log pid to file /etc/httpd/run/httpd.pid

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Apache HTTPD
  • SSSD

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