logrotate-3-5-2

From: Guido Kirschner (guido.kirschner@integration.riess.de)
Date: Tue May 07 2002 - 04:03:53 EDT


Hello,

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@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@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@integration.riess.de
http://www.riess.de/integration
................................................
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:17 EDT