• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Plesk Onyx on LXC

Newlife

New Pleskian
Hello everyone,

I'm trying to install Plesk on an debian 8.9 LXC Container, but there are some issues I cant resolve. Dovecot for example doesnt start

Code:
systemctl status dovecot.service
* dovecot.service - Dovecot IMAP/POP3 email server
   Loaded: loaded (/lib/systemd/system/dovecot.service; enabled)
   Active: failed (Result: exit-code) since Wed 2017-08-16 16:18:48 UTC; 7min ago
     Docs: man:dovecot(1)
           http://wiki2.dovecot.org/
  Process: 183 ExecStart=/usr/sbin/dovecot (code=exited, status=226/NAMESPACE)

Aug 16 16:18:48 mail systemd[1]: Starting Dovecot IMAP/POP3 email server...
Aug 16 16:18:48 mail systemd[183]: Failed at step NAMESPACE spawning /usr/sbin/dovecot: Permission denied
Aug 16 16:18:48 mail systemd[1]: dovecot.service: control process exited, code=exited status=226
Aug 16 16:18:48 mail systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
Aug 16 16:18:48 mail systemd[1]: Unit dovecot.service entered failed state.

Maybe someone could lead me in the right direction. If any further information is required, don't hesitate to ask.

Best Regards
 
Try to do following:

- patch file /etc/systemd/system/multi-user.target.wants/dovecot.service with:

- PrivateTmp=true
+ PrivateTmp=false
+ NoNewPrivileges=yes

- run:

# systemctl daemon-reload
# systemctl restart dovecot

I hope it will help.
 
Hey!

It did indeed work! Thanks for your help. I'm not sure if there are more problems with the installation, what is the best method to check if everything is running as it should be?

Best Regards
 
I'm not sure if there are more problems with the installation, what is the best method to check if everything is running as it should be?
You can run

# plesk repair installation

and check that there are no any errors in the output.
 
Back
Top