Thanks for reply,
other scripts runs quite well.
Also anlgform.pl from command line (anlgform.pl qv=1 LOGFILE=/some/log
REQINCLUDE=pages) with now errors. Analog.exe runs also and create
report.html.
The problem accure only if i want to run the anlgform.pl with a browser.
Is it possible that the IIS6 don't understand the correct headers which
comes from analog?
Regards
Andreas
Today's Topics:
1. Corrupt lines due to Referrer field (Johan Eeckhout)
2. Re: Corrupt lines due to Referrer field (Aengus)
3. Re: Corrupt lines due to Referrer field (Johan Eeckhout)
4. Problem with Form and CGI on TOmcat 4.1 with Analog 6.0
(Murali Bestha)
5. Re: Problem with Form and CGI on TOmcat 4.1 with Analog 6.0
(Chris Sharman)
6. help anlgform.pl (Info Dotnet)
7. Re: help anlgform.pl (Jeremy Wadsack)
8. Re: help anlgform.pl (Aengus)
----------------------------------------------------------------------
Message: 1
Date: Wed, 06 Apr 2005 21:03:59 +0000
From: "Johan Eeckhout" <[EMAIL PROTECTED]>
Subject: [analog-help] Corrupt lines due to Referrer field
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed
Hi,
I'm trying to build a report with some IIS logfiles using Analog 6.
Analog
reports lots of corrupt lines. I turned on debugging and got this :
-------------
C: 1110026691376 192.168.5.15 - 2005-03-05 12:44:51.376 GET
/IXDIA01EN/Fr/upload_input.asp - 200 5060 - "Mozilla/4.0 (compatible;
MSIE
6.0)"
C:
*
-------------
(Asterisk is shown for cs(referer) field).
The logfile format is as follows :
---------------
#Fields: x-tmstp c-ip c-auth-id date time cs-method cs-uri-stem
cs-uri-query
sc-status sc-bytes cs(referer) cs(user-agent)
---------------
Apparently analog has a problem with the Referrer field when it equals
"-",
since all entries where the Referrer field has another value are
accepted
just fine.
Any ideas ?
Johan Eeckhout
PS : by the way, I'm a first-day user of analog, so bear with me ;-)
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
------------------------------
Message: 2
Date: Wed, 6 Apr 2005 23:00:29 +0100
From: "Aengus" <[EMAIL PROTECTED]>
Subject: Re: [analog-help] Corrupt lines due to Referrer field
To: "Support for analog web log analyzer" <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="Windows-1252"
On Wednesday, April 06, 2005 10:03 PM [GMT],
Johan Eeckhout <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to build a report with some IIS logfiles using Analog 6.
> Analog reports lots of corrupt lines. I turned on debugging and got
> this :
> -------------
> C: 1110026691376 192.168.5.15 - 2005-03-05 12:44:51.376 GET
> /IXDIA01EN/Fr/upload_input.asp - 200 5060 - "Mozilla/4.0 (compatible;
> MSIE
> 6.0)"
> C:
> *
> -------------
> (Asterisk is shown for cs(referer) field).
>
> The logfile format is as follows :
> ---------------
> #Fields: x-tmstp c-ip c-auth-id date time cs-method cs-uri-stem
> cs-uri-query sc-status sc-bytes cs(referer) cs(user-agent)
> ---------------
>
> Apparently analog has a problem with the Referrer field when it
> equals "-", since all entries where the Referrer field has another
> value are accepted just fine.
>
> Any ideas ?
That's odd. If I create a 2 line logfile with just your #Fields line and
that one log line, Analog says "F: Detect that it's in W3 extended
format", but doesn't like your referrer. If I put the 3 lines from an
IIS log file that cause Analog to see the log file as "Microsoft's
version of extended format", Analog has no problem with your Referrer.
This old post from the archives suggests that W3 Extended format is
supposed to have quotes around referrers, and that IIS didn't do this,
so Analog treats it as a special case, which is why "tricking" Analog
into treating your logfile as an IIS logfile works. But the W3
"definition" was never actually finished, as far as I can remember, and
there were other issues with it.
http://lists.meer.net/pipermail/analog-help/2001-November/010515.html
Do the log entries that do have referrers have quotes? If they do, you
could use these two LOGFORMAT strings together to read your logfile:
LOGFORMAT (%j %s %u %Y-%m-%d %h:%n:%j %j %r %q %c %b "%f" "%B")
LOGFORMAT (%j %s %u %Y-%m-%d %h:%n:%j %j %r %q %c %b %f "%B")
(You can use DEFAULTLOGFORMAT if you want to keep specifying the logfile
on the command line).
Aengus
------------------------------
Message: 3
Date: Thu, 07 Apr 2005 07:23:25 +0000
From: "Johan Eeckhout" <[EMAIL PROTECTED]>
Subject: Re: [analog-help] Corrupt lines due to Referrer field
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed
Indeed, the other lines have referrer between quotes.
By the way, I was not entirely correct saying I was using IIS files;
actually the logging comes from our firewall, which is not MS at all.
Anyway, I'll try your solution later on and give you feedback.
Thanks!
Johan
>From: "Aengus" <[EMAIL PROTECTED]>
>Reply-To: Support for analog web log analyzer
<[email protected]>
>To: "Support for analog web log analyzer" <[email protected]>
>Subject: Re: [analog-help] Corrupt lines due to Referrer field
>Date: Wed, 6 Apr 2005 23:00:29 +0100
>
>On Wednesday, April 06, 2005 10:03 PM [GMT],
>Johan Eeckhout <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I'm trying to build a report with some IIS logfiles using Analog 6.
> > Analog reports lots of corrupt lines. I turned on debugging and got
> > this :
> > -------------
> > C: 1110026691376 192.168.5.15 - 2005-03-05 12:44:51.376 GET
> > /IXDIA01EN/Fr/upload_input.asp - 200 5060 - "Mozilla/4.0
(compatible;
> > MSIE
> > 6.0)"
> > C:
> > *
> > -------------
> > (Asterisk is shown for cs(referer) field).
> >
> > The logfile format is as follows :
> > ---------------
> > #Fields: x-tmstp c-ip c-auth-id date time cs-method cs-uri-stem
> > cs-uri-query sc-status sc-bytes cs(referer) cs(user-agent)
> > ---------------
> >
> > Apparently analog has a problem with the Referrer field when it
> > equals "-", since all entries where the Referrer field has another
> > value are accepted just fine.
> >
> > Any ideas ?
>
>That's odd. If I create a 2 line logfile with just your #Fields line
and
>that one log line, Analog says "F: Detect that it's in W3 extended
>format", but doesn't like your referrer. If I put the 3 lines from an
>IIS log file that cause Analog to see the log file as "Microsoft's
>version of extended format", Analog has no problem with your Referrer.
>
>This old post from the archives suggests that W3 Extended format is
>supposed to have quotes around referrers, and that IIS didn't do this,
>so Analog treats it as a special case, which is why "tricking" Analog
>into treating your logfile as an IIS logfile works. But the W3
>"definition" was never actually finished, as far as I can remember, and
>there were other issues with it.
>http://lists.meer.net/pipermail/analog-help/2001-November/010515.html
>
>Do the log entries that do have referrers have quotes? If they do, you
>could use these two LOGFORMAT strings together to read your logfile:
>
>LOGFORMAT (%j %s %u %Y-%m-%d %h:%n:%j %j %r %q %c %b "%f" "%B")
>
>LOGFORMAT (%j %s %u %Y-%m-%d %h:%n:%j %j %r %q %c %b %f "%B")
>
>(You can use DEFAULTLOGFORMAT if you want to keep specifying the
logfile
>on the command line).
>
>Aengus
>
>+----------------------------------------------------------------------
--
>| TO UNSUBSCRIBE from this list:
>| http://lists.meer.net/mailman/listinfo/analog-help
>|
>| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
>| List archives: http://www.analog.cx/docs/mailing.html#listarchives
>+----------------------------------------------------------------------
--
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeR
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
------------------------------
Message: 4
Date: Thu, 7 Apr 2005 17:24:06 +0900
From: Murali Bestha <[EMAIL PROTECTED]>
Subject: [analog-help] Problem with Form and CGI on TOmcat 4.1 with
Analog 6.0
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Hi,
I am new to Analog. I was trying out the Analog5.0.1. I ran that
program on the local machine and also deployed the form and perl
program on to Tomcat 4.1. This ran successfully and I gave a demo to
my boss also.
Then we decided to go for the latest verion Analog6.0. I have setup
the Analog 6.0 on the local machine and successfully generated the
report. Now I am trying to deploy the same on the Tomcat 4.1. I have
made the necessary changes to the HTML and Perl program. When I submit
the form, a blank HTML page is displayed and the report HTML source
code is written to the TOmcat Log.
I am wondering what could be the problem. Please help me in this
rehgard.
Thanks in advance
Regards
Murali
------------------------------
Message: 5
Date: Thu, 07 Apr 2005 09:45:53 +0100
From: Chris Sharman <[EMAIL PROTECTED]>
Subject: Re: [analog-help] Problem with Form and CGI on TOmcat 4.1
with Analog 6.0
To: Support for analog web log analyzer <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed
,[email protected]> wrote:
> Hi,
>
> I am new to Analog. I was trying out the Analog5.0.1. I ran that
> program on the local machine and also deployed the form and perl
> program on to Tomcat 4.1. This ran successfully and I gave a demo to
> my boss also.
>
> Then we decided to go for the latest verion Analog6.0. I have setup
> the Analog 6.0 on the local machine and successfully generated the
> report. Now I am trying to deploy the same on the Tomcat 4.1. I have
> made the necessary changes to the HTML and Perl program. When I submit
> the form, a blank HTML page is displayed and the report HTML source
> code is written to the TOmcat Log.
>
> I am wondering what could be the problem. Please help me in this
rehgard.
Don't know what 'form and perl' you're talking about, but the analog
output was extensively enhanced (to xhtml+css by default) between 5 & 6.
XML and HTML are available options (use the OUTPUT command).
Your perl probably needs changing to process it correctly.
If that's not a option, you could try "OUTPUT HTML" to go back to html
output (though I don't know if it's compatible with 5.01), or simply
stick with 5.01.
Chris
-----------------------------------------------------------------------
Any views expressed in this message are those of the sender and not
necessarily those of CCA Group. The unauthorized use, disclosure,
copying or alteration of this message is forbidden. The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed. Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
[EMAIL PROTECTED] immediately, destroy any copies and delete it
from your computer systems.
------------------------------
Message: 6
Date: Thu, 7 Apr 2005 17:53:44 +0200
From: "Info Dotnet" <[EMAIL PROTECTED]>
Subject: [analog-help] help anlgform.pl
To: <[email protected]>
Message-ID:
<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAvkUB4qI8dUaz/LYgxIvntcKA
AAAQAAAANpdoEiaGB0mE/[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
Help with anlgform.pl and WIN2K3 with IIS6
I have setup a WIN2K3 with IIS6. Perl is running well also analog
direct.
If i use anlgform.pl with the browser a error message appear.
"The CGI program send a set of invalid HTTP header"
Under WIN2000 was now problem.
What can it be?
Please help.
Regards Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.meer.net/pipermail/analog-help/attachments/20050407/f30aad0
b/attachment-0001.html
------------------------------
Message: 7
Date: Thu, 07 Apr 2005 10:05:10 -0700
From: Jeremy Wadsack <[EMAIL PROTECTED]>
Subject: Re: [analog-help] help anlgform.pl
To: Support for analog web log analyzer <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=windows-1252; format=flowed
This means there was an error running the script and it emitted those
error messages before it got a chance to send the HTTP headers that the
server expected. Most likely this means there is something wrong with
your perl/CGI setup. Try running anlgform.pl from the command line as a
perl program and see if it at least runs. Make sure that IIS is
configured to run Perl scripts as CGI (if you installed ActivePerl it
should do this by default). Do you have any other simple Perl CGI test
programs that you can make work?
--
Jeremy Wadsack
Seven Simple Machines
Info Dotnet wrote:
> Help with anlgform.pl and WIN2K3 with IIS6
>
> I have setup a WIN2K3 with IIS6. Perl is running well also analog
direct.
>
> If i use anlgform.pl with the browser a error message appear.
>
> "The CGI program send a set of invalid HTTP header"
>
> Under WIN2000 was now problem.
>
> What can it be?
>
> Please help.
>
> Regards Andreas
>
>-----------------------------------------------------------------------
-
>
>+----------------------------------------------------------------------
--
>| TO UNSUBSCRIBE from this list:
>| http://lists.meer.net/mailman/listinfo/analog-help
>|
>| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
>| List archives: http://www.analog.cx/docs/mailing.html#listarchives
>+----------------------------------------------------------------------
--
>
>
------------------------------
Message: 8
Date: Thu, 7 Apr 2005 18:56:26 +0100
From: "Aengus" <[EMAIL PROTECTED]>
Subject: Re: [analog-help] help anlgform.pl
To: "Support for analog web log analyzer" <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
On Thursday, April 07, 2005 4:53 PM [GMT],
Info Dotnet <[EMAIL PROTECTED]> wrote:
>> Help with anlgform.pl and WIN2K3 with IIS6
>>
>> I have setup a WIN2K3 with IIS6. Perl is running well also analog
>> direct.
>> If i use anlgform.pl with the browser a error message appear.
>> "The CGI program send a set of invalid HTTP header"
>> Under WIN2000 was now problem.
>> What can it be?
Someone else posted last month that they had the same problem with
Windows 2003:
http://www.mail-archive.com/[email protected]/msg00930.html
http://www.mail-archive.com/[email protected]/msg00922.html
I'm not sure if Matt ever got this working - I haven't had a chance to
try it on W2k3 myself, so I don't know what the problem might be. But
there might be something in IIS6 that is making this even more
complicated than it used to be.
Aengus
------------------------------
+-----------------------------------------------------------------------
-
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
+-----------------------------------------------------------------------
-
End of analog-help Digest, Vol 8, Issue 3
*****************************************
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------