Re: Re[2]: [analog-help] Analog 3.3 and VB5

1999-06-23 Thread Anonymous

At 06:19 PM 6/23/99 -0400, you wrote:
>Jessica, I'd guess, based on the errors that you are getting, that the 
>shell command isn't setting the "working directory" for the application 
>it's launching, so that when you call c:\analog\analog.exe, the 
>application is running in the directory of the VB application, so 
>instead of looking for C:\ANALOG\LANG\uk.lng it's actually looking for 
>C:\VBDirectory\LANG\uk.lng.
>
>VBs shell command doesn't seem to include a "working directory" 
>parameter, so I'm not sure what the best way to set it, but you might 
>just try 
>
>ChDir "C:\ANALOG"
>
>just before your shell command. (You might need ChDrive "C" as well).
>
>Aengus
>
>

Jessica,

You should be able to solve the problem if you can set your VB program to
run a batch file.  Inside the batch file, you could run commands to:

1. Change the drive/directory to where you have Analog 3.3 stored

2. Run Analog 3.3

HTH.



Sincerely,

Jim Fisher

[EMAIL PROTECTED]
[EMAIL PROTECTED]

"A revolution begins with a change in the individual"


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




Re[2]: [analog-help] Analog 3.3 and VB5

1999-06-23 Thread Anonymous

Jessica, I'd guess, based on the errors that you are getting, that the 
shell command isn't setting the "working directory" for the application 
it's launching, so that when you call c:\analog\analog.exe, the 
application is running in the directory of the VB application, so 
instead of looking for C:\ANALOG\LANG\uk.lng it's actually looking for 
C:\VBDirectory\LANG\uk.lng.

VBs shell command doesn't seem to include a "working directory" 
parameter, so I'm not sure what the best way to set it, but you might 
just try 

ChDir "C:\ANALOG"

just before your shell command. (You might need ChDrive "C" as well).

Aengus


__ Reply Separator _
Subject: Re: [analog-help] Analog 3.3 and VB5
Author:  [EMAIL PROTECTED] at Internet
Date:6/23/99 5:30 PM


A few more details.
I ran the program as many times as I could, and I saw 3 errors/warnings:

Warning: Failed to open configuration file analog.cfg:  Ignoring it 
Warning: Failed to open language file lang/uk.lng:  Ignoring it 
Fatal Error: Can't read language file lang/uk.lng: exiting

When double click on analog.exe or run it from the command prompt by typing 
analog.exe, the program works fine and generates the report.  Should I assume 
that Analog can't run through Visual Basic?

Thanks,
Jessica


Jessica Vellela wrote:

> Hi-
>
> I'm trying to create a VB program that will automatically download log 
> files and run Analog on them (on NT 4).  I'm having trouble trying to 
> run Analog from VB using VB's Shell() command:  the program flashes up 
> in a dos window, then disappears and the report isn't generated.  If
> anyone has any ideas about this I'd really appreciate it. 
>
> Thanks!
> Jessica
>
>  
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED] 
> with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
> List archived at http://www.mail-archive.com/analog-help@lists.isite.net/ 
> 

 
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED] 
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/ 


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




Re: [analog-help] Analog 3.3 and VB5

1999-06-23 Thread Anonymous

A few more details.
I ran the program as many times as I could, and I saw 3 errors/warnings:

Warning: Failed to open configuration file analog.cfg:  Ignoring it
Warning: Failed to open language file lang/uk.lng:  Ignoring it
Fatal Error: Can't read language file lang/uk.lng: exiting

When double click on analog.exe or run it from the command prompt by typing
analog.exe, the program works fine and generates the report.  Should I assume
that Analog can't run through Visual Basic?

Thanks,
Jessica


Jessica Vellela wrote:

> Hi-
>
> I'm trying to create a VB program that will automatically download log
> files and run Analog on them (on NT 4).  I'm having trouble trying to
> run Analog from VB using VB's Shell() command:  the program flashes up
> in a dos window, then disappears and the report isn't generated.  If
> anyone has any ideas about this I'd really appreciate it.
>
> Thanks!
> Jessica
>
> 
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
> List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
> 


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




[analog-help] Analog 3.3 and VB5

1999-06-23 Thread Jessica Vellela

Hi-

I'm trying to create a VB program that will automatically download log
files and run Analog on them (on NT 4).  I'm having trouble trying to
run Analog from VB using VB's Shell() command:  the program flashes up
in a dos window, then disappears and the report isn't generated.  If
anyone has any ideas about this I'd really appreciate it.

Thanks!
Jessica


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




Re: [analog-help] DNS timeout

1999-06-23 Thread Anonymous

On 6/23/99 4:10 PM Andre Assaiante ([EMAIL PROTECTED]) wrote:

>Is there a way to configure the DNS lookup timeout in analog.3.31?
>What is the default behavior?

It varies between operating systems but it is generaly a two minute 
timeout. This is under the control of the operating system lookup 
routine, it would be alot more complicated for Analog to override the 
timeout length.

Jason

-
[EMAIL PROTECTED]
-
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets



This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




[analog-help] DNS timeout

1999-06-23 Thread Andre Assaiante

All:

Is there a way to configure the DNS lookup timeout in analog.3.31?
What is the default behavior?

Andre'

Andre Assaiante
Unix Team Manager
Ticketmaster Online - CitySearch
[EMAIL PROTECTED]
626-660-2630


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




RE: [analog-help] analog dumping core

1999-06-23 Thread Anonymous

To summarize:

With large log files, I was having problems with analog 3.31
dumping core during the writing of the DIR report.  Stephen
suggested that I modify output2.c by adding a new line between 
existing lines 1871 & 1872:

   fflush(outf);

This worked wonderfully.  Now I'm able to see all directories
with 0.05% of the page views, which gives us all the detail
we've been craving!  Thanks, Stephen!

Jason Priebe
WRAL OnLine
http://www.wral-tv.com/


> -Original Message-
> From: Stephen Turner [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 22, 1999 12:37 PM
> To: '[EMAIL PROTECTED]'
> Subject: Re: [analog-help] analog
> 
> 
> On Tue, 22 Jun 1999, Priebe, Jason wrote:
> > 
> > I have a bug report, however.  Lately, I've been seeing core dumps
> > that happen while the software is writing out its report --
> > specifically, it seems that it happens during the DIR report.
> > I turned off the DIR report, and sure enough, no core dump.
> > 
> 
> Someone else reported a similar bug on NT. I've been able to 
> reproduce his
> bug on my Linux box, and even cure it, although I have no 
> real idea why it's
> happening. It seemed to depend not only on the input, but on whether
> optimisation was on. And the fix shouldn't make any 
> difference to anything.
> 
> The fix was as follows. If you're using 3.31, add a new line between 
> existing lines 1871 & 1872:
>fflush(outf);
> 
> I don't know the line numbers for other versions, but it's 
> between calls to
> printcols() and printtree() within the function printtree().
> 
> Please do try this out and let me know whether it fixes it. 
> And if anyone
> can explain it...
> 
> -- 
> Stephen Turner[EMAIL PROTECTED]
http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




Re: [analog-help] can I specify the logfile on the command line?

1999-06-23 Thread Anonymous

On Wed, 23 Jun 1999, [Bart] wrote:

> Hi,
> 
> On my NT server the logs are created as ex9905.log, ex9906.log. I'm using a
> batch file which will copy the right log file acording to the date to a
> 'temp' directory and in the config files used for the various sites LOGFILE
> is specified as D:\ANALOG\TEMP\LOGFILE.LOG.
> 
> I don't want to copy the logfiles because of the size, is it possible to
> specify the logfile on the command line, this would solve my problem.
> 

Yes, just put
  analog D:\logs\ex9905.log
or whatever and it will analyse that logfile.

-- 
Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




[analog-help] can I specify the logfile on the command line?

1999-06-23 Thread Anonymous

Hi,

On my NT server the logs are created as ex9905.log, ex9906.log. I'm using a
batch file which will copy the right log file acording to the date to a
'temp' directory and in the config files used for the various sites LOGFILE
is specified as D:\ANALOG\TEMP\LOGFILE.LOG.

I don't want to copy the logfiles because of the size, is it possible to
specify the logfile on the command line, this would solve my problem.

[ßart]


Ps: thanks for the help on excluding directories!


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




Re: [analog-help] Fw: Cron "VServer Web-Hits"

1999-06-23 Thread Anonymous

On Tue, 22 Jun 1999, Dave Reinhardt wrote:

> I have received  this e-mail and do not understand it.
> 

Well, apparently that transfer.log has at least some lines in a different
format than the one being used. It looks like the person needs to use a
LOGFORMAT command to specify their format.

> /www/analog/analog: Warning L: Large number of corrupt lines in logfile
>   /www/htdocs/hosting/logs/transfer.log: try different LOGFORMAT
>   (For help on all errors and warnings, see docs/errors.html)
> Current logfile format:
>   %S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b\n
>   %S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b\n
>   %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b\n
>

-- 
Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




RE: [analog-help] excluding dirs, how?

1999-06-23 Thread Anonymous

On Wed, 23 Jun 1999, Carrasco, Manel wrote:

> Hi, i use
> 
> FILEEXCLUDE /dir_name/*
> 
> and i think it works well... (excluding the files and also the directory)
> 

FILEEXCLUDE excludes (requests concerning) those files from ALL reports, not
just the Directory Report. To exclude them just from the Directory Report,
  DIREXCLUDE /images/
should work.

-- 
Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




Re: [analog-help] Counting requests from unique DNS's

1999-06-23 Thread Anonymous

On Tue, 22 Jun 1999, Dave Reinhardt wrote:

> So what does this tell me
> Host Report
> ---
> Listing hosts with at least 100 requests, sorted alphabetically.
> 
> #reqs: %bytes: host
> -: --: 
>   752:   100%: [not listed: 59 hosts]
> -

It tells me that you had requests from 59 different hosts, but none of them
made as many as 100 requests.

It also tells me you've set your HOSTFLOOR too high. :)

-- 
Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




Re: Re: Re[2]: [analog-help] Counting requests from unique DNS's

1999-06-23 Thread Anonymous

On Wed, 23 Jun 1999, Peter Wang wrote:

> Dear Dr. Stephen Turner,
>   
> I wonder if analog can process uer session in the logfile and tell 
> me how long each session is and how many sessions there are.

No, it's impossible, for all the reasons we've been talking about. See
docs/webworks.html for a detailed answer.

-- 
Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




RE: [analog-help] excluding dirs, how?

1999-06-23 Thread Anonymous

Hi, i use

FILEEXCLUDE /dir_name/*

and i think it works well... (excluding the files and also the directory)

--
Manel Carrasco (tel. 932 53 42 00)
Centro Informática (mailto:[EMAIL PROTECTED])
IESE, Universidad de Navarra
--

> 
> Hi,
> 
> How can I exclude directories form the directory report. I 
> want to exclude
> the /intern and /stats directory on all the sites on my server.
> I tried DIREXCLUDE */stats/* but that wouldn't work.
> 
> [ßart]
> 
> --
> --
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
> List archived at 
http://www.mail-archive.com/analog-help@lists.isite.net/


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




[analog-help] excluding dirs, how?

1999-06-23 Thread Anonymous

Hi,

How can I exclude directories form the directory report. I want to exclude
the /intern and /stats directory on all the sites on my server.
I tried DIREXCLUDE */stats/* but that wouldn't work.

[ßart]


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/