Mam taki problem na serwerze ubuntu 10.10
A więc sprawa wygląda tak w logrotate.conf mam
Kod: Zaznacz cały
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 1
# 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 {
missingok
monthly
compress
create 0664 root utmp
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0660 root utmp
compress
rotate 1
}
# system-specific logs may be configured here
/var/log/mail.log
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
{
missingok
ifempty
size 1M
rotate 1
notifempty
create 640 root adm
compress
sharedscripts
postrotate
/etc/init.d/postfix reload > /dev/null
endscript
}
/var/log/syslog
{
missingok
ifempty
size 1M
rotate 1
notifempty
create 640 root adm
compress
}
Kod: Zaznacz cały
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
2 * * * * root cd / && run-parts --report /etc/cron.hourly
17 5 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
57 5 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
48 5 3 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
Proszę Was o pomoc w tej sprawie
Pozdrawiam