Questions tagged [openvz]
OpenVZ is an open source containerisation technology for Linux which utilities containers to run separate Linux based operating systems on a single machine. OpenVZ is typically used as it touts a low overhead, of around 1-3% of CPU, compared to virtualization technologies.
23
questions
9
votes
2
answers
15k
views
Apache reaching MaxClients and locking the server
I currently have an Apache2 server running with mpm-prefork and mod_php on a OpenVZ VPS with 512M real / 1024M burstable RAM (no swap). After running some tests, I found that the maximum process size ...
14
votes
4
answers
51k
views
iptables nat does not exist
Today my iptables nat on the host system stopped working and I have no clue what happend! (That's very bad, I know)
All commands are executed as root user.
If I run $ iptables -t nat -L I get the ...
8
votes
1
answer
2k
views
Changing time or offsetting it in OpenVZ contained server
I am trying to run a VPS, a Debian box contained in an OpenVZ container. Obviously, I cannot use time --set or any such command, as the time must be set via the parent node. The owner of the parent ...
5
votes
1
answer
14k
views
Why is Linux choosing the wrong source ip address
and what to do to let it choose the right one?
This all happens inside an OpenVZ container:
The Host is Debian/Wheezy with Redhat/OpenVZ Kernel:
root@mycl2:~# uname -a
Linux mycl2 2.6.32-openvz-...
3
votes
2
answers
905
views
apparmor not working ubuntu 11.04 insize OpenVZ
so it seems I have everything installed, but apparmor_status gives "apparmor module is not loaded." Also some apparmor scripts check for presence of /sys/module/apparmor and it is not there... Any ...
3
votes
2
answers
4k
views
Iptables port forwarding on OpenVZ CEntOS container
I am trying to setup a simple port forwarding on an OpenVZ container that is running CentOS 5.5. When I run a command I get errors.
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-...
28
votes
3
answers
99k
views
CentOS 7 firewall-cmd not found
I have just installed CentOS 7:
[root@new ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
I am trying to configure the firewall, and I'm told that in CentOS 7 iptables is no longer ...
8
votes
8
answers
2k
views
Which virtualization platforms should I choose, Xen or OpenVZ? [closed]
I am upgrading my shared hosting to VPS hosting, mainly to just add server administration skills to my development skills, so I'm facing a lot of new choices just signing up.
I need to choose a ...
4
votes
3
answers
3k
views
Java VM problem in OpenVZ
I bought a vps for hosting my java needs. But I can't run java on it. Everything about java is correctly installed but when I try to run java ("java -version" forexample) I get this error :
Error ...
4
votes
4
answers
6k
views
PHP unable to allocate memory
On my way to the office this morning, every website on our shared VPS started giving the same error (several times, not the typical memory_limit error which is fatal):
Warning: Unknown: Unable to ...
3
votes
2
answers
9k
views
OpenVZ: share a folder between containers
I want to share a directory from an OpenVZ container to another container, how I could do that?
do a symlink from /vz/private/109/common-stuff to /vz/private/108/common-stuff ?
bind mount /vz/private/...
2
votes
1
answer
1k
views
openvz and iptables
http://wiki.openvz.org/Setting_up_an_iptables_firewall mentions to load xt_state before starting a container in order to run iptables in containers. so I ran modprobe xt_state on the host and ...
2
votes
2
answers
3k
views
how to drop_caches in OpenVZ centos6 container
I have tried
sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
sudo echo 3 > /proc/sys/vm/drop_caches
echo 3 > /proc/sys/vm/drop_caches
echo 3 | sudo tee /proc/sys/vm/drop_caches
and a ...
2
votes
2
answers
13k
views
Two IPs - One OpenVPN instance, impossible?
I have a debian 64bit vps, OpenVZ, with perfectly working openvpn server.
I have ADDITIONAL IP which I want to use on that same openvpn server and I can't make it work. It only works if I specify "...
1
vote
2
answers
805
views
Server mysteriously rebooting
I have a VPS that almost daily performs a reboot. I finally managed today to get a clue from my logs
May 12 03:14:49 sshd[19379]: Did not receive identification string from 173.212.118.167
May 12 ...
1
vote
4
answers
630
views
OpenVZ Host is the source IP address rather than actual web surfers?
I have a problem with my VPS.
Simple example:
<?php $ip = $_SERVER['REMOTE_ADDR'];
Echo "User IP : " . $ip;
?>
That code should display the user IP address, but it's showing the HN IP ...
1
vote
4
answers
1k
views
OpenVZ Host is the source IP address rather than actual web surfers?
I am experiencing something a little bit odd. I'm running OpenZV on a CentOS 5 server. It appears that on containers the source IP address that say Apache webserver sees a request from is the OpenVZ ...
1
vote
1
answer
1k
views
OpenVPN routing for OpenVZ containers
I am trying to make OpenVPN tunnel accessible for all OVZ CT's running on the host.
I have initialized the tunnel devise on the host server to remote VPN server.
Although I have PING response from the ...
0
votes
1
answer
405
views
Taskset not working properly in OpenVZ container
In a Debian OpenVZ container, I'm trying to use taskset to pin a process to a core, but it doesn't work:
root@foo:/# taskset -c -p 0 1754
pid 1754's current affinity list: 0-7
pid 1754's new affinity ...
0
votes
1
answer
1k
views
Can't ssh after configuring sshd_config
I have configured my sshd configuration files to listen to ipv6 addresses, but forgot to uncomment ipv4 local addresses. Here is a snippet from my configuration file:
AddressFamily any
ListenAddress ...
0
votes
1
answer
431
views
How do I add eth0 on centos 5 that is using openvz
I have a vps account with CentOS 5 installed. It uses OpenVZ for virtualization.
Now I'm trying to install pptp service (using this guide) on it. I'm currently on Step 6 but I don't see any eth0 ...
0
votes
1
answer
1k
views
OpenVZ kernel panic
I recently installed OpenVZ on my VMWare box (To do some testing) and I get the following:
https://www.dropbox.com/s/p38btkv5j84bvsh/Capture.JPG
the GRUB config is as follows:
# grub.conf generated ...
0
votes
1
answer
1k
views
How to see what is causing failcnt on tcpsndbuf
I am seeing a failcnt on my tcpsndbuf by looking at the user beancounters. How am I able to see what is causing this failcnt?
I am experiencing problems with my server and I think that it is as a ...