| Author |
AWstats Apache 2.34 Win32 Reverse DNS Errors
|
|
| Jujubee 2004-03-24, 9:33 pm |
| I was hoping someone could help me out here. My setup is Apache on
Win32 hosted over a cablemodem. I have the latest Activestate Perl
installed. I have Lookups in Apache set to off. My logs currently have
IP addresses listed. I'd like to post process my logfiles for reverse
lookups.
I tried using a windows port of webalizer- no such luck on the reverse
dns. It bombs after about three months of postprocessing.
I looked into logresolve (from Apache) and had no idea as to how to
implement/instruct it from the command line. Completely confused on
their documentation (though it's probably something really simple.) If
someone does post to this comment please explain in laymen's terms.
I tried using AwStats set to 1 for reverse lookups and I end up
getting a server error 500 (apache) after about 10 minutes and 3
months of processing. I tried shaving three months off and it still
encounters hangs. It works fine without reverse dns on. Ideally I'd
like to turn this feature on as I'd like to see which companies are
hitting my site without having to manually enter everything in.
I even tried loading in Geo-IP (Maxmind) as I do have the latet
version of ActivePerl installed. After I uncomment my webstats conf
file for GeoIP plugin and run an update for awstats, I end up getting
a windows error concerning PERL Command Line Interpreter:
szAppName : perl.exe szAppVer : 5.6.1.635 szModName :
ntdll.dll
szModVer : 5.1.2600.1217 offset : 0000b32d
Anyone have any ideas as to how to implement reverse dns simply so I
can analyze my logs on win32? I'm at a confusing loss here...
Thanks,
Chuck
| |
| Brian K. White 2004-03-24, 10:33 pm |
| I have used Webalizer successfully in the past for post processing of the
logs. I am currently using a product that is much faster called LookupIP
(actually a revised version) that is distributed under a GPL. It is a
windows executable that post processes a log file and creates a new file
with the IP addresses replaced with host names. You can then use the new
file to generate your Webalizer statistics. It takes about 30 seconds on my
web server which is not the fasted in the world to process 130000 entries
in the log file. I have a .cmd file which executes LookupIP and Webalizer
on my logs set up to run as a scheduled task. System is WindowsXP with
Apache 2.0.48. (LookupIP is unversioned? however I am using an update that
was recompiled fixing a small bug.)
--Brian K. White
"Jujubee" <leo_charles@hotmail.com> wrote in message
news:dff53532.0403241834.1f5adfb@posting.google.com...
> I was hoping someone could help me out here. My setup is Apache on
> Win32 hosted over a cablemodem. I have the latest Activestate Perl
> installed. I have Lookups in Apache set to off. My logs currently have
> IP addresses listed. I'd like to post process my logfiles for reverse
> lookups.
>
> I tried using a windows port of webalizer- no such luck on the reverse
> dns. It bombs after about three months of postprocessing.
>
> I looked into logresolve (from Apache) and had no idea as to how to
> implement/instruct it from the command line. Completely confused on
> their documentation (though it's probably something really simple.) If
> someone does post to this comment please explain in laymen's terms.
>
> I tried using AwStats set to 1 for reverse lookups and I end up
> getting a server error 500 (apache) after about 10 minutes and 3
> months of processing. I tried shaving three months off and it still
> encounters hangs. It works fine without reverse dns on. Ideally I'd
> like to turn this feature on as I'd like to see which companies are
> hitting my site without having to manually enter everything in.
>
> I even tried loading in Geo-IP (Maxmind) as I do have the latet
> version of ActivePerl installed. After I uncomment my webstats conf
> file for GeoIP plugin and run an update for awstats, I end up getting
> a windows error concerning PERL Command Line Interpreter:
>
> szAppName : perl.exe szAppVer : 5.6.1.635 szModName :
> ntdll.dll
> szModVer : 5.1.2600.1217 offset : 0000b32d
>
> Anyone have any ideas as to how to implement reverse dns simply so I
> can analyze my logs on win32? I'm at a confusing loss here...
>
> Thanks,
>
> Chuck
| |
| Jujubee 2004-03-25, 6:33 am |
| Thanks man for the suggestion! I'll have to look at it later today.
I'll let you know how it goes...
| |
| Jujubee 2004-03-25, 7:33 am |
| Just downloaded it and took a quick peak at it. Do you have any
examples of your default command line parameters that I could take a
peek at? Wondering if there's any 'magic bullet' numbers...
-chuck
| |
| Jujubee 2004-03-25, 9:33 pm |
| Tried it several times and just says it is extracting... Doesn't seem
to be working properly. Any other suggestions or perhaps someone might
know what I am doing wrong? I typed in the following:
Lookupip website-access.log website-lookup.log
-Chuck
| |
| Brian K. White 2004-03-26, 10:33 am |
| It sounds like you are running the a self extracting .exe that is used to
distribute the program and not the program itself. If you downloaded
revised lookupip then the executable is in a subdirectory. You are using
the same command line as what I am using.
"Jujubee" <leo_charles@hotmail.com> wrote in message
news:dff53532.0403251747.7871aef2@posting.google.com...
> Tried it several times and just says it is extracting... Doesn't seem
> to be working properly. Any other suggestions or perhaps someone might
> know what I am doing wrong? I typed in the following:
>
> Lookupip website-access.log website-lookup.log
>
> -Chuck
|
|
|
|