Users are not receiving emails or push notifications in Data Center

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

Users do not receive email or push notifications when they're offline. 

It is also possible that some users do receive notifications and others don't depending on the node they're connected to. 

診断

環境

  • Hipchat Data Center

Diagnostic Steps

  • Test your SMTP relay configuration by sending a test email from System > Email server > Test configuration > Send test email
  • Verify the gearmand process is running on all nodesgearmand is responsible for queuing the notifications: 

    sudo dont-blame-hipchat -c "monit status | grep -A1 \"Process 'gearmand'\""
  • Verify the curler process is running on all nodes, curler is responsible for polling the gearmand queue and processing the notifications:

    sudo dont-blame-hipchat -c "monit status | grep -A1 \"Process 'curler'\""

原因

No notifications will be sent to your SMTP relay server if gearmand or curler are down.

It is possible that one of those two services has always been down since you setup Hipchat Data Center. It is more likely to impact Gearman and we have an open bug about it  HCPUB-3758 - Getting issue details... STATUS

ソリューション

If curler or gearmand are down on a given node, run the following steps: 

  1. Gain root access:

    sudo dont-blame-hipchat 
  2. If gearmand is down, start it up:

    /usr/sbin/service gearman-job-server start
  3. Verify gearmand is up:

    /usr/sbin/service gearman-job-server status
  4. Restart curler:

    /etc/init.d/curler restart
  5. There's a chance monit gave up on monitoring gearman, monitor it again: 

    monit monitor gearmand
  6. Wait for a few minutes and verify monit sees gearmand and curler as up, monit is the service monitoring the Hipchat services:

    monit status | grep -A1 "Process 'gearmand'"
    monit status | grep -A1 "Process 'curler'"
  7. Retest the notifications


Last modified on Mar 13, 2018

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.