some question about core dump

3245

Well-Known Member
#1
Hello
i enabled core dump for troubleshooting issue 503

but i cant see core dump in all site at server,

which site will create core dump? same have problem? or all sites?
 

3245

Well-Known Member
#4
have you any command i search all core files using it from root ssh?
cause i have much site on server and some of them receive 503 error,
i need a command find core files, then i check them for detect issue.

Thanks.
 

3245

Well-Known Member
#7
now i see a debug output, what is mean?

Code:
root@host [/home/cxsuser/user]# gdb core.1412720159_1
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-64.el6_5.2)
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/>...
Missing separate debuginfo for the main executable file
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build                                                                                                                      -id/e3/b200a5aba5810e4721bbb43b07f41af089431b
[New Thread 437686]

warning: no loadable sections found in added symbol-file system-supplied DSO at                                                                                                                       0x7fff1d158000
Core was generated by `lsphp5:'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000078066f in ?? ()
"/home/cxsuser/user/core.1412720159_1" is a core file.
Please specify an executable to debug.
(gdb) ^C(gdb) Quit
(gdb)
 

3245

Well-Known Member
#9
Thanks,
below is output:

Code:
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-64.el6_5.2)
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 lsws/fcgi-bin/lsphp5...done.
[New Thread 437686]
Missing separate debuginfo for /usr/lib64/mysql/libmysqlclient.so.18
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/d1/5c389626311ff7c828b42ae653d83cc3a02621
Missing separate debuginfo for /opt/libmcrypt/lib/libmcrypt.so.4
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/a7/ee30a3030e79ac805e033d4a1d147eb8be0015
Missing separate debuginfo for /opt/pcre/lib/libpcre.so.1
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/ee/72dade9e3b16b8b3bee2de6888d05fc9bf314f
Missing separate debuginfo for /opt/curlssl/lib/libcurl.so.4
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/5c/cc6de18cffd7fc966f8cfdc3e65b2bf6bfd107
Missing separate debuginfo for /opt/xml2/lib/libxml2.so.2
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/90/d95ad1f2cb60a7caf4e91a3aebb812db5eb713
Missing separate debuginfo for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/33/c332f0c796754eea57c99556ac22a6e403e0b7
Missing separate debuginfo for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/a0/087befa01f21f0cf70810210c1c184c3861201
Missing separate debuginfo for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/86/21b33bace8f580c238118f7fe91aff8ca182b2
Missing separate debuginfo for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/2f/9f32fc170758191fc56f8483b98ffb075a8fd3
Missing separate debuginfo for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.3.lin
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/65/b1cc0ef337ae2184736f63496253bc243e6ecd
Missing separate debuginfo for
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/bf/9f80cdd033b684d383fd9023a7cb66e5b7eb6d
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libexpat.so.1
Reading symbols from /usr/lib64/mysql/libmysqlclient.so.18...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient.so.18
Reading symbols from /opt/libmcrypt/lib/libmcrypt.so.4...done.
Loaded symbols for /opt/libmcrypt/lib/libmcrypt.so.4
Reading symbols from /usr/lib64/libltdl.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libltdl.so.7
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /lib64/libpam.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpam.so.0
Reading symbols from /usr/lib64/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfreetype.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 /usr/lib64/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXpm.so.4
Reading symbols from /usr/lib64/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/lib64/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libjpeg.so.62
Reading symbols from /opt/pcre/lib/libpcre.so.1...done.
Loaded symbols for /opt/pcre/lib/libpcre.so.1
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
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 /opt/curlssl/lib/libcurl.so.4...(no debugging symbols found)...done.
Loaded symbols for /opt/curlssl/lib/libcurl.so.4
Reading symbols from /lib64/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib64/libidn.so.11
Reading symbols from /opt/xml2/lib/libxml2.so.2...done.
Loaded symbols for /opt/xml2/lib/libxml2.so.2
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libaudit.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libaudit.so.1
Reading symbols from /usr/lib64/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxcb.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
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 /usr/lib64/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXau.so.6
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /usr/local/IonCube/ioncube_loader_lin_5.3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/IonCube/ioncube_loader_lin_5.3.so
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.3.lin...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.3.lin
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/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_dns.so.2

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff1d158000
Core was generated by `lsphp5:'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000078066f in tsrm_realpath_r ()
Missing separate debuginfos, use: debuginfo-install audit-libs-2.2-4.el6_5.x86_64 expat-2.0.1-11.el6_2.x86_64 freetype-2.3.11-14.el6_3.1.x86_64 glibc-2.12-1.132.el6_5.4.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-15.el6_5.1.x86_64 libX11-1.5.0-4.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXpm-3.5.10-2.el6.x86_64 libcom_err-1.41.12-18.el6_5.1.x86_64 libgcc-4.4.7-4.el6.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libpng-1.2.49-1.el6_2.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 libtool-ltdl-2.2.6-15.5.el6.x86_64 libxcb-1.8.1-1.el6.x86_64 nss-softokn-freebl-3.14.3-12.el6_5.x86_64 openssl-1.0.1e-16.el6_5.15.x86_64 pam-1.1.1-17.el6.x86_64 zlib-1.2.3-29.el6.x86_64
 

NiteWave

Administrator
#10
Loaded symbols for /usr/local/IonCube/ioncube_loader_lin_5.3.so
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.3.lin
in php.ini, comment out lines like
extension=.../ioncube_loader_lin_5.3.so
extension=../pdo.so
...
extension=../ixed.5.3.lin

restart lsws
see if 503 disappears
 

3245

Well-Known Member
#11
when i disabled ioncube, it resolved,
but i need ioncube
there is any solution for resolve issue ioncube with lsws?
 

NiteWave

Administrator
#12
ioncube itself works well with lsphp. it's your php configuration issue.
you can try comment out all other extensions and keep ioncube, will it result 503 ?
 
Top