3
votes
1answer
377 views

Avoiding log noise from cron jobs - with syslog-ng rather than syslog

On my small Debian squeeze web server, I have syslog-ng installed (not syslogd, like in this question). Generally, my logs are nice and quiet, with nice -- MARK -- lines. My /var/log/syslog, ...
0
votes
1answer
595 views

Lots of nfs4_reclaim_open_state: Lock reclaim failed entries in syslog

I have an Ubuntu 11.10 VM set up in VMSphere. I'm storing some data on a nfs mount. The VM has been going down frequently. I haven't been able to pin the reason why down, but I think it has to do with ...
1
vote
1answer
534 views

Any logs of if/when “at” jobs were executed?

I've setup a couple of "at" jobs to execute at specific times on CentOS 5. This morning I don't see these commands in the queue ("atq"), as expected, but I also don't see were can I check whether the ...
0
votes
0answers
379 views

Anacron jobs can't access /dev/console

On my Ubuntu 10.04 server, "anacron" is sending error emails daily: Subject: Anacron job 'cron.daily' on xyz.com /etc/cron.daily/logrotate: /etc/init.d/apache2: 235: cannot open /dev/console: ...
4
votes
2answers
2k views

Better logging for cronjobs? Send cron output to syslog?

I am looking for a better way to log cronjobs. Most cronjobs tend to spam email or the console, get ignored, or create yet another logfile. In this case, I have a Nagios NSCA script which sends data ...
2
votes
2answers
288 views

Two scripts in /etc/cron.daily seem to be rotating my logs: logrotate and sysklogd

It seems that my logfiles generated by syslog are getting rotated twice each day. I believe this is due to both /etc/cron.daily/logrotate and /etc/cron.daily/sysklogd doing overlapping work. Here are ...
6
votes
3answers
5k views

How can I prevent cron from filling up my syslog?

I have a script which needs to be executed each minute. The problem is that cron is logging to /var/log/syslog each time it executes. I end up seeing something like this repeated over and over in ...