OpenVZ is a virtualization technology based on the Linux kernel and operating system.
Questions tagged [openvz]
109 questions
57
votes
1 answer
Difference between Docker and OpenVZ
I am newbie to the world of virtualization. Can some one explain to me the differences between OpenVZ and Docker?
What could be good for the future?
Pros and cons?

forum.test17
- 2,119
- 6
- 30
- 62
23
votes
10 answers
Unable to connect to MongoDB
I've just installed MongoDB (standard Ubuntu build, not the latest stable) and for some reason I can't connect:
Mon Feb 6 03:11:22 Error: couldn't connect to server 127.0.0.1 shell/mongo.js:79
exception: connect failed
Now my machine isn't…

Stuart.Sklinar
- 3,683
- 4
- 35
- 89
14
votes
2 answers
Install Docker on OpenVZ VPS
I have a OpenVZ VPS, the operating system is CentOS 6, I try to install Docker, but Docker start error.
Starting cgconfig service: Error: cannot mount cpuset to /cgroup/cpuset: Invalid argument
/sbin/cgconfigparser; error loading /etc/cgconfig.conf:…

baoyz
- 358
- 1
- 3
- 8
6
votes
4 answers
How to clear cache in OpenVZ?
I have OpenVZ VPS and have problem with clearing the cache:
In OpenVZ not work echo 3 > /proc/sys/vm/drop_caches
How may be this cache clear?

shilovk
- 11,718
- 17
- 75
- 74
5
votes
1 answer
PDOExeption SQLSTATE[HY001] Unable to allocate sufficient memory
When i run bellow code from php-fpm:
$connect = new PDO("dblib:host=mssql.dev.gm.local;dbname=GeoData","username","password");
try{
$s = $connect->query('[RU].GetTownInfo 4368');
var_dump($s->fetch());
}catch (Exception $e){
…

iusik
- 86
- 7
4
votes
3 answers
Detect virtualization in bash
One of my commands in my bash script will depend on the virtualization of the server (XEN or OpenVZ or KVM ). How can I check which of these is in use in bash?

user2650277
- 6,289
- 17
- 63
- 132
3
votes
1 answer
MongoDB in OpenVZ VPS
There are some discussions about the problem associated with MongoDB caching in OpenVZ, I was unable to find a practical solution. The issue is related to the memory in OpenVZ, as MongoDB does not consume free memory only. I tried to limit virtual…

Googlebot
- 15,159
- 44
- 133
- 229
3
votes
0 answers
How to automate OpenVZ with php
Can anyone help me with automating OpenVZ containers with PHP?
I have tried some methods but couldn't make the shell commands work with PHP.
Following methods that I tried:
Function like shell_exec(),exec() with and without sudo.
Create a PHP…

Rishabh Jain
- 110
- 9
3
votes
1 answer
FUSE: loopback-device in OpenVZ container
I'm a customer inside an OpenVZ container (running Debian Wheezy), so I can't access the host.
Is it possible to create a loopback-device using fuse to access file-systems in files?
The administrator can't allow accessing its /dev/loop* for security…

Lars-Daniel Weber
- 51
- 1
- 4
2
votes
1 answer
error: "Operation not permitted" setting key "fs.file-max" while installing Oracle XE 11g on Centos 5.7 + OpenVZ
I am having problem in installing oracle xe 11g on centos 5.7 hosted on OpenVz
The server didnt have any swap space , and the oracle installation was refusing because of the swap=0
now its has been resolved. I am having problem to set the following…

App Work
- 21,899
- 5
- 25
- 38
2
votes
1 answer
I suspect Popen to timeout without saying
I'm having some difficulties with my scripts. The purpose is to launch one or several OpenVZ container to execute some test. Those test can be very long (about 3 hours usually).
The first script goes this way, after sorting the queue member to…

jaes
- 103
- 1
- 6
2
votes
0 answers
Virtualize a Python3 script with its dependencies (libs & external programs)
I have developed a Python3 program/script that is fairly big.
It depends on several external apps, including some apps I don't have a full control on.
Just for example, I am using Selenium WebDriver and it happens that for some reason, it crashes…

reike
- 129
- 10
2
votes
1 answer
Cmt migration tool validation error
I am using cmt (https://github.com/marcosnils/cmt) for container migration and I have problem in the validation.
# cmt validate --src `pwd` --dst walid@192.168.1.12
2016/01/11 17:31:53 Error criu does not exist in dst
I am sure both have the…

Walid Hanafy
- 1,429
- 2
- 14
- 26
2
votes
2 answers
Docker - getting disk quota exceeded while pulling image
I am running docker on OpenVZ container on CentOS 7, it is up and running but I am getting issue while I try to run docker run -it ubuntu bash .
While docker run -it hello-world and docker run -it busybox was successful.
I am getting the below…

rahoolm
- 733
- 2
- 12
- 22
2
votes
0 answers
Archlinux netctl configuration as openvz container
I'm sorry, but too bad in network manual configuration for systemd and archlinux.
Can you please help me telling me how I can configure netctl to get at the end
[root@test etc]# ip addr …

Florck
- 204
- 1
- 13