I receive the following error:
/etc/cron.daily/logrotate:
error: /etc/logrotate.conf:12 unexpected text
Here is my logrotate.conf:
# see "man logrotate" for details
# rotate log files daily
daily
# Don't warn if no file
missingok
# keep 365 days worth of backlogs
rotate 365
# mail errors to techsupport
errors net-monitor@omegafi.com
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be also be configured here.
thank you.
/etc/cron.daily/logrotate:
error: /etc/logrotate.conf:12 unexpected text
Here is my logrotate.conf:
# see "man logrotate" for details
# rotate log files daily
daily
# Don't warn if no file
missingok
# keep 365 days worth of backlogs
rotate 365
# mail errors to techsupport
errors net-monitor@omegafi.com
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be also be configured here.
thank you.