workers ワーカーの作成時に、worker can't resolve tomcat address エラーが発生する

Solution Verified - Updated -

Issue

  • mod_jk で Apache を起動すると、mod_jk のログに以下のエラーが出力されます。
[error] ajp_validate::jk_ajp_common.c (2526): worker node1 can't resolve tomcat address node1.example.com
[error] wc_create_worker::jk_worker.c (163): validate failed for node1
[error] validate::jk_lb_worker.c (1599): Failed creating worker node1
  • tomcat インスタンスがすべて失敗し、正常な状態に戻るためのワーカーがありません。マシンを再起動すると、以下のような mod_jk error エラーが Apache httpd ログに出力されます。
[error] ajp_validate::jk_ajp_common.c (2748): worker node1 can't resolve tomcat address node1.example.com
[error] ajp_validate::jk_ajp_common.c (2748): worker node2 can't resolve tomcat address node2.example.com
[info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[info] service::jk_lb_worker.c (1579): All tomcat instances failed, no more workers left for recovery (attempt=0, retry=0)

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.