problem about openvz-Collection of common programming errors


  • danlefree
    linux vps openvz
    Been trying to install OpenVPN on a VPS but come into a few problems when trying to start the openvpn server:Service deferred error: IPTablesServiceBase: failed to run iptables-restore [status=1]: [‘FATAL: Could not load /lib/modules/2.6.18-028stab070.14/modules.dep: No such file or directory’, ‘FATAL: Could not load /lib/modules/2.6.18-028stab070.14/modules.dep: No such file or directory’, ‘iptables-restore: line 46 failed’]: internet/base:1175,internet/base:752,internet/process:45,internet/pro

  • user1710563
    centos vps java openvz
    Possible Duplicate:Linux out of memory on VPS I have a OpenVZ VPS running CentOS 6.3 64 bit and when I try to install JRE 7 64bit using the command:rpm -Uvh java.rpmIt gives me this error:Preparing… ########################################### [100%]1:jre ########################################### [100%] Unpacking JAR files…rt.jar… Error: Could not open input file: /usr/java/jre1.7.0_09/lib/rt.packjsse.jar… Error: Could not open input file: /usr/java/j

  • janneb
    linux iptables openvz ubuntu-9.10 kernel-modules
    After an unsuccessful p2v migration of my Ubuntu server to an OpenVZ container which I am stack with I thought I would give a try to a reinstall based on a clean OpenVZ template for Ubuntu 9.10 (from the OpenVZ wiki)When I try to load my iptables rules on the VM machine I’ve been getting errors which I believe are related to kernel modules not being loaded on the VM from the /vz/XXX.conf template model.I’ve been testing with a few post I’ve found but I was stack with the error:WARNING: Deprecate

  • Rob Jinman
    java tomcat ubuntu openvz
    It’s well known that Java and OpenVZ don’t get along well due to the way memory is managed in OpenVZ — the Java runtime reserves more memory than there is available, or something. This is typically solved by setting a maximum heap size, like so: export _JAVA_OPTIONS=”-Xmx128m”I have two OpenVZ VPSs with the same company; one is based in the USA, and the other in Germany. The American one is running Ubuntu 11 and Tomcat, and the usual fix works perfectly well — without it though, Tomcat will oc

  • Stephen Searles
    ubuntu java apt openvz
    I’m constantly encountering an error related to Java and certificates on my Ubuntu server running in OpenVZ when installing things from apt-get. I’m pretty sure it has to do with how Java allocates memory. I know the fail counter for privvmpages is very high, so the problem must be that Java is hitting this limit.I have read that the server VM will allocate a lot of memory up front to preempt performance issues, but that the client VM doesn’t do this and might be better for what I’m doing. I mes

  • coldice4
    ubuntu mysql debian openvz
    I have a OpenVZ Server with 4GB RAM and have tried to install MySQL on several distros (Ubuntu 12.04 64Bit, Ubuntu 12.10 64Bit, Debian 7 64Bit) and I always get the same errors:130718 6:57:27 [Note] Plugin ‘FEDERATED’ is disabled. 130718 6:57:27 InnoDB: The InnoDB memory heap is disabled 130718 6:57:27 InnoDB: Mutexes and rw_locks use GCC atomic builtins 130718 6:57:27 InnoDB: Compressed tables use zlib 1.2.7 130718 6:57:27 InnoDB: Using Linux native AIO 130718 6:57:27 InnoDB: Warning: io

  • Oliver Joseph Ash
    centos vpn openvz pptp
    I am trying to get PPTP installation up and running on my VPS. I have followed various guides, however, I am unable to connect to the VPN once it’s setup.I checked my VPS’ /var/log/messages and I found this:1832 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: Client 86.8.79.197 control connection started 1833 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: Starting call (launching pppd, opening GRE) 1834 Dec 2 23:38:55 server9987 pppd[1471]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded. 1835 Dec

  • Aleksandr Levchuk
    linux virtualization performance xen openvz
    There is a Xen vs. KVM in performance question on ServerFault.What will be the speed difference if the choice is between Xen and OpenVZ?Searching for such benchmarks does not show any results newer than 2008.What would be some important performance measurements to compare OpenVZ against Xen?Some may say “you’re comparing oranges and pineapples” but I have to choose 1 of the 2 and it needs to be a wise choice. Performance is most important to us. We may switch away from OpenVZ because Xen is more

  • Mike S.
    linux debian vps java openvz
    For a school project, I’ve registered a free VPS on a hosting provider (pipni.cz). It has 256MB RAM:Mem: 262144k total, 148104k used, 114040k free, 0k buffersIt’s running on Debian Squeeze.I always get this error when I run a Java program:Error occurred during initialization of VMCould not reserve enough space for object heapCould not create the Java virtual machine.I tried to use Xms, Xmx, Xss with low values and still same result. ulimit -v gives me “unlimited”.My application wil

  • miHost
    apache2 django openvz
    In Ubuntu (and Debian, and other distro) there is a few Apache packages (mpm-event, mpm-prefork, mpm-worker). Which is the most suitable for hosting Django mod_wsgi application on single CPU server? Which package is best choice for OpenVZ container?

  • quanta
    linux root openvz privileges vim
    Since pty is limited, I want to modify the content of /proc/sys/kernel/pty/max. The original value in max is 4096, and now I want to modify it to 10000.[root@home pty]# pwd /proc/sys/kernel/pty [root@home pty]# ls -lh total 0 -rw-r–r– 1 root root 0 Aug 13 11:24 max -r–r–r– 1 root root 0 Aug 13 11:24 nr vim maxI edit the max file directly, using root, but it fails. I use :w! in vim, but then I see the following picture:so I tried to chmod max first, but that also failed:[root@home pty]# chmo

  • freedrull
    memory virtualization openvz
    We’re having a lot of memory problems on a new OpenVZ box. It is supposed to have 1 gig of memory, I’m not sure how much of that is burstable or guaranteed memory. Programs in general seem to take up more virtual memory than they do on my box at home, and on our other OpenVZ box.I wrote this simple C program:#include <stdio.h> #include <stdlib.h>int main(){char *thingy = malloc(500);getchar():return 0; }So it simply allocates 500 bytes and then returns. I ran the program on 3 compute

  • davidreedernst
    linux vps openvz virtuozzo
    Short Version: Are there any official guidelines on what the kmemsize barrier and limit should be set to for a container in Virtuozzo/OpenVZ intended to be used as a Web server? We’ve found posts in blogs and forums that say that kmemsize should be at least 10% of vmguarpages (after they are converted to the same units). Sadly, nothing we’ve found cited an authoritative reference (or even a reason) for this 10% assertion. Any idea where that 10% idea comes from?Long Version: A client of mine

  • MadHatter
    centos kernel openvz
    My server is keep crashing. It happens randomly every few days tough.Today it happened while I was logged in trough SSH and it said:Message from syslogd@ at Mon Apr 15 14:43:42 2013 … ns213921 kernel: journal commit I/O errorI was able to pull up more info from “/var/log/dmesg”:kernel: journal commit I/O errorenced inode 430312962 ext3_orphan_cleanup: deleting unreferenced inode 430473321 ext3_orphan_cleanup: deleting unreferenced inode 430312977 ext3_orphan_cleanup: deleting unreferenced inod

  • saepia
    lvm openvz proxmox
    I use Proxmox 2.2 for making OpenVZ containers.It ships with a tool called vzdump that can create backups of OpenVZ containers on the fly. It uses snapshot functionality of LVM to create temporary “fork” of filesystem for backup purposes.Unfortunately it sometimes crashes with one container that performs a lot of disk operations. As far as I know most probably it is because LVM has limited space that it can use for storing changes made to the volume during snapshot.I’ve tried to increase snapsho

  • Amr Mostafa
    virtualization xen openvz
    Every time I need to create VPSs out of one of our machines, I (re)think the virtualization technologies, and seem to end up with OpenVZ being the most suitable for performance reasons when all I want is clean separation between VPSs. All running GNU/Linux.The question I have is, for a scenario with the following facts, when is it ever more advisable to go for Xen? Here goes the situational facts:I trust everyone who will be using the VPSs, the issue of virtualization security is not a concern T

  • izx
    12.04 server kernel vps openvz
    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 in a OpenVZ virtual machine.How can I fix my apt dependencies?sysadmin@svr:~$ sudo apt-get update Ign http://archive.canonical.com precise InRelease Ign http://archive.ubuntu.com precise InRelease Ign http://archive.ubuntu.com precise-updates InRelease

  • Reece45
    linux apache2 cpanel openvz
    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 allocate memory for pool. in Unknown on line 0The shared server is a 64-bit OpenVZ container running cPanel. There are only ~6 VPSes on the host– this is the largest one at only 4GB. The host itself has 24GB RAM. As the below graphs show, the memory usage on the host and VPS are both rather low. CPU Usa

  • xsaero00
    iptables openvz
    This is related to the question I asked before. Now I am getting a different error.iptables: Unknown error 18446744073709551615when trying to apply a simple rule in VZ containeriptables -t nat -A PREROUTING -p tcp –dport 80 -j REDIRECT –to-port 8080I have done everything that was suggested to do on hardware node and container but the error persists.On hardware node:/etc/sysconfig/iptables-configIPTABLES_MODULES=”ip_conntrack_netbios_ns ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit

  • Oliver Seeliger
    xserver openvz
    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# $ apt-cache showpkg proxmox-ve-2.6.32 Package: proxmox-ve-2.6.32# $ tail -n 3 /etc/apt/sources.list # PVE packages provided by proxmox.com deb http://download.proxmox.com/debian squeeze pveFor a software project I need a minimal xserver and followed the instr

  • Bill the Lizard
    java openvz
    I’ve had a whole line of messes with java and .jar files. I’ve tried both OpenJDK (from software installer) and about three repositories for Sun./Desktop# java -jar -Xmx1024m ss.jar Exception in thread “main” java.awt.HeadlessExceptionat java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)at java.awt.Window.<init>(Window.java:476)at java.awt.Frame.<init>(Frame.java:419)at java.awt.Frame.<init>(Frame.java:384)at javax.swing.JFrame.<init>(JFrame

Web site is in building