Tag: vps

Vmware Linux Guest Add a New Hard Disk Without Rebooting Guest

As a system admin, I need to use additional hard drives for to provide more storage space or to separate system data from user data. This procedure, adding physical block devices to virtualized guests, describes how to add a hard drive on the host to a virtualized guest using VMWare […]

openvpn error: Cannot open TUN/TAP dev /dev/net/tun

P: Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13) Note: Attempting fallback to kernel 2.2 TUN/TAP interface Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2) R: The host OS *must* allow the VPS to use the tun device first. vzctl set –devices c:10:200:rw –save vzctl set […]

Unable to open pty: No such file or directory

VPS – Unable to open pty: No such file or directory While entering into the VPS Hosting from node, if you face following error. =============== [root@Node ~]# vzctl enter 1000 enter into VE 1000 failed Unable to open pty: No such file or directory =============== fix for this error: vzctl […]

VPS iptables rule limit is too low.

You may come across with a “numiptent” error message while restarting iptables or whatever firewall (say csf) you have installed on your VPS. The error appear as follows: The VPS iptables rule limit (numiptent) is too low (200/250) – stopping firewall to prevent iptables blocking all connections There is a […]

Unable to get tty name: Bad file descriptor

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 […]

HowTo: Add iptable modules on a VPS

If you receive the following error on restating iptables on a VPS: error message: from firewall software ~ iptables: Unknown error 4294967295 you need to make sure the required iptable modules are loaded in the host server kernel. You have to use modprobe to load the following modules in the […]

Howto: Enable TUN module on a VPS for VPN

TUN module is required to configure VPN (Virtual Private Network) tunneling on a VPS,. The TUN module has to be enabled on the Hardware node as well as on the VPS from the node itself.  Login to your Host server and execute the following command: First check if the TUN […]

Quota getstat syscall: Inappropriate ioctl for device

You may receive the error message while starting a VPS on OpenVZ server. vzquota : (error) Quota getstat syscall for id 101: Inappropriate ioctl for device vzquota init failed [3] This is a typical Quota error message on OpenVZ servers while starting a VPS. The message indicates that you need […]

How to clone an OpenVZ virtual machine

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 […]

additional RAM on Xen VPS

If you wish to add additional RAM on a Xen based VPS, you need to follow the below steps: #Search the VM name: xm list #Edit the VM’s configuration file. Update the required value and save the file: vi /home/xen/vmname/vmname.cfg #To stop and start the VPS, follow the below steps: […]