also ich habe in der standard logrotate.conf das hier hinzugefügt:
~~~~~~~~~~~ Das würde bedeuten, das die Rotation 2 mal durchgeführt wird. Schau mal in /etc/logrotate.d/syslog? (bin mir bei dem Namen jetzt nicht ganz sicher, weil es bei mir syslog-ng heißt). Hast du die Einträge dort entfernt? Natürlich kannst du sie auch dort anpassen und den Kram in logrotate.conf wieder rausnehmen.
Mehr habe ich nicht in /etc/logrotate.d/:
< snip > hdphdmr01:~# cat /etc/logrotate.d/base-config # This is the log file for the installation of debian, and for base-config. # Useful mainly for post-morten debugging, and if the install went ok, it # will normally be deleted after one month. /var/log/installer.log { rotate 4 weekly compress delaycompress missingok nocreate } /var/log/installer.timings { rotate 4 weekly compress delaycompress missingok nocreate } < snip >
Sehe aber gerade in /etc/logrotate.conf folgendes:
< snip > # see "man logrotate" for details # rotate log files weekly weekly
# keep 4 weeks worth of backlogs rotate 4
# create new (empty) log files after rotating old ones create
# uncomment this if you want your log files compressed #compress
# packages drop log rotation information into this directory include /etc/logrotate.d
# no packages own wtmp, or btmp -- we'll rotate them here /var/log/wtmp { monthly create 0664 root utmp rotate 1 }
/var/log/btmp { missingok monthly create 0664 root utmp rotate 1 }
# system-specific logs may be configured here < snip >
Da wird am Anfang (global?) weekly usw. definiert. Ist das vieleicht das Problem?
Grüße Mathias
--
Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)