logrotate error

Stefan Jeglinski yellowdog-general@lists.terrasoftsolutions.com
Tue Sep 3 09:05:01 2002


I -think- this happened when I last updated (rebuilt) Apache 
(1.3.23-14). When the logrotate command is issued I get this error:

error: apache:1 { expected after log file name

I'm not sure where to look for the source of this error. The 
following looks OK to me (the bracket appears to be there):

[root@orion log]# more /etc/logrotate.d/apache
/var/log/httpd/access_log /var/log/httpd/agent_log
/var/log/httpd/error_log /var/log/httpd/referer_log {
     missingok
     sharedscripts
     postrotate
         /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> 
/dev/null || true
     endscript
}


Any clues?


Stefan Jeglinski