On Friday, November 11, 2005 3:53 AM [EDT], Alan Wright <[EMAIL PROTECTED]> wrote:
> Double check your permissions - if you can run it but cron can't then > its either not able to access the log due to permissions or it cannot > find the file. > > Seeing as the analog.cfg file has the absolute path then I would > check the permissions of the logfile. A permissions problem would generally cause a "failed to open" error message. The Auto-detect warning suggests that Analog could read the file, but couldn't parse it. Aengus > > Rgds > > Alan Wright > IT Support Technician > Centre for Psychological Research in Human Behaviour > School of Education, Health & Sciences > University of Derby > Western Road, Mickleover, DE3 9GX > > http://ibs.derby.ac.uk/psychology > > At 19:27 10/11/2005, you wrote: >> 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 >> +------------------------------------------------------------------------ >> >> ______________________________________________________________________ >> This email has been scanned by the MessageLabs Email Security System. >> For more information please visit http://www.messagelabs.com/email >> ______________________________________________________________________ > > +------------------------------------------------------------------------ >> 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 +------------------------------------------------------------------------

