legacy-knowledge-base
公開されました Jul. 2, 2025

jna tmp ディレクトリが設定されている状態で Elasticsearch の起動に失敗する(コアダンプ

投稿者

Jorge García Jiménez

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

legacy-article

learn-legacy-article-disclaimer-text

問題

  • リモートのElasticsearchを起動しようとすると、コアダンプでクラッシュする。
    # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGSEGV (0xb) at pc=0x00007f424226f40a, pid=28216, tid=139922878629632
      #
      # JRE version: Java(TM) SE Runtime Environment (7.0_75-b13) (build 1.7.0_75-b13)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.75-b04 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # C  [jna4948368637624641726.tmp+0x1240a]  ffi_prep_closure_loc+0x1a
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      #   http://bugreport.sun.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #
    
      ---------------  T H R E A D  ---------------
    
      Current thread (0x00007f424c00a000):  JavaThread "main" [_thread_in_native, id=28218, stack(0x00007f42556a0000,0x00007f42557a1000)]
    
      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000000
      

環境への配慮

  • Elasticsearch 2.2, 5, 6.
  • Liferay DXP 7.0、7.1、7.2。

決議

  • Elasticsearchが実行されているシステムユーザは、既存のホームディレクトリを持っていない。 このディレクトリが作成されると、期待通りにサービスが開始されます。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base