logresolve issues

Problems with the Windows version of XAMPP, questions, comments, and anything related.

logresolve issues

Postby CompproB237 » 18. September 2015 12:45

I am unable to use logresolve.exe.

Whenever I run an elevated batch command, or directly in an elevated command prompt, logresolve immediately crashes but the access.log.resolved file is generated.
I've spent the greater part of the last 2 days trying to figure out this problem.

Operating Systems tried on: Windows 7 and Windows 10.
User accounts used are Administrator.

The Batch command I created has progressed from running logresolve directly from the bin folder to having logresolve moved into the logs folder. It still immediately crashes.

Here's the basic version of the batch command I'm running:
Code: Select all
@echo off
cd /d R:\xampp\apache\logs
logresolve.exe -c < access.log > access.log.resolved
exit
Note: I copied logresolve.exe to see if my command, or logresolve's, syntax was at fault.

This results in the application crashing. Directly running logresolve.exe from the bin folder produces the exact same error.

The error I receive is "Apache logresolve command line pipe has stopped working"
Event viewer shows an Exception code: 0xc0000005 with offset of 0x00004816

If needed, I can post the event viewer's details. It generates two events: The error and the WER information.

I've removed all security software as well. I've also made sure my user account is given full control over the entire xampp directory. Double-checked that VC++ 2008 SP1 x86 and x64 are installed.
CompproB237
 
Posts: 3
Joined: 18. September 2015 11:58
Operating System: Windows 10

Re: logresolve issues

Postby CompproB237 » 02. October 2015 05:58

I'm still unable to determine how to use logresolve. No matter what I do, it immediately crashes if I try to run the program. I've now tried setting logresolve to use compatibility options and other various things and it still refuses to work.

Has anyone run into this issue and, if so, know how to fix it?
CompproB237
 
Posts: 3
Joined: 18. September 2015 11:58
Operating System: Windows 10

Re: logresolve issues

Postby gsmith » 03. October 2015 01:39

It looks like logresolve.exe is broken in 2.4 and has been for awhile, it crashes for me as well. The one with Apache 2.2 does work so I'd suggest you grab a recent copy of Apache 2.2.31 VC9 (2008) from Apache Haus and just using the logresolve.exe file from it.

C:\Apache22ah\bin>logresolve.exe -c < q:\apache24\logs\access.log > q:\apache24\logs\access.log.resolved
Bad host: baiduspider-220-181-108-161.crawl.baidu.com != 220.181.108.161
Bad host: baiduspider-220-181-108-179.crawl.baidu.com != 220.181.108.179

C:\Apache22ah\bin>httpd -V
Server version: Apache/2.2.31 (Win32)
Server built: Jul 15 2015 14:02:24
Distributed by: The Apache Haus (http://www.apachehaus.com)
Compiled with: Visual Studio 2008
Server's Module Magic Number: 20051115:40
Server loaded: APR 1.5.2, APR-Util 1.5.4
Compiled using: APR 1.5.2, APR-Util 1.5.4
Architecture: 32-bit
Server MPM: WinNT
gsmith
 
Posts: 278
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win 10/2012R VS 14,15,16

Re: logresolve issues

Postby CompproB237 » 20. October 2015 01:11

That solved my problem. Thank you!
CompproB237
 
Posts: 3
Joined: 18. September 2015 11:58
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 87 guests