Error initializing mod_jk shm file errno=2

Solution Verified - Updated -

Issue

  • When starting Apache with mod_jk we are seeing the following error in the mod_jk logs:

    [error] mod_jk.c (3166): Initializing shm:/usr/apache2/run/jk.shm.6798 errno=2. Load balancing workers will not function properly.
    

Environment

  • Red Hat JBoss Enterprise Web Server (EWS)
  • mod_jk

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