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

2015-01-06 Thread Detlef Bracker
Dear,

their is a problem with installation mysql-server 5.5 on debian wheezy
in a proxmox container same as in openvz

Only this helps for the problem, but why?

This site give a workarround:
http://unix.stackexchange.com/questions/152146/problems-installing-mysql-on-debian

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|.


I have many hours search for this solution. Before I get get every time
errors by the installation,
and I have found too in internet many admins with same problem, but only
in one site, I found this!

I have this problem only in debian wheezy 7.6 on AMD - with i386 never
before!

Regards

Detlef


signature.asc
Description: OpenPGP digital signature
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


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

2015-01-06 Thread Michael Rasmussen
On Wed, 07 Jan 2015 01:26:38 +0100
Detlef Bracker brac...@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=msgth=10181goto=47380S=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=getsearch=0xD3C9A00E
mir at datanom dot net
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE501F51C
mir at miras dot org
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE3E80917
--
/usr/games/fortune -es says:
Work is the curse of the drinking classes.
-- Mike Romanoff


pgpeeBlMgIuQC.pgp
Description: OpenPGP digital signature
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel