1 Reply Latest reply on Jul 25, 2007 2:38 AM by jason.goth

    Apache won't start with mod_jk directive JkShmFile

    jason.goth

      I'm trying to get Apache to forward requests to JBoss. I created the configuration file as directed in the install guide. However, Apache now fails to start because of this directive:

      JkShmFile run/jk.shm

      apachectl2 returns with the following error:

      Starting httpd2 (prefork) Syntax error on line 44 of /etc/apache2/conf.d/mod_jk.conf:
      Invalid command 'JkShmFile', perhaps misspelled or defined by a module not included in the server configuration

      Commenting that line, then gives me an error with this directive:

      <Location /jkstatus/>
      JkMount status <-----
      Order deny,allow
      Deny from all
      Allow from 127.0.0.1


      Error message:

      Starting httpd2 (prefork) Syntax error on line 48 of /etc/apache2/conf.d/mod_jk.conf: JkMount not allowed here


      I'm using OpenSuse 10.2 and Apache 2.

      Thanks for any direction you can give.