logrotate-3-5-2
2007-12-24 22:38:00
after downloading, installing, and configuring
logrotate-3.5.2-sol8-sparc-local.gz and popt-1.6.3-sol8-sparc-local.gz
from sunfreeware.com, logrotate does not work.
Tho OS is Solaris 8 Sparc.
I have searched for some solution, but i didn't find a solution.
The Error message of a try of a sample logfile rotate is:
--------
bash-2.03# /usr/local/bin/logrotate -d /usr/local/etc/logrotate.conf
reading config file /usr/local/etc/logrotate.conf
error: /usr/local/etc/logrotate.conf:2 unexpected text
reading config info for /var/log/guido {
error: /usr/local/etc/logrotate.conf:3 unexpected text
error: /usr/local/etc/logrotate.conf:4 unexpected text
Handling 1 logs
rotating pattern: /var/log/guido { 1048576 bytes (5 rotations)
empty log files are rotated old logs are removed
errors will be mailed to guido at riess.de
rotating file /var/log/guido
log does not need rotating
---------
The config for this file is:
bash-2.03# cat /usr/local/etc/logrotate.conf
# rotate of logfiles via logrotate, Guido 7.5.2002
errors guido at riess.de
compress
/var/log/guido {
rotate 5
size=1k
postrotate
/sbin/killall -HUP syslogd
banner > /var/log/guido
endscript
}
Has anyone a solution for this problem?
Thanks for your help!
Regards
Guido Kirschner
--
................................................
.riess integration ag
draisstr. 10
D - 76307 karlsbad
tel. +49 (0)7202/ 707-617
fax +49 (0)7202/ 707-699
mailto:guido.kirschner at integration.riess.de
http://www.riess.de/integration
................................................
Comments
Got something to say?
You must be logged in to post a comment.

