On Thursday, November 10, 2005 2:27 PM [EDT],
Ngan, Michael (NIH/NCI) <[EMAIL PROTECTED]> wrote:

> Aengus,
>
> Yes, in analog.cfg, I have
>
> LOGFILE /var/log/httpd/access_log

That's a LOGFILE, not a LOGFORMAT. The usual solution for an auto-detect
warning is to manually specify the LOGFORMAT.

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

The 2 usual reasons for a difference in behaviour between running from cron,
and running from the command line are differences in permissions, and
differences in "working directory", causing relative file paths to fail, but
you would expect an error message. Did Analog create an errors.txt file?

Aengus

>
> Mike
>
>
>> 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