You are not logged in.

#1 2007-08-23 10:30:37

mezoko
Member
Registered: 2005-03-26
Posts: 310
Website

[Solved]logroate duplicate entry error

Every night the cron daemon ones and one of its tasks is to run logroate (by default). I keep getting these errors in my inbox. error: samba.pacsave:1 duplicate log entry for /var/log/samba/log.0.0.0.0 I've tried deleting all the samba log files and still no aval. So any help would be great!
Thanks!

Last edited by mezoko (2007-08-23 10:48:52)


"The only thing we have to fear is fear itself." - Franklin D. Roosevelt

Offline

#2 2007-08-23 10:42:44

attila
Member
Registered: 2006-11-14
Posts: 293

Re: [Solved]logroate duplicate entry error

I think the problem is that you have in /etc/logrotate.d two files (samba and samba.pacsave) which have the same entry. Make a diff to see which one you want to keep and delete the other one. This should solves it.

Offline

#3 2007-08-23 10:48:37

mezoko
Member
Registered: 2005-03-26
Posts: 310
Website

Re: [Solved]logroate duplicate entry error

Thanks so much that fixed the problem. There was no difference between the two files so I just deleted the pacsave one.


"The only thing we have to fear is fear itself." - Franklin D. Roosevelt

Offline

Board footer

Powered by FluxBB