Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Generate Crash Dump for Apache in Windows 2008 Server R2 |
|
Author |
|
rskb4u
Joined: 14 Apr 2014 Posts: 25 Location: India
|
Posted: Fri 05 Sep '14 9:23 Post subject: Generate Crash Dump for Apache in Windows 2008 Server R2 |
|
|
Hi forum,
Please guide us to generate crash dumps for apache 2.4.9 at the time freeze or crash in windows environment 2008 server R2.
Thanks,
Shiva Rudra |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 05 Sep '14 12:00 Post subject: |
|
|
As far as I know Apache doesn't do that on Windows (if some one knows better, please correct me).
There is a how to debugging page with Getting a live backtrace on Windows.
Also you may look into the Windows event log |
|
Back to top |
|
rskb4u
Joined: 14 Apr 2014 Posts: 25 Location: India
|
Posted: Fri 05 Sep '14 12:48 Post subject: |
|
|
Hi James,
Can we follow below procedure to generate the dumps for Apache:
Update the registry using the Windows Registry Editor (regedit)
Start regedit
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting
1) Create a 'LocalDumps' key under 'Windows Error Reporting' if it doesn't already exist.
To create the key, Rt-click 'Windows Error Reporting' and select 'New->Key', then enter "LocalDumps" as the key name.
2) Create a 'httpd.exe' key under 'LocalDumps' if it doesn't already exist.
To create the key, Rt-click 'LocalDumps' and select 'New->Key', then enter "httpd.exe" as the key name.
3) Create a 'DumpFolder' key under 'httpd.exe' with a value of 'C:\crashdumps' (or whatever directory you created to store the dump files into)
To create the key:
-Rt-click 'httpd.exe' and select 'New->Expandable String Value'
-Enter 'DumpFolder' as the key name
-Double-click the new key name to provide its value and enter the pathname of the directory to be used to store the dump files (ex: C:\crashdumps)
Create a 'DumpType' key under 'httpd.exe' with a value of '1' (which indicates to generate a 'Minidump' dump file)
4) To create the key:
-Rt-click 'httpd.exe' and select 'New->DWORD (32 bit) Value'
-Enter 'DumpType' as the key name
-Double-click the new key name to provide its value. Select the 'Decimal' option for 'Base', then enter '1' for 'Value data'.
Does this procedure generate dumps for only apache or whole system?
Link for you reference and please help us.
http://publib.boulder.ibm.com/httpserv/ihsdiag/win32_tools_doc.html
Thanks,
Shiva Rudra |
|
Back to top |
|
|
|
|
|
|