Virtualization

How to auto-start a VPS on a host server/node reboot?

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

Unable to start init, probably incorrect template

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

Unable to fork: Cannot allocate memory

You see a message “Unable to fork: Cannot allocate memory” while logging to a VPS from the host server. The reason is the VPS is running out of resources especially RAM. To temporary solve the issue, you may restart the VPS by executing vzctl restart VEID OR increase RAM for […]