[pve-devel] MySQL-Installation in Container / Debian-Wheezy - Problem openVZ

Michael Rasmussen mir at datanom.net
Wed Jan 7 02:16:33 CET 2015


On Wed, 07 Jan 2015 01:26:38 +0100
Detlef Bracker <bracker at 1awww.com> wrote:

> 
> >>The problem you are having is that the default configuration for newer versions of MySQL do not work
> inside of an OpenVZ container. After the failure you can try
> adding |innodb_use_native_aio = 0| to |/etc/mysql/my.cnf| and then
> run |dpkg --configure -a|.
> <<
> 
There is in fact two solutions. See
http://forum.openvz.org/index.php?t=msg&th=10181&goto=47380&S=4814f1b69ddeba17f6296ab9f349c7f5#msg_47380

For solution 2 see:
http://www.lowendtalk.com/discussion/40213/openvz-fs-aio-max-nr

Since users can change the settings in my.cnf I think this is not the
proper solution. Solution 2 is safe since the setting is transparent
to users.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Work is the curse of the drinking classes.
		-- Mike Romanoff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20150107/f5359f6c/attachment.sig>


More information about the pve-devel mailing list