LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   something writing messages to log every minute (https://www.linuxquestions.org/questions/linux-general-1/something-writing-messages-to-log-every-minute-33736/)

jkcunningham 10-25-2002 12:10 PM

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.

trickykid 11-01-2002 09:28 AM

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.

jkcunningham 11-01-2002 09:42 AM

Thanks, I'll take a look.

avivg 02-17-2005 06:50 AM

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.