Fix for mergelog, fails with error “abort due to a problem” for dummy records of apache access logs
If you are getting “abort due to problem” for apache access logs for dummy records when your run mergelog (or zmergelog) then you fix the problem as follows:
1. Open mergelog.c file under src folder
2. Look for #define SCAN_OFFSET 9
3. Change it to #define SCAN_OFFSET 7
That’s all.
The problem is that the mergelog looks for the date string starting from 9th character (as set by SCAN_OFFSET) of a record.
With this changes it will look from 7th character. In a dummy record below the date field starts from 8th charachter.
::1 – - [13/Dec/2009:00:00:06 +0800] “OPTIONS * HTTP/1.0″ 200 – “-” “God is Love (internal dummy connection)”
Changing SCAN_OFFSET to 7, mergelog starts looking for the date field ( [13/Dec/2009:00:00:06 +0800]) from 7th character.
Recent Entries
- Fix for mergelog, fails with error “abort due to a problem” for dummy records of apache access logs
- Shepherds life in mountain
- Finally on 19th day at 8pm we reached Badrinath
- Reached Bageshwar on our way to Badrinath
- Pilgrimage cum trekking to Badrinath from Almora
- Webalizer with extended reports feature
- A lesson well learnt
- Fourth visit to gurudeva in Philippines soon
- Munni Aunty – an “unknown” fellow disciple of Gurudeva
- Why I am here working as construction laborer…
October 30th, 2010 at 1:33 am
Another excellent solution for that zmerge problem is to fix it and have a fixed version HERE for download. A typical user / site owner has normally little to no time to learn all the fixing. Think for example 1 million user each patching = 5 minutes x 1’000’000 = 5 million minutes or more time consumed vs 1 coder patching once for all = 5 minutes time incl upload.
since zmerge no longer has maintainer – someone with BIG heart may adopt and keep current for this world on HIS website. may be look into mirror and may be you find someone with big or growing heart ??
The very same also applies to zFeeder problem/fix …
October 30th, 2010 at 1:35 am
a fixed version also should have a new version number to show at a glance it’s a NEWER version. ( also zFeeder version)