是否禁止apmlinking apache日志?
这有效
mkdir /var/log/apache2
chown -R www-data:www-data /var/log/apache2
chmod -R 750 /var/log/apache2
这个(创建/ tmp / var / log / apache2并在其上链接/ var / log / apache2)失败,错误为AH02291
mkdir /tmp/var/log/apache2
chown -R www-data:www-data /tmp/var/log/apache2
chmod -R 750 /tmp/var/log/apache2
ln -s /tmp/var/log/apache2 /var/log/apache2
chown -R www-data:www-data /var/log/apache2
chmod -R 750 /var/log/apache2