Ubuntu 22.04 - установка coredumpctl: различия между версиями

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
(Новая страница: «=== Ubuntu 22.04 - установка coredumpctl === # apt install systemd-coredump -y Использование # coredumpctl info Пример отв...»)
 
 
Строка 1: Строка 1:
 
=== Ubuntu 22.04 - установка coredumpctl ===
 
=== Ubuntu 22.04 - установка coredumpctl ===
  
 +
Установка coredumpctl на Ubuntu 22.04 для собрания отладочной информации:
 
  # apt install systemd-coredump -y
 
  # apt install systemd-coredump -y
  

Текущая версия на 11:31, 25 февраля 2023

Ubuntu 22.04 - установка coredumpctl

Установка coredumpctl на Ubuntu 22.04 для собрания отладочной информации:

# apt install systemd-coredump -y


Использование

# coredumpctl info


Пример ответа:

# coredumpctl info
          PID: 2911 (mongod)
          UID: 0 (root)
          GID: 0 (root)
       Signal: 4 (ILL)
    Timestamp: Sat 2023-02-25 11:23:16 UTC (34s ago)
 Command Line: mongod
   Executable: /usr/bin/mongod
Control Group: /user.slice/user-0.slice/session-1.scope
         Unit: session-1.scope
        Slice: user-0.slice
      Session: 1
    Owner UID: 0 (root)
      Boot ID: 2ab4e0e6cbcd4d85b0d3a32678a3dee3
   Machine ID: f8f82b20c1c04aed4783cde385c5bff8
     Hostname: 103592.ip-ns.net
      Storage: /var/lib/systemd/coredump/core.mongod.0.2ab4e0e6cbcd4d85b0d3a32678a3dee3.2911.1677324196000000.zst (present)
    Disk Size: 728.1K
      Message: Process 2911 (mongod) of user 0 dumped core.
               Found module linux-vdso.so.1 with build-id: 0b4102aead272ab6ca8a3e5f14aa9e5f16225144
               Found module libffi.so.8 with build-id: 59c2a6b204f74f358ca7711d2dfd349d88711f6a
               Found module libkeyutils.so.1 with build-id: ff27227afa5eeddccab180dd29bd7fcff94aea7c
               Found module libtasn1.so.6 with build-id: 2fde6ecb43c586fe4077118f771077aa1298e7ea
               Found module libp11-kit.so.0 with build-id: a0ffe1d002de5812dc718186172efb78604ddf2c
               Found module libbrotlicommon.so.1 with build-id: 43a72967cf84155914c8b3e915926733d1e57c11
               Found module libsasl2.so.2 with build-id: 562c038e4a5a2196c9c085cd1f9276e3641399a6
               Found module libkrb5support.so.0 with build-id: f9dcbdef069078853fc0d3d7fbfc9bbb923cfe3c
               Found module libcom_err.so.2 with build-id: 568e80040a319cc71f3e256fa3d60f88ae9befb2
               Found module libk5crypto.so.3 with build-id: 1b22be74b69ba5fcd325664ba47bf9e87bf7d530
               Found module libkrb5.so.3 with build-id: c840d413c769ab9bcbcd12740eca61e5a969cce3
               Found module libgmp.so.10 with build-id: f110719303ddbea25a5e89ff730fec520eed67b0
               Found module libnettle.so.8 with build-id: 3d9c6bf106ef53d625b7b1c8bb1300e84598a74a
               Found module libhogweed.so.6 with build-id: 3cc4a3474de72db89e9dcc93bfb95fe377f48c37
               Found module libgnutls.so.30 with build-id: 843b60988232157225bc1f0a293321992abd107b
               Found module libunistring.so.2 with build-id: ca5149da8d5a298b8f286ffca3d6e2402ec0fe01
               Found module libz.so.1 with build-id: b22e9768303892af62d212ec9357a7f1a0824a91
               Found module libbrotlidec.so.1 with build-id: 4b1f390dd6e24d49684db8b2443d082379e8e977
               Found module libzstd.so.1 with build-id: 5d9d0d946a3154a748e87e17af9d14764519237b
               Found module liblber-2.5.so.0 with build-id: ceb9701ed32038b46b2a338bbeed911dd9dc2b49
               Found module libldap-2.5.so.0 with build-id: 97bdb00d2c4c4f57de39e7ed315f6551c6b7fd99
               Found module libgssapi_krb5.so.2 with build-id: cfb0a0611861784ae85210cca6e5cc729e554c23
               Found module libpsl.so.5 with build-id: 2b1afc1a3bc8bdb016e432c50db058632e7895b9
               Found module libssh.so.4 with build-id: f6a2eb7d2d6c5a8e3b7a9b2dcb3fa9ab394cf2b5
               Found module librtmp.so.1 with build-id: 9517ef375cd71ea3da824b4118f1599735093d66
               Found module libidn2.so.0 with build-id: 45b73e0e1c46a76be22f572ee98c60af5768bf8f
               Found module libnghttp2.so.14 with build-id: 90a67111383c58bfff9fac96da818cc62e5b68c9
               Found module ld-linux-x86-64.so.2 with build-id: aa1b0b998999c397062e1016f0c95dc0e8820117
               Found module libc.so.6 with build-id: 89c3cb85f9e55046776471fed05ec441581d1969
               Found module libgcc_s.so.1 with build-id: c43e9a70a55a0249b33d01e903049a7657f5c0ae
               Found module libm.so.6 with build-id: 27a8c28af0bfefefcf69ba73f7d4582d82e01f71
               Found module libssl.so.3 with build-id: cffdec0af44b6f5b7e6dcab78a9fbb6784b52780
               Found module libcrypto.so.3 with build-id: b24f98ff55c3c593747cde2130267beacfd32575
               Found module libresolv.so.2 with build-id: b327d1d09d8b2a637782eabdf388412e7cc42544
               Found module liblzma.so.5 with build-id: b85da6c48eb60a646615392559483b93617ef265
               Found module libcurl.so.4 with build-id: 7e79c8c22d787b0c06e3c81abe895970b98a2d26
               Found module mongod with build-id: bcb8f6c3ad4abf41c81882bae25c6885c6266cc4
               Stack trace of thread 2911:
               #0  0x000055e59ec6049a _ZN8tcmalloc7SizeMap4InitEv (mongod + 0x4f4c49a)
               #1  0x000055e59ec69077 _ZN8tcmalloc6Static14InitStaticVarsEv (mongod + 0x4f55077)
               #2  0x000055e59ec6ab27 _ZN8tcmalloc11ThreadCache10InitModuleEv (mongod + 0x4f56b27)
               #3  0x000055e59ec6acbd _ZN8tcmalloc11ThreadCache22CreateCacheIfNecessaryEv (mongod + 0x4f56cbd)
               #4  0x000055e59ed14875 _ZN8tcmalloc24allocate_full_malloc_oomEm (mongod + 0x5000875)
               #5  0x00007f538d8a4120 __newlocale (libc.so.6 + 0x39120)
               #6  0x00007f538ceb9ce8 n/a (libp11-kit.so.0 + 0x29ce8)
               #7  0x00007f538e17247e n/a (ld-linux-x86-64.so.2 + 0x647e)
               #8  0x00007f538e172568 n/a (ld-linux-x86-64.so.2 + 0x6568)
               #9  0x00007f538e18c2ea n/a (ld-linux-x86-64.so.2 + 0x202ea)