Plesk for Linux
kb: technical
ABT: Group B
Applicable to:
- Plesk for Linux
Symptoms
-
Dovecot fails to start with the following error in
/var/log/syslog file
:CONFIG_TEXT: Sep 9 04:06:09 vps1 systemd[6778]: Failed at step NAMESPACE spawning /usr/sbin/dovecot: Permission denied
-
Server is running inside LXC container
Cause
AppArmor policies on LXC host server side.
Resolution
Adjust AppArmor policies on LXC host server side: How to enable bind mount inside lxc container
OR
-
Connect to the server via SSH.
-
For the service unit set PrivateTmp to false:
-
For Debian 8 and higher:
# cat /lib/systemd/system/dovecot.service
...
[Service]
PrivateTmp=false
-
-
Reload systemd manager configuration:
# systemctl daemon-reload
-
Start Dovecot:
# systemctl start dovecot.service
Comments
0 comments
Please sign in to leave a comment.