• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Konstantin S. · Mar 29, 2017 at 03:11 PM · 6.5 agent apache php

apache + php errors

Today when testing the web application (installed Apache agent) with the connected PHP module, we have a problem:
In case of the appeal of a Web server to service of search (searchd), httpd falls with segfault. After switch-off of the PHP module, the problem disappears.

httpd_errorlog:

======= Backtrace: =========
/lib64/libc.so.6(+0x75f4e)[0x7f32b568ef4e]
/usr/lib64/enchant/libenchant_myspell.so(+0x2d34)[0x7f3252f69d34]
/usr/lib64/enchant/libenchant_myspell.so(_ZN14MySpellChecker17requestDictionaryEPKc+0x53)[0x7f3252f6a133]
/usr/lib64/enchant/libenchant_myspell.so(+0x3635)[0x7f3252f6a635]
/usr/lib64/libenchant.so.1(+0x4c9c)[0x7f32a66c0c9c]
/usr/lib64/libenchant.so.1(enchant_broker_request_dict+0x78)[0x7f32a66c0e88]
/usr/lib64/php/modules/enchant.so(+0x2f45)[0x7f32a68c9f45]
/etc/httpd/modules/libphp5.so(+0x268308)[0x7f32ac683308]
/etc/httpd/modules/libphp5.so(execute+0x210)[0x7f32ac65a640]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa50b0)[0x7f32a9c640b0]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa75a9)[0x7f32a9c665a9]
/etc/httpd/modules/libphp5.so(+0x267e26)[0x7f32ac682e26]
/etc/httpd/modules/libphp5.so(execute+0x210)[0x7f32ac65a640]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa50b0)[0x7f32a9c640b0]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa75a9)[0x7f32a9c665a9]
/etc/httpd/modules/libphp5.so(+0x267e26)[0x7f32ac682e26]
/etc/httpd/modules/libphp5.so(execute+0x210)[0x7f32ac65a640]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa50b0)[0x7f32a9c640b0]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa75a9)[0x7f32a9c665a9]
/etc/httpd/modules/libphp5.so(+0x267e26)[0x7f32ac682e26]
/etc/httpd/modules/libphp5.so(execute+0x210)[0x7f32ac65a640]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa50b0)[0x7f32a9c640b0]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa75a9)[0x7f32a9c665a9]
/etc/httpd/modules/libphp5.so(+0x24b01f)[0x7f32ac66601f]
/etc/httpd/modules/libphp5.so(execute+0x210)[0x7f32ac65a640]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa50b0)[0x7f32a9c640b0]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa75a9)[0x7f32a9c665a9]
/etc/httpd/modules/libphp5.so(+0x267e26)[0x7f32ac682e26]
/etc/httpd/modules/libphp5.so(execute+0x210)[0x7f32ac65a640]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa50b0)[0x7f32a9c640b0]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa75a9)[0x7f32a9c665a9]
/etc/httpd/modules/libphp5.so(+0x267e26)[0x7f32ac682e26]
/etc/httpd/modules/libphp5.so(execute+0x210)[0x7f32ac65a640]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa50b0)[0x7f32a9c640b0]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa75a9)[0x7f32a9c665a9]
/etc/httpd/modules/libphp5.so(+0x267e26)[0x7f32ac682e26]
/etc/httpd/modules/libphp5.so(execute+0x210)[0x7f32ac65a640]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa50b0)[0x7f32a9c640b0]
/opt/dynatrace-6.5/agent/downloads/6.5.11.1012/native/linux-x86-64/libdtphpagent53.so(+0xa77cf)[0x7f32a9c667cf]
/etc/httpd/modules/libphp5.so(zend_execute_scripts+0x15d)[0x7f32ac634d7d]
/etc/httpd/modules/libphp5.so(php_execute_script+0x1d8)[0x7f32ac5e2e58]
/etc/httpd/modules/libphp5.so(+0x2a2cc5)[0x7f32ac6bdcc5]
/usr/sbin/httpd(ap_run_handler+0x70)[0x7f32b7109bb0]
/usr/sbin/httpd(ap_invoke_handler+0xce)[0x7f32b710d46e]
/usr/sbin/httpd(ap_process_request+0x1c0)[0x7f32b7118b30]
/usr/sbin/httpd(+0x379a8)[0x7f32b71159a8]
/usr/sbin/httpd(ap_run_process_connection+0x68)[0x7f32b71116b8]
/usr/sbin/httpd(+0x3f977)[0x7f32b711d977]
/usr/sbin/httpd(+0x3fc8a)[0x7f32b711dc8a]
/usr/sbin/httpd(ap_mpm_run+0xc1c)[0x7f32b711e90c]
/usr/sbin/httpd(main+0xb60)[0x7f32b70f5900]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f32b5637d5d]
/usr/sbin/httpd(+0x16899)[0x7f32b70f4899]
======= Memory map: ========
7f3252d26000-7f3252d63000 r-xp 00000000 fd:00 277533 /usr/lib64/libhunspell-1.2.so.0.0.0
7f3252d63000-7f3252f62000 ---p 0003d000 fd:00 277533 /usr/lib64/libhunspell-1.2.so.0.0.0
7f3252f62000-7f3252f67000 rw-p 0003c000 fd:00 277533 /usr/lib64/libhunspell-1.2.so.0.0.0
7f3252f67000-7f3252f6c000 r-xp 00000000 fd:00 277555 /usr/lib64/enchant/libenchant_myspell.so
7f3252f6c000-7f325316b000 ---p 00005000 fd:00 277555 /usr/lib64/enchant/libenchant_myspell.so
7f325316b000-7f325316c000 rw-p 00004000 fd:00 277555 /usr/lib64/enchant/libenchant_myspell.so
7f325316c000-7f325316e000 r-xp 00000000 fd:00 262925 /usr/lib64/enchant/libenchant_aspell.so
7f325316e000-7f325336d000 ---p 00002000 fd:00 262925 /usr/lib64/enchant/libenchant_aspell.so
7f325336d000-7f325336e000 rw-p 00001000 fd:00 262925 /usr/lib64/enchant/libenchant_aspell.so
7f325336e000-7f32591ff000 r--p 00000000 fd:00 263572 /usr/lib/locale/locale-archive
7f32591ff000-7f3259200000 ---p 00000000 00:00 0
7f3259200000-7f3259c00000 rw-p 00000000 00:00 0
7f3259c00000-7f3299c00000 rw-s 00000000 00:10 82255749 /dev/shm/apc.38JnFi (deleted)
7f3299c00000-7f329a000000 rw-p 00000000 00:00 0
7f329a0f4000-7f329a0f6000 r-xp 00000000 fd:00 262480 /usr/lib64/gconv/CP1251.so
7f329a0f6000-7f329a2f5000 ---p 00002000 fd:00 262480 /usr/lib64/gconv/CP1251.so
7f329a2f5000-7f329a2f6000 r--p 00001000 fd:00 262480 /usr/lib64/gconv/CP1251.so
7f329a2f6000-7f329a2f7000 rw-p 00002000 fd:00 262480 /usr/lib64/gconv/CP1251.so
7f329a2f7000-7f329a6fc000 rw-s 00000000 fd:00 32699 /opt/dynatrace-6.5/agent/conf/dynaTraceWebServerSharedMemory
7f329a6fc000-7f329a70f000 r-xp 00000000 fd:00 277518 /usr/lib64/php/modules/zip.so
7f329a70f000-7f329a90e000 ---p 00013000 fd:00 277518 /usr/lib64/php/modules/zip.so
7f329a90e000-7f329a910000 rw-p 00012000 fd:00 277518 /usr/lib64/php/modules/zip.so
7f329a910000-7f329a913000 r-xp 00000000 fd:00 263659 /lib64/libgpg-error.so.0.5.0
7f329a913000-7f329ab12000 ---p 00003000 fd:00 263659 /lib64/libgpg-error.so.0.5.0
7f329ab12000-7f329ab13000 r--p 00002000 fd:00 263659 /lib64/libgpg-error.so.0.5.0
7f329ab13000-7f329ab14000 rw-p 00003000 fd:00 263659 /lib64/libgpg-error.so.0.5.0
7f329ab14000-7f329ab86000 r-xp 00000000 fd:00 263817 /lib64/libgcrypt.so.11.5.3
7f329ab86000-7f329ad85000 ---p 00072000 fd:00 263817 /lib64/libgcrypt.so.11.5.3
7f329ad85000-7f329ad86000 r--p 00071000 fd:00 263817 /lib64/libgcrypt.so.11.5.3
7f329ad86000-7f329ad89000 rw-p 00072000 fd:00 263817 /lib64/libgcrypt.so.11.5.3
7f329ad89000-7f329adc4000 r-xp 00000000 fd:00 274442 /usr/lib64/libxslt.so.1.1.26
7f329adc4000-7f329afc4000 ---p 0003b000 fd:00 274442 /usr/lib64/libxslt.so.1.1.26
7f329afc4000-7f329afc6000 rw-p 0003b000 fd:00 274442 /usr/lib64/libxslt.so.1.1.26
7f329afc6000-7f329afd9000 r-xp 00000000 fd:00 274439 /usr/lib64/libexslt.so.0.8.15
7f329afd9000-7f329b1d9000 ---p 00013000 fd:00 274439 /usr/lib64/libexslt.so.0.8.15
7f329b1d9000-7f329b1da000 rw-p 00013000 fd:00 274439 /usr/lib64/libexslt.so.0.8.15
7f329b1da000-7f329b1e1000 r-xp 00000000 fd:00 277577 /usr/lib64/php/modules/xsl.so
7f329b1e1000-7f329b3e1000 ---p 00007000 fd:00 277577 /usr/lib64/php/modules/xsl.so
7f329b3e1000-7f329b3e2000 rw-p 00007000 fd:00 277577 /usr/lib64/php/modules/xsl.so
7f329b3e2000-7f329b3ea000 r-xp 00000000 fd:00 277576 /usr/lib64/php/modules/xmlwriter.so
7f329b3ea000-7f329b5e9000 ---p 00008000 fd:00 277576 /usr/lib64/php/modules/xmlwriter.so
7f329b5e9000-7f329b5ed000 rw-p 00007000 fd:00 277576 /usr/lib64/php/modules/xmlwriter.so
7f329b5ed000-7f329b5ff000 r-xp 00000000 fd:00 274459 /usr/lib64/php/modules/xmlrpc.so
7f329b5ff000-7f329b7fe000 ---p 00012000 fd:00 274459 /usr/lib64/php/modules/xmlrpc.so
--
[Wed Mar 29 15:03:17 2017] [notice] child pid 33759 exit signal Aborted (6)

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andrzej S. · Mar 30, 2017 at 03:00 PM

Hi @Konstantin S., PHP Agent dev here. Please contact me at andrzej.sawula@dynatrace.com and we will try to help you.

Please collect as much info from the following list as you can:

  1. a core dump from the crashed Apache process
  2. exact PHP build version (distro name/version + full package name is OK)
  3. exact build versions of Enchant libraries (/usr/lib64/php/modules/enchant.so, /usr/lib64/libenchant.so.1, /usr/lib64/enchant/libenchant_myspell.so) – again full names of the respective packages are OK

(We will need to find debug symbols for PHP and the libs involved, that is why I am asking you for detailed info on them.)

Best regards,
--
Andrzej

Comment
James K.

People who like this

1 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by James K. · Mar 29, 2017 at 05:18 PM

I have doubts you will be able to get much help for an issue like this on the forums, I do see some support cases where they were able to resolve similar issues but it involved some more in-depth work with support so I would open up a support case for this.

James

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

19 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

insertion cookie

PHP Agent - Compatibility with PHP- FPM using Apache

About How to install the Java agent and WSAgent on same *nix OS.

Will ApacheNodeName work for IHS (IBM HTTP Server)

License issue.

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A