Questions tagged [openvz]
38 questions
93
votes
2 answers
In a bash script what does a dot followed by a space and then a path mean?
I came across this example when trying to mount a usb device inside a openvz container and I have never seen the construct in the second line before. Can you explain what it signifies?
#!/bin/bash
. /etc/vz/vz.conf
Denis Connolly
- 931
35
votes
6 answers
SSH Server stops working after reboot, caused by missing /var/run/sshd
My VPS wasn't rebooted for about 3 months. It is hosted on a server with OpenVZ virtualization type and the operating system is Ubuntu 16.04.
For some reason, I rebooted the VPS and after that, I couldn't connect to the server through ssh, the…
pa4080
- 30,621
17
votes
4 answers
What should i choose? LXC vs OpenVZ
As an alternative to Virtualizing several Ubuntu Servers im looking into the possibility of using containers. But I am not sure if I should go for OpenVZ or LXC. Can anyone recommend one of them, or maybe list pros and cons?
dhojgaard
- 1,167
8
votes
4 answers
Why did my upgrade to 12.04 fail with "glibc not found" or "libc6" or "requires kernel 2.6.24" error?
I upgraded my server installation form 11.04 to 11.10, then to 12.04 over ssh. All seems almost ok - but there is a small issue with glibc, which is messing up my apt.
I tried sudo apt-get install -f but it does not get what it needs. I am running…
Billy Moon
- 191
7
votes
3 answers
Force removal of unwanted linux-image-extra* packages
To make a long story short, I am stuck with a handful of unwanted, half-configured image packages that I am trying to get rid of:
$ dpkg -l |grep linux-im
iF linux-image-3.13.0-100-generic 3.13.0-100.147 i386 Linux kernel image for version…
Giuseppe
- 203
5
votes
2 answers
Ubuntu 14.04 in an OpenVZ container: apt trying to upgrade the kernel
How do I prevent Ubuntu from attempting to upgrade the kernel?
The underlying OpenVZ architecture of my host provides this kernel:
$ uname -r
2.6.32-042stab116.2
And my understanding is this is outside of my control. Yet, every time I do:
$ sudo…
Giuseppe
- 203
5
votes
2 answers
MySQL server Upstart script not working on boot
For some reason the Upstart script for the MySQL server isn't working when I boot my server, however it does work once the server has booted and I execute sudo start mysql manually.
I'm running an OpenVZ VPS with Ubuntu 10.04 installed and MySQL…
Rowno
- 1,121
5
votes
1 answer
Why does upgrading to 12.04 on an OpenVZ VPS warn that the kernel size is 0?
When I tried to upgrade my server to ubuntu 12.04, it gave this message, but the upgrade process will continue :
WARNING:root:estimate_kernel_size_in_boot() returned '0'?
This is a VPS server on openvz. I just upgraded from 11.04 to 11.10 without…
THpubs
- 2,815
4
votes
2 answers
xf86OpenConsole: Cannot find a free VT: Invalid argument
I'v set up an Ubuntu 12.04 from the precreated OpenVZ template. The host system is configured as follows:
# $ cat /etc/issue
Debian GNU/Linux 6.0
# $ uname -a
Linux openvz-02 2.6.32-16-pve #1 SMP Fri Nov 9 11:42:51 CET 2012 x86_64 GNU/Linux
# $…
3
votes
3 answers
GPU Support on Ubuntu VServer ? (for running OBS)
I set up an Ubuntu VServer, installed Open Broadcaster Software, and wanted to do a little radio stream for YouTube.
If I start OBS it shows me a Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be…
Skittie
- 31
3
votes
1 answer
OpenVPN on Ubuntu OpenVZ
I finished configuring OpenVPN on my OpenVZ vps. When I run service openvpn restart I get the following error output:
* Stopping virtual private network daemon(s)...
* No VPN is running.
*…
Programster
- 6,039
3
votes
1 answer
Upgrade 16.04 openvz to 18.04 but keep kernel to 2.6
Since OpenVZ cannot be upgraded from inside of the VM's client (which I only rent). Is it possible to upgrade to 18.04 LTS from 16.04.5 LTS?
The problem lies on libc/locales
This version of libc requires kernel version 3.2 or later. Plase upgrade…
Kokizzu
- 518
3
votes
1 answer
Install Redis-Server on Ubuntu 16.04 LTS minimal
I have got a question and hope that somebody can help me. I own a vServer on a OpenVZ basis (I hate the kernel limitation) and can't install Redis.
What do I do:
Clean install Ubuntu 16.04. LTS minimal
Login as root
run: apt update
run: apt…
Firehead
- 31
2
votes
0 answers
issues with mysql
I am having issues with MySQL. I tried to reinstall but get the following. this is an openvz vps that I have upgraded to 16.04.
$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information...…
weeple2000
- 21
2
votes
1 answer
Disk usage for the same drive shows 20K in the host and 16G in the container
When comparing the disk usage for a mounted harddrive the usage is completely different when compared between the host and the container.
I am running Ubuntu 14.04 on the host and in the lxc container.
The hard drive is mounted on the host as…
Greg
- 298