Translated message

A translation of this page exists in English.

RHBK サービスを停止するとステータスが failed と表示される

Solution In Progress - Updated -

Issue

  • RHBK を systemd サービスとして設定しました。サービスの開始と停止は正常に機能していますが、サービスが停止されると、ステータスが inactive ではなく常にfailed になります。
# systemctl status xxxxxx.service 
× xxxxx.service - xxxxx.service
     Loaded: loaded (/etc/systemd/system/xxxxx.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: exit-code) since xxxxxxx; 4s ago
   Duration: 10.016s
    Process: xxxxxx ExecStart=/path/to/bin/kc.sh start (code=exited, status=143)
    Process: xxxxxx ExecStop=/bin/kill -SIGTERM $PID (code=exited, status=0/SUCCESS)

Environment

  • Red Hat Build of Keycloak (RHBK)
    • 22.x+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content