[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
errors rotating logs
- Subject: errors rotating logs
- From: Root <root@xxxxxxxxxxxxxxx>
- Date: Sat, 23 Sep 2000 01:00:40 +0200
errors occured while rotating /var/log/httpd/access
error running prerotate script --
leaving old log in place
-----------------------------------------------
My questions are:
1.- Why the GUI dont create the files web.log, ftp.log, mail.log in NEW
virtual sites....?
2.- Why logrotate dont updated them and send me every day a message as
the one I posted above....?
3.- What can I do pleaaasseee.....?
Some interesting information about my RAQ3:
- Cobalt installed software:
------------------------------------------
All-Kernel_i386 Release 1.1
Cobalt OS Release 5.0
RaQ3-All-Security Release 3.0.1-6750
RaQ3-All-SystemRelease 3.0.1-5917
RaQ3-All-System Release 3.0.1-6168
RaQ3-All-Security Release 3.0.1-6579
RaQ3-All-Security Release 3.0.1-6682
RaQ3-en-OSUpdate Release 3.0
webalizer.i386Release 1.0
---------------------------------------
- my /etc/cron.daily/logrotate file contains:
#!/bin/sh
/usr/sbin/logrotate /etc/logrotate.conf
--------------------------------------
- my /etc/logrotate.conf file contains:
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 1
# send errors to root
errors root
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
compress
# Put in a generic size limit so things don't go wild
size 1M
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
size 2M
create 0664 root root
rotate 1
}
/var/log/lastlog {
monthly
size 2M
rotate 1
}
# system-specific logs may be configured here
--------------------------------------------------
I didn`t make changes in any of the configuration GUI files.
Sorry for my poor writing and grammar english. I am from Spain ;-(
Thanks in advance to anyone who can help me. I am lost!
Toni