On Sat, 2007-06-02 at 22:28 +1000, Voytek Eymont wrote:
> I'm trying to migrate my Apache 1.x to Apache 2.x;
> mainly, I'm just copying virtual hosts directives from old to new.
> 
> each vhost has a log directive like;
> 
> CustomLog "|/usr/sbin/cronolog
> /home/domain.tld.au/logs/%Y-%m-%d-access.log" combined
> 
> in Apache error log I'm getting:
> 
> /home/domain.tld.au/logs/2007-06-02-access.log: Permission denied
> piped log program '/usr/sbin/cronolog
> /home/domain.tld.au/logs/%Y-%m-%d-access.log' failed unexpectedly
> 
> does that mean cronlog doesn't have correct permissions to logs/ ?
> 

Apache-user != domain.tld.au-user 

Maybe chown www-data:www-data /home/domain.tld.au/logs
(or whatever owns Apache on your version)



> 
> -- 
> Voytek
> 

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to