1

Topic: error: rsyslog:13 duplicate log entry for /var/log/mail.info

On Ubuntu 10.04.1 LTS, I see the following:

/etc/cron.daily/logrotate:
error: rsyslog:13 duplicate log entry for /var/log/mail.info
error: found error in /var/log/mail.info
/var/log/mail.warn
/var/log/mail.err

/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
, skipping


Any idea?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: error: rsyslog:13 duplicate log entry for /var/log/mail.info

I also see this.

3

Re: error: rsyslog:13 duplicate log entry for /var/log/mail.info

Just remove one and keep one. This is a unknown issue in iRedMail-0.6.1, and was fixed.

4 (edited by robertut 2010-10-20 04:06:40)

Re: error: rsyslog:13 duplicate log entry for /var/log/mail.info

ZhangHuangbin wrote:

Just remove one and keep one.

What do you exactly mean by that?

5

Re: error: rsyslog:13 duplicate log entry for /var/log/mail.info

Guys, can't seem to find where is the duplicate (Ubuntu 10.04.1). Please help me, where to look for.

6

Re: error: rsyslog:13 duplicate log entry for /var/log/mail.info

Try:

# sudo grep -ir 'mail.info' /etc/logrotate.d/*

7

Re: error: rsyslog:13 duplicate log entry for /var/log/mail.info

Thanks. I get:

/etc/logrotate.d/maillog:/var/log/mail.log /var/log/mail.info /var/log/mail.err /var/log/mail.warn {
/etc/logrotate.d/rsyslog:/var/log/mail.info

I commented out these in /etc/logrotate.d/rsyslog:
#/var/log/mail.info
#/var/log/mail.warn
#/var/log/mail.err

Will it be OK?

8

Re: error: rsyslog:13 duplicate log entry for /var/log/mail.info

I am getting this as well.

Can you please clarify your instructions on fixing this?

9

Re: error: rsyslog:13 duplicate log entry for /var/log/mail.info

You can remove '/var/log/mail.log' from file '/etc/logrotate.d/rsyslog'.