Announcement

Collapse
No announcement yet.

i can't initialize apache; it reports an error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • i can't initialize apache; it reports an error

    hi guys, when I start apache, the server says
    /etc/init.d/apache2 force-reload Forcing reload of web server (apache2)... waiting Syntax error on line 2 of /etc/apache2/conf.d/ox.conf:
    Invalid command 'JkWorkersFile', perhaps misspelled or defined by a module not included in the server configuration
    failed!
    ox.conf:

    JkWorkersFile /etc/apache2/workers.properties
    JkLogFile /var/log/apache2/mod_jk.log
    JkLogLevel info
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    JkRequestLogFormat "%w %V %T"
    JkMount /ajax/* oxworker
    JkMount /servlet/* oxworker
    workers.properties:
    workers.java_home=/usr/lib/jvm/java-1.5.0-sun
    ps=/
    worker.list=oxworker
    worker.oxworker.port=8009
    worker.oxworker.host=localhost
    worker.oxworker.type=ajp13

    what's happen. can you help me?
    Last edited by Guest; 07-08-2008, 02:54 PM.

  • #2
    Hi,

    could you check if the mod_jk module has been loaded? It seems this is not the case.

    Greetings

    Comment


    • #3
      Hi, I solved my problem.

      The problem was in the directory /etc/apache2/mods-enabled. was not the link jk.load (wich enables the mod_jk)

      but for this time I have a new problem but i open a new tread for this....

      Comment

      Working...
      X