When you run it from cron is it using a different configuration file or
maybe even a different version of analog?

--
Jeremy Wadsack
Seven Simple Machines

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ngan, Michael
(NIH/NCI)
Sent: Thursday, November 10, 2005 11:28 AM
To: Support for analog web log analyzer
Subject: RE: [analog-help] Can't auto-detect format of logfile

Aengus,

Yes, in analog.cfg, I have

LOGFILE /var/log/httpd/access_log

The odd thing is that analog works if I run it manually, but bombs when
running as a cron job.

Mike

--
Michael Ngan, Contractor                   NCI/NIH
mailto:[EMAIL PROTECTED]                8138-6130 Executive Blvd
(W) (301) 402-0324                                Rockville, MD 20852,
USA
(H) (301) 208-1610
http://linus.nci.nih.gov

-----Original Message-----
From: Aengus [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 09, 2005 6:38 PM
To: Support for analog web log analyzer
Subject: Re: [analog-help] Can't auto-detect format of logfile

On Wednesday, November 09, 2005 4:21 PM [EDT],
Ngan, Michael (NIH/NCI) <[EMAIL PROTECTED]> wrote:

> When I run analog as a cronjob, I receive the following error message,
> but it ran OK if I execute analog manually.
>
> Anyone know what's the problem? I am using RedHat Professional 9.0

You haven't really given us much information. Are you specifying a
LOGFORMAT
in your analog.cfg? The auto-detect message would indicate that you
aren't.
Have you tried specifying one? What about the error log - have you
looked at
it?

Aengus


>
> Subject: Cron <[EMAIL PROTECTED]> /usr/bin/analog
>
>
>
> /usr/bin/analog: analog version 6.0/Unix
>
> /usr/bin/analog: Warning F: Can't auto-detect format of logfile
>
>   /var/log/httpd/access_log: ignoring it
>

+-----------------------------------------------------------------------
-
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+-----------------------------------------------------------------------
-

+-----------------------------------------------------------------------
-
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+-----------------------------------------------------------------------
-

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to