February 13th, 2012 |
admin |
You may receive the following message on accessing a VPS from the host server: # vzctl enter 101 enter into VE 101 failed Unable to open pty: No such file or directory The reason behind is the missing tty/pty files OR the udev devices. There are two ways of creating them, using the ‘MAKEDEV’ program [...]
January 22nd, 2012 |
admin |
If you receive the error message “vzquota : (error) Quota is running, stop it first” while restarting a VPS, you will first have to turn off it’s quota and then drop it vzquota off VEID vzquota drop VEID Once done, restart the VPS and it will re-initialize the quota for the VPS and will start [...]
December 16th, 2011 |
admin |
Sometimes it’s necessary to limit traffic bandwidth from and to a container. You can do it using ordinary tc tool. Contents 1 Packet routes 2 Limiting outgoing bandwidth 3 Limiting incoming bandwidth 4 Limiting CT to HN talks 5 Limiting packets per second rate from container 6 An alternate approch using HTB Packet routes First [...]
December 16th, 2011 |
admin |
Our goal is to start the pppd daemon in a virtual machine. Then it is possible, for example, to connect to your DSL provider in a VM. Caveat This feature is experimental. It currently requires a version of vzctl patched with this patch. It is also necessary to run one of these 2 kernels : 2.6.27 [...]
December 14th, 2011 |
admin |
I need sometimes to clone a vps in an openvz environment, so here you can find three methods to do this task: first option: # vzctl stop 101 Stopping VE … VE was stopped VE is unmounted # cp -r /vz/private/101 /vz/private/202 # cp /etc/vz/conf/101.conf /etc/vz/conf/202.conf # vzctl start 202 Starting VE … Initializing quota [...]
December 7th, 2011 |
admin |
Sometimes, we need to reboot a host server/node for the new changes to take effect OR if it’s inaccessible. Many a times a VPS don’t auto-start itself once the host node comes online. The reason is the ONBOOT parameter in the VPS configuration file. The “onboot” parameter decides whether to start the VPS automatically once [...]
December 7th, 2011 |
admin |
You may receive the following error message while starting a VPS: root@server [~]# vzctl start VEID vzquota : (error) Quota on syscall for id xxx: Device or resource busy vzquota : (error) Possible reasons: vzquota : (error) – Container’s root is already mounted vzquota : (error) – there are opened files inside Container’s private area [...]
December 7th, 2011 |
admin |
You may receive “Unable to execute bash: No such file or directory” error message while starting a VPS and the result is the VPS fails to start. The reason is, either the binaries from /bin OR /usr/bin are missing OR corrupted. To fix the issue, you either copy the directories /bin and /usr/bin from a [...]
December 7th, 2011 |
admin |
You may receive an error as “Unable to get tty name: Bad file descriptor” while accessing a VPS from the host server. The problem occur when some files from /lib directory of the VPS goes missing. See example below: root@hostserver:/# vzctl enter VEID entered into CT VEID Unable to get tty name: Bad file descriptor [...]
December 7th, 2011 |
admin |
You may receive an error “Unable to start init, probably incorrect template” while starting a VPS. The “incorrect template” problem occurs when the “init” on the VPS goes missing. The init file resides under /sbin i.e. check ls -la /vz/private/VEID/sbin/init of a VPS. If the file is missing or the file size is zero, your [...]