###前提・実現したいこと
以下のOS、WEBサーバを運用しております。
以前、 Acronisでバックアップするため一度シャットダウンし、CDブートによるバックアップ後に再起動をかけたところ、segfaultエラーが多発するようになりました。
###発生している問題・エラーメッセージ
[/var/log/messages-20160829]
Aug 29 08:11:03 fg13 kernel: httpd[3829]: segfault at 7f78d6a0a062 ip 0000 7f78d6a0a062 sp 00007f78c96cad98 error 14 in libnss_files-2.12.so[7f78d85ef000+c000]
Aug 29 08:18:22 fg13 kernel: httpd[4900]: segfault at 7f78d6a0a05c ip 0000 7f78d6a0a05c sp 00007f78c78c7d98 error 14
Aug 29 08:18:22 fg13 kernel: httpd[4901]: segfault at 7f78d6a0a05c ip 0000 7f78d6a0a05c sp 00007f78c6ec6d98 error 14
Aug 29 08:18:22 fg13 kernel: httpd[4897]: segfault at 7f78d6a0a05e ip 0000 7f78d6a0a05e sp 00007f78c96cad98 error 14
以下省略
###該当のソースコード
###試したこと
httpd.confに
CoreDumpDirectory /tmp/apache-core
と追記し、コアファイルを出力。
コアファイルの解析を試みました。
新たにコアファイルを取り直し、再度コマンドを打ってみました。
gdb /usr/sbin/httpd -c core.10880
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-75.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/sbin/httpd...Reading symbols from /usr/lib/debug/usr/sbin/httpd.debug...done.
done.
[New Thread 13348]
[New Thread 10880]
[New Thread 13349]
[New Thread 13347]
Missing separate debuginfo for /lib64/libm.so.6
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/98/9fe3a42ca8cebdcc185a743896f23a0cf537ed
Missing separate debuginfo for /lib64/libcrypt.so.1
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/12/8802b73016be233837ea9f2dcbc2153acc2d6a
Missing separate debuginfo for /lib64/libpthread.so.0
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/c5/6dd1b811fc0d9263248ebb308c73fcbcd80fc1
Missing separate debuginfo for /lib64/libc.so.6
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/a1/db9754d1f523a6f16ada929d6764a133dc6fa2
Missing separate debuginfo for /lib64/libdl.so.2
~~~~中略~~~~~
Missing separate debuginfo for /lib64/librt.so.1
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/95/159178f1a4a3dbdc7819fbea2c80e5fcdd6bac
warning: .dynamic section for "/lib64/ld-linux-x86-64.so.2" is not at the expected address (wrong library or version mismatch?)
warning: Can't read pathname for load map: 入力/出力エラーです.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/lib64/libm-2.12.so.debug...done.
done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libpcre.so.0...
warning: the debug information found in "/usr/lib/debug//lib64/libpcre.so.0.0.1.debug" does not match "/lib64/libpcre.so.0" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug/lib64/libpcre.so.0.0.1.debug" does not match "/lib64/libpcre.so.0" (CRC mismatch).
(no debugging symbols found)...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /lib64/libselinux.so.1...
warning: the debug information found in "/usr/lib/debug//lib64/libselinux.so.1.debug" does not match "/lib64/libselinux.so.1" (CRC mismatch).
~~~~中略~~~~~
done.
Loaded symbols for /lib64/libexpat.so.1.5.2
Reading symbols from /lib64/libdb-4.7.so...
warning: the debug information found in "/usr/lib/debug//lib64/libdb-4.7.so.debug" does not match "/lib64/libdb-4.7.so" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug/lib64/libdb-4.7.so.debug" does not match "/lib64/libdb-4.7.so" (CRC mismatch).
(no debugging symbols found)...done.
Loaded symbols for /lib64/libdb-4.7.so
Reading symbols from /usr/lib64/libapr-1.so.0.3.9...Reading symbols from /usr/lib/debug/usr/lib64/libapr-1.so.0.3.9.debug...done.
done.
Loaded symbols for /usr/lib64/libapr-1.so.0.3.9
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/lib64/libpthread-2.12.so.debug...done.
[Thread debugging using libthread_db enabled]
done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/lib64/libc-2.12.so.debug...done.
done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/lib64/libdl-2.12.so.debug...done.
done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib64/ld-2.12.so.debug...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libuuid.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libuuid.so.1
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib64/libnss_files-2.12.so.debug...done.
done.
~~~~中略~~~~~
Reading symbols from /usr/lib64/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxml2.so.2
Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgssapi_krb5.so.2
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libresolv.so.2...Reading symbols from /usr/lib/debug/lib64/libresolv-2.12.so.debug...done.
done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /usr/lib64/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libSM.so.6
Reading symbols from /usr/lib64/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libICE.so.6
Reading symbols from /usr/lib64/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libX11.so.6
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/lib64/librt-2.12.so.debug...done.
done.
warning: Can't read pathname for load map: 入力/出力エラーです.
Core was generated by `/usr/sbin/httpd'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f105bef705c in ?? ()
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-7.el6_0.x86_64 db4-4.7.25-18.el6_4.x86_64
gmp-4.3.1-7.el6_2.2.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-33.el6.x86_64 libICE-1.0.6-1.el6.x86_64
libSM-1.2.1-2.el6.x86_64 libX11-1.6.0-2.2.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libcom_err-1.41.12-21.el6.x86_64
libgcc-4.4.7-11.el6.x86_64 libselinux-2.0.94-5.8.el6.x86_64 libuuid-2.17.2-12.18.el6.x86_64 libxcb-1.9.1-2.el6.x86_64
libxml2-2.7.6-17.el6_6.1.x86_64 nss-softokn-freebl-3.14.3-18.el6_6.x86_64 openssl-1.0.1e-30.el6_6.4.x86_64
pcre-7.8-6.el6.x86_64 php-5.3.3-40.el6_6.x86_64
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
なお、compat-glibc-2.5-46.2.x86_64とcompat-glibc-headers-2.5-46.2.x86_64のバージョン2.12-1.192.el6.x86_64への変更はやり方がわからずそのままです。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
rpm -qa |grep debuginfo
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
libselinux-debuginfo-2.0.94-7.el6.x86_64
apr-util-debuginfo-1.3.9-3.el6_0.1.x86_64
pcre-debuginfo-7.8-7.el6.x86_64
glibc-debuginfo-common-2.12-1.192.el6.x86_64
expat-debuginfo-2.0.1-11.el6_2.x86_64
httpd-debuginfo-2.2.15-54.el6_8.x86_64
glibc-debuginfo-2.12-1.192.el6.x86_64
apr-debuginfo-1.3.9-5.el6_2.x86_64
openldap-debuginfo-2.4.40-12.el6.x86_64
zlib-debuginfo-1.2.3-29.el6.x86_64
db4-debuginfo-4.7.25-20.el6_7.x86_64
回答2件
あなたの回答
tips
プレビュー