I tweaked the code and still get "Invalid Argument"
LogFile="perl d:\inetpub\iplani~1\awstat
Error: Couldn't open server log file "perl d:\inetpub\iplani~1\awstat
Main Topics
Browse All TopicsThis is killing me.
We turned on our cluster today so I need to update all of our Awstats programs to get stats from the second machine as well. I had a really hard time finding documentation on the logresolvemerge tool but I finally got it working from a dos prompt. This works:
perl tools/logresolvemerge.pl C:\WINDOWS\System32\LogFil
When I set the LogFile="x", though, that's another story entirely. I have tried every variation but I can't seem to get it to parse the perl. I have tried all of the following without any success. I always get "Error: Couldn't open server log file "tools\logresolvemerge.pl ex050801.log" : No such file or directory".
LogFile="perl tools\logresolvemerge.pl ex050801.log"
LogFile="tools\logresolvem
LogFile="THISFILEDOESNTEXI
(in each of the above cases the ex050801.log file does exist in the local directory)
This gives me an error: Invalid Argument
LogFile="perl ../cgi-bin/tools/logresolv
It appears that putting in the full path like C:\ causes the invalid argument error to happen.
I'm at my wits end and any help would be much appreciated.
IIS 6.0
AWSTATS 6.4
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I tweaked the code and still get "Invalid Argument"
LogFile="perl d:\inetpub\iplani~1\awstat
Error: Couldn't open server log file "perl d:\inetpub\iplani~1\awstat
The LogFile variable sets the location of the stats file for the program to parse. Using the logresolvemerge.pl method is supposed to merge multiple log files into one one the fly. I have implemented this just like I have seen it implemented other places on the web but not getting good results.
Normally the LogFile variable would read just like you mention above:
LogFile="C:\WINDOWS\System
but now that I am moving to a cluster I have to log files from multiple location and use the logmergeresolve to merge them.
Thanks for looking at this.... I surely appreciate it. It appears that the program is supposed execute the perl script.
Here is the instruction on how to use it:
http://awstats.sourceforge
And an example (step 4):
http://www.smartpanda.com/
LogFile="d:/inetpub/iplani
Creates "Bad File Descriptor" error
LogFile="d:/inetpub/iplani
Creates: "Invalid Argument" error
Business Accounts
Answer for Membership
by: ahoffmannPosted on 2005-08-02 at 03:46:10ID: 14577720
if it is perl, then you have to use \\ instead of \ 'cause \ itself is the escape character