OpenVZ controlled by ISPCONFIG3

Discussion in 'Installation/Configuration' started by ganewbie, Aug 10, 2015.

  1. ganewbie

    ganewbie Member HowtoForge Supporter

    Hello,
    Installed OpenVZ on debian wheezy and it works great , after creating many containers and used them already for different functions. I did not pay attention to make a control panel for the VPSs.
    Today I have created it based on https://www.howtoforge.com/installing-openvz-plus-management-of-vms-through-ispconfig-3-debian-6.0
    but I have used Debian Jessie, which installed no problem.
    The question now is:
    1- Cannot create new CTs?
    2- Cannot see the existing CTs, as I thought the Panel will show what is already there
    How to troubleshoot?
    Thanks,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks for the quick response:
    Thanks,
     
  4. ganewbie

    ganewbie Member HowtoForge Supporter

    From the above could you please suggest what is wrong?
    It looks like it tries to update the 8 CTs but it does not for some reason.
    Cheers,
     
    Last edited: Aug 10, 2015
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if the vm module or plugin is not enabled. Maybe you installed the openvz kernal and tools after the ispconfig installation? Post the output of:

    ls -la /usr/local/ispconfig/server/plugins-enabled

    and

    ls -la /usr/local/ispconfig/server/mods-enabled
     
  6. ganewbie

    ganewbie Member HowtoForge Supporter

    Hello,
    Here you are:
    Not sure if that what you would expect or not?
    When I run diagnostic again I see different messages as follows:
    Not sure why the output of /usr/local/ispconfig/server/server.sh changes every couple of minutes as mentioned above.
    Thanks,
     
    Last edited: Aug 11, 2015
  7. ganewbie

    ganewbie Member HowtoForge Supporter

    Any suggestions will be appreciated.
    Thanks
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The vm module is active but the openvz_plugin.inc.php is not enabled.

    run:

    cd /usr/local/ispconfig/server/plugins-enabled
    ln -s ../plugins-available/openvz_plugin.inc.php openvz_plugin.inc.php
     
  9. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks for the quick response. I have done what you suggested but nothing is happening.
    Yet I thought I will wait for couple of hours, but the continer I created does not appear on the CLI and at the same time the existing CTs do not show up as well.
    Here is the commands again.
    Thanks in advance,
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    According to the last posted commands, there is no ispconfig installed on the server where you run the commands.
     
  11. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks again,
    Well, it is installed as I have a GUI and everything.
    I will install again and report back.
    Thanks
     
    Last edited: Aug 14, 2015
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Just try to rerun the commands instead of reinstalling ispconfig. Maybe you just executed them in a wrong shell window.
     
  13. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks Till, you are absolutely correct. Here is the output:
    Any clues?
    Thanks,
     
  14. ganewbie

    ganewbie Member HowtoForge Supporter

    One more output in case it has more clues.
     
  15. florian030

    florian030 Well-Known Member HowtoForge Supporter

    Does the dir "/etc/vz/conf/" exists?
     
  16. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks for the quick response,
    No, /vz/conf does not exist inside /etc
    Should I create it? Or do I need to do anything special?
    Thanks,
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    The output shws that the command line tools for OpenVZ, the vzctl command, is missing. Are you sure that you installed a OpenVZ kernel and the OpenVZ tools?
     
  18. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks for the quick response,
    Well, I followed the tutorial, the only difference was Debian.
    I used the latest Debian Jessie and not Debian 6.0
    Not sure if I missed some steps or the difference in Debian distro could have done it.
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check with:

    which vzctl

    if the command is installed.
     
  20. ganewbie

    ganewbie Member HowtoForge Supporter

    It returns nothing
    It looks like "linux-image-openvz-amd64" package does not exist in Jessie and I am not sure what is replacing it.
    It is likely returns an error that I have not noticed.
     
    Last edited: Aug 18, 2015

Share This Page