something writing messages to log every minute
I set up a minimal Linux on an old pc to use as a printsever. It works fine for that purpose. But I looked in the log and noticed that something is writing messages to it about every minute inexplicably. The message is:
<date time> printserver last message repeated 4 times Over and over this line, with the time advanced an average of one minute and one second each time. If I scan up to the first message that is different, it says: <date time> printserver /USR/SBIN/CRON[8632]: (root) CMD ( rm -f /var/spool/cron/lastrun/cron.hourly) <date time> printserver lpd[13322]: connection from 127.0.0.1 Then it starts repeating the "last message repeated x times" message , line after line. Does anyone have any idea what's going on here and how I can stop it? This log is going to get very big in time otherwise. Thanks. |
Looks like some sort of cron job for your lpd daemon. Try looking at your cron jobs that are setup and disable it. Not totally for sure though.
|
Thanks, I'll take a look.
|
You should edit your /etc/syslog.conf and add the line
cron.* /var/log/cron It will cause all crond messages to go to /var/log/cron and not blast your /var/log/messages |
All times are GMT -5. The time now is 07:04 AM. |