It is currently Mon Apr 29, 2024 4:34 am

News News of OpenVZ related

Site map of OpenVZ related » Forum : OpenVZ related

Here one can find interesting information about OpenVZ management and maintenance. OpenVZ control panels information also goes here
Forum rules
All information is given AS IS

Cpanel - Disk Quota Does not working

There a two "quota systems" used by OpenVZ:

1 Level Quota:

Space Hostnode to Container:
Is set by --diskspace barrier:limit (/--diskinode barrier:limit) config how much a container can use the diskspace/indodes on the hardwarenode

2 Level Quota:

Is how many User/Group in this container can use the space above, set by --quotaugidlimit num (= limit of quota u(ser) g(roup)id) set how many User/Groups ID are accounted).
Add line:
/etc/sysconfig/vz-scripts/{VEID}.conf
QUOTAUGIDLIMIT="5000"

Reboot the VM:
vzctl restart ...
Read more : Cpanel - Disk Quota Does not working | Views : 2943 | Replies : 0


Pure-FTPd error - Unable to switch capabilities

Code: Select all
pure-ftpd: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted


1. Solution

Recompile Pure-FTPd with "--without-capabilities" option.

2. Solution
Find what's wrong with capabilities and add missing capability to your VE with vzctl command:
Code: Select all
#vzctl set <VEID> --capability capname:on|off


For Pure-FTPd:
Code: Select all
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 <VEID> --capability ${CAP}:on --save;done
Read more : Pure-FTPd error - Unable to switch capabilities | Views : 3354 | Replies : 0


Print UBC values for a specific container

If you want to print UBC(/proc/user_beancounters) values for a specific container, the following construct can be helpful:
Code: Select all
egrep -A23 '^[[:space:]]+${CTID}:'

Here ${CTID} is the ID of the container you are interested in.

In case you want to print UBC values for a few containers at once, set CTID to something like (101|102|103).
Read more : Print UBC values for a specific container | Views : 2344 | Replies : 0


vzquota : (warning) Incorrect quota shutdown for id <veid>

Receiving the following error during VM start:

Code: Select all
#vzctl start <veid>

Starting VPS ...
vzquota : (warning) Incorrect quota shutdown for id <veid>, recalculating disk usage
vzquota : (error) quota check : lstat `conf': No such file or directory
vzquota on failed [1]

I fixed it by running the following commands:
Code: Select all
vzquota off <veid>     
vzquota on <veid>

vzctl start <veid>
Read more : vzquota : (warning) Incorrect quota shutdown for id <veid> | Views : 3423 | Replies : 0


LxAdmin/Kloxo/HyperVM vulnerabilities

#####################################################################
#
# Who : http://lxlabs.com
#
# What : kloxo
#
# "Kloxo (Previously Lxadmin) The most flexible software on this
# planet. From Kloxo HostInaBox, World's lightest and the most
# efficient webhosting platform, to Kloxo Enterprise, which can
# manage 100s of thousands of domains on hundreds of servers. Kloxo
# is a fully scriptable, distributed, 100% object oriented hosting
# platform. There is nothing in ...
Read more : LxAdmin/Kloxo/HyperVM vulnerabilities | Views : 8217 | Replies : 1


HyperVM update issue

Possible HyperVM update issues

http://lxcenter.org/

HyperVM-Updates
Update several times on a day, HyperVM at Home>Update Home. Almost every day there are one or more new version releases.
There is no release schedule at lxlabs, and there are no release notes for every version released.
As new user, register at the lxlabs forum and visit it at least each day once to see bug reports or other technical things.
Until lxlabs uses release notes and a ...
Read more : HyperVM update issue | Views : 2752 | Replies : 0


OpenVZ official PDF documentation

Find attachments below:
Read more : OpenVZ official PDF documentation | Views : 2310 | Replies : 0


VPN via the TUN/TAP device on the OpenVZ container

VPN via the TUN/TAP device

Kernel TUN/TAP support

OpenVZ supports VPN inside a container via kernel TUN/TAP module and device. To allow container #101 to use the TUN/TAP device the following should be done:

Make sure the tun module has been already loaded on the hardware node:
Code: Select all
lsmod | grep tun

If it is not there, use the following command to load tun module:
Code: Select all
modprobe tun

You can also add it into /etc/modules.conf to make ...
Read more : VPN via the TUN/TAP device on the OpenVZ container | Views : 3702 | Replies : 0


OpenVZ CSF+LFD configuration on vps

There are two steps to configure the csf in vps:

1. Main vps server ( The host server, in which the vps nodes are running) configuration
2. Vps node configuration.

Let's proceed.

1. Main VPS server configuration

Before starting the CSF installation in a node login to the main server (host server) and check whether the following modules are inserted in to the kernel

———
ipt_conntrack
ipt_LOG
ipt_owner
ipt_state
ip_conntrack_ftp
———

You can check it ...
Read more : OpenVZ CSF+LFD configuration on vps | Views : 2714 | Replies : 0




 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22