ubuntu 10.04 step 22

Discussion in 'Installation/Configuration' started by kwickcut, Feb 26, 2012.

  1. kwickcut

    kwickcut Member

    22 Additional Notes

    If the Ubuntu server that you've just set up in this tutorial is an OpenVZ container (virtual machine), you should do this on the host system (I'm assuming that the ID of the OpenVZ container is 101 - replace it with the correct VPSID on your system):

    Code:
    VPSID=101
    for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE
    do
      vzctl set $VPSID --capability ${CAP}:on --save
    done 
    is this done if you are running one then more server? i do not understand what this step does.. thanks


    kwick
     
  2. falko

    falko Super Moderator

    You must do this for each OpenVZ container in which you have ISPConfig installed. Make sure you use the correct VPSID.
     
  3. kwickcut

    kwickcut Member

    is this if you have more then open server and want to link them?
    and how do i find the VPSID number
     
  4. till

    till Super Moderator

    No, thats not related to multiserver setups. This step is required to add capabilitys to a openvz vm to run pure-ftpd inside without the need to recompile pure-ftpd.
     
  5. kwickcut

    kwickcut Member

    i still dont know how to find the VPSID number what command do i use to look this up


    thanks


    kwick
     
    Last edited: Feb 27, 2012
  6. falko

    falko Super Moderator

    Run
    Code:
    vzlist -a
    on the host.
     
  7. kwickcut

    kwickcut Member

    this is what i am getting

    Code:
    root@server1:~# vzlist -a
    Unable to open /proc/vz/veinfo
    Unable to open /proc/user_beancounters
    root@server1:~#
    
     
  8. falko

    falko Super Moderator

    What's the output of
    Code:
    uname -a
    ? I guess you don't run an OpenVZ kernel (or did you run this command in an OpenVZ container?).
     
  9. kwickcut

    kwickcut Member

    i dont know i just installed the system as the how to stated and nothing more

    Code:
    root@server1:~# uname -a
    Linux server1.kwickservers.com 2.6.32-38-server #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012 x86_64 GNU/Linux
    root@server1:~#
    
     
  10. falko

    falko Super Moderator

    Given that Ubuntu doesn't have OpenVZ packages and how your kernel looks I'd say you don't use OpenVZ...
     
  11. kwickcut

    kwickcut Member

    so then i dont need to do step 22?
     
  12. falko

    falko Super Moderator

    No. This is needed only if your ISPConfig machine is an OpenVZ container.
     

Share This Page