Public bug reported:
Binary package hint: libapache-mod-jk
I'm running libapache-mod-jk 1.2.28-2 on Ubuntu 10.04 and I have this
content in my workers.properties file:
worker.list = dev
worker.dev.type = ajp13
worker.dev.host = localhost
worker.dev.port = 8009
Apache doesn't start and my mod_jk.log shows this error:
[Fri Jun 11 10:57:26.414 2010] [4853:2129983296] [error]
wc_create_worker::jk_worker.c (139): Unknown worker type aj113 for worker dev
[Fri Jun 11 10:57:26.414 2010] [4853:2129983296] [error]
build_worker_map::jk_worker.c (262): failed to create worker dev
Do you see the "aj113" instead of "ajp13"? When I remove the space char
before and after the equal char in the corresponding line, I get this im
my logs:
[Fri Jun 11 10:59:05.457 2010] [4889:3785144128] [error]
ajp_validate::jk_ajp_common.c (2526): worker dev can't resolve tomcat address
localhsst
[Fri Jun 11 10:59:05.457 2010] [4889:3785144128] [error]
wc_create_worker::jk_worker.c (163): validate failed for dev
[Fri Jun 11 10:59:05.457 2010] [4889:3785144128] [error]
build_worker_map::jk_worker.c (262): failed to create worker dev
Do you see the "localhsst" instead of "localhost"? When I remove all spaces in
my workers.properties, Apache starts without any errors. My config now contains:
worker.list=dev
worker.dev.type=ajp13
worker.dev.host=localhost
worker.dev.port=8009
I haven't changed this config for years and it worked flawlessly with
all previous mod_jk versions.
This bug could be critical for people updating a production machine from a
previous Ubuntu release to lucid lynx, because it takes some time to recognize
that you have to remove spaces to get mod_jk up again.
** Affects: libapache-mod-jk (Ubuntu)
Importance: Undecided
Status: New
--
Parse error for workers.properties
https://bugs.launchpad.net/bugs/592576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs