Re: [squid-users] Why has Sarg has stopped working?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Thu, 03 Apr 2008 21:45:24 +1300

Ed Flecko wrote:
> Hmmm. I don't have a /var/log/cron directory or anything that looks
> like a log file relative to cron within the /var/log directory.
>
> ???
>
> Ed
>
> On Wed, Apr 2, 2008 at 9:42 AM, Trevor Akers <Trevor.Akers@mitchell.com> wrote:
>> For #3 /var/log/cron
>>
>>
>>
>> -----Original Message-----
>> From: Ed Flecko [mailto:edflecko@gmail.com]
>> Sent: Wednesday, April 02, 2008 9:37 AM
>> To: squid-users@squid-cache.org
>> Subject: [squid-users] Why has Sarg has stopped working?
>>
>> Hi folks,
>> I'm running Sarg (installed from a package) on OpenBSD 4.2.
>>
>> It installed fine, and has been running fine for about a week. For
>> some reason, it decided to stop working.
>>
>> I have a cron job to run Sarg every day (50 23 * * *
>> /usr/local/bin/sarg -n), and it stopped working. I've looked around
>> and I'm not sure where it would be logging its events. So, I thought
>> I'd try running the job manually (/usr/local/bin/sarg -n), and I get
>> the following output:
>>
>> /usr/local/bin/sarg[1]: cannot open !DOCTYPE: No such file or directory
>> /usr/local/bin/sarg[2]: syntax error: `newline' unexpected
>>
>> 1. Any suggestions of how to diagnose my problem?

Find out where its getting this "!DOCTYPE" thing from. That will give
you an idea of whet has been broken first at the very least.

>> 2. Where does Sarg write log entries to?
>> 3. Just for my information, where do I look for cron job logs to
>> diagnose future problems? :-)

Maybe its just my distro of Linux, but I thought the OS mailed
anacron/cron output and errors to the local account holder who was
running them.

>>
>> Thank you,
>> Ed
>>

Amos

-- 
Please use Squid 2.6.STABLE19 or 3.0.STABLE4
Received on Thu Apr 03 2008 - 02:45:14 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT