Difference between revisions of "Apache Core Dump"

From Amahi Wiki
Jump to: navigation, search
(Created page with 'When a web app crash, your browser give you an error message that looks like "This webpage is not available.", or offer you to save a file (when it shouldn't). If a web page / w…')
 
(No difference)

Latest revision as of 21:53, 7 April 2010

When a web app crash, your browser give you an error message that looks like "This webpage is not available.", or offer you to save a file (when it shouldn't).

If a web page / web app crash, here's how you can give us the info we need.

  1. Go to: http://hda/setup?sub=servers&tab=app Click "Apache Web Server", then uncheck "Watchdog".
  2. Open Terminal as root
  3. service httpd stop
  4. yum -y install gdb
  5. gdb /usr/sbin/httpd
  6. In gdb: run -X
    Wait a minute or so, then try to make it crash: try to load the page / do what you did in the past to make it crash.
    gdb should show something like this: Program received signal SIGSEGV, Segmentation fault.
  7. In gdb: bt
    Copy / paste what you get there on http://paste.amahi.org
  8. In gdb: quit
  9. killall httpd
  10. Go to: http://hda/setup?sub=servers&tab=app Click "Apache Web Server", then check "Watchdog".