Skip to main content

The multi-user.target must be active error

Comments

7 comments

  • GOT
    I've personally never tried this but it sounds like you are installing prior to the initial reboot post installation and centos is still in single user mode from the install. I think you're going to have to get through that first reboot before you kick off the installer.
    0
  • chengkinhung
    Hi GOT, Thanks very much for your reply. This template(Centos7) had been tested and capable to install cPanel, I do not think reboot can solve this issue, actually the VM also tried reboot several times. The reason may be the cloud-init service should be run after multi-user.target, but I do not know how yet.
    0
  • cPanelMichael
    Hello @chengkinhung, Can you let us know the output from the following commands? ls -l /etc/systemd/system/default.target systemctl get-default
    Thank you.
    0
  • chengkinhung
    Hi @cPanelMichael # ls -l /etc/systemd/system/default.target lrwxrwxrwx. 1 root root 37 Dec 13 10:20 /etc/systemd/system/default.target -> /lib/systemd/system/multi-user.target # systemctl get-default multi-user.target However I run this commands through SSH login but not from cloud-init, and this issue almost definitely related with cloud-init runtime environment. As you know, the cloud-init run in the server boot time.
    0
  • cPanelMichael
    Hello @chengkinhung, Can you open a
    0
  • chengkinhung
    Hi @cPanelMichael, Thanks for your suggest, but there is not cPanel server installed yet in this case, how can we open the ticket ? and the cloud-init must be run when server booting, how can you debug this kind of case remotely ? Do you ever try to use could-init before ?
    0
  • cPanelMichael
    Hi @chengkinhung, You can send an email directly to cs @ cpanel.net explaining the issue and asking that your support request be forwarded to our Technical Support team. As far as cloud-init, can you review the document below and verify you are following the best practices it outlines? Best Practices for cPanel Virtualization Templates - cPanel Knowledge Base - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.