Article ID: 120200, created on Feb 18, 2014, last review on May 11, 2014

  • Applies to:
  • Virtuozzo
  • Virtuozzo containers for Linux

Symptoms

After installing cyrus-imap service into suse-13.1-x86 container service does not start:

[root@pvclinux64 ~]# vzctl create 46000 --ostemplate suse-13.1-x86
[root@pvclinux64 ~]# vzctl start 46000
[root@pvclinux64 ~]# vzpkg install 46000 cyrus-imap
[root@pvclinux64 ~]# vzctl exec 46000 /etc/init.d/cyrus start
[root@pvclinux64 ~]# vzctl enter 46000
entered into Container 46000
Directory: /
Wed Feb 19 00:40:13 NOVT 2014
CT-46000-bash-4.2# /etc/init.d/cyrus start
redirecting to systemctl start cyrus.service
Failed to issue method call: Unit cyrus.service failed to load: No such file or directory.

Cause

Issue is caused by incorrect cyrus-imap script, which is not adopted for systemd.

Resolution

Execute 'systemctl daemon-reload' inside a container or reboot it.

CT-46000-bash-4.2# systemctl daemon-reload
CT-46000-bash-4.2# /etc/init.d/cyrus start
redirecting to systemctl start cyrus.service

Issue can be fixed permanently by the package maintainer (OpenSuse).

d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223 e8e50b42231236b82df27684e7ec0beb 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF