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 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.