[jboss-user] [Installation, Configuration & DEPLOYMENT] - Apache won't start with mod_jk directive JkShmFile

jason.goth do-not-reply at jboss.com
Wed Jul 25 02:19:43 EDT 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067298#4067298

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067298



More information about the jboss-user mailing list