Search squid archive

Re: Why has Sarg has stopped working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> wrote:
For #3 /var/log/cron



 -----Original Message-----
 From: Ed Flecko [mailto:edflecko@xxxxxxxxx]
 Sent: Wednesday, April 02, 2008 9:37 AM
 To: squid-users@xxxxxxxxxxxxxxx
 Subject:  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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux