Getting error AH01243: Couldn't bind unix domain socket

Solution Verified - Updated -

Issue

The below message is logged in Apache error_log at startup. What does mean the log? What should I do?

[Tue Mar 22 10:59:07.349928 2022] [cgid:error] [pid 18999:tid 140196484614336] (98)Address already in use: AH01243: Couldn't bind unix domain socket /opt/rh/jbcs-httpd24/root/var/run/jbcs-httpd24-httpd/cgisock.18998
[Tue Mar 22 10:59:07.351344 2022] [mpm_worker:notice] [pid 18998:tid 140196484614336] AH00292: Apache/2.4.29 (Red Hat) OpenSSL/1.0.2n configured -- resuming normal operations
[Tue Mar 22 10:59:07.351367 2022] [mpm_worker:info] [pid 18998:tid 140196484614336] AH00293: Server built: May 31 2018 09:30:48
[Tue Mar 22 10:59:07.351384 2022] [core:notice] [pid 18998:tid 140196484614336] AH00094: Command line: '/opt/rh/jbcs-httpd24/root/usr/sbin/httpd -D FOREGROUND'
[Tue Mar 22 10:59:08.353343 2022] [cgid:crit] [pid 18998:tid 140196484614336] AH01238: cgid daemon failed to initialize

Environment

  • Red Hat JBoss Core Services Apache HTTPD server
    • 2.4
  • Red Hat Enterprise Linux
  • mod_cgid

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