webapps cron

LawsHosting

Verified User
Joined
Sep 13, 2008
Messages
2,415
Location
London UK
/etc/cron.daily/logrotate:
error: webapps:3 unknown option 'su' -- ignoring line
error: webapps:3 unexpected text


Code:
/var/www/html/roundcube/logs/errors /var/www/html/squirrelmail/data/squirrelmail_access_log /var/www/html/phpMyAdmin/log/auth.log {
        missingok
        su webapps webapps
}

remove the su line?

Note: This post should be in CB2 sub-forum, d'oh
 
Last edited:
Related:
http://forum.directadmin.com/showthread.php?t=50968

First check when the file was last changed:
Code:
ls -la /etc/logrotate.d/webapps
as it might fix itself if you re-install any webapp, eg:
Code:
./build update
./build phpmyadmin

If that doesn't remove the su, then paste the output of:
Code:
/usr/sbin/logrotate -v
as CB checks for 3.8.0 or newer, before enabling su.
Else su should be changed to #su.
Or.. we've got the version wrong.

John
 
Back
Top