[Maria-developers] Can't find messagefile '/usr/share/mysql/errmsg.sys'
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I built mariadb galera cluster 10.0.17 from source. Starting it with mysql_safe fails with: Can't find messagefile '/usr/share/mysql/errmsg.sys' This file does not exist indeed. It seems to not exist at all in mariadb-galera-10.0.17.tar.gz. Is it supposed to be installed separately? Am I missing something? Regards, - -- Sylvain Raybaud www.green-communications.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVeAYZAAoJEEkkwl4JtJ9yvfoP/jTnvj7V1Ze+E7sFE7Rz4Hsm +4Ga8f9MKCr5VxBZky3wMb8EgWmfcWDHbKqu4httTMH2RS6CCv7aiBeRfrMHMW5I NHl+k9CPUrDs03n4Vg12G2M33IIRfdEBgYf2xZ3sp3kBJ07MUWZPvlVL6ch+Aybn oOVzQ1rbUpxrkX2gj4XZ/wtXmy8vN6s9L3jy+o5HU4JZJcFyp1IpCwCE0OneI81V EiHs8dbpsUstr/32TaQ7gCBN9Hb25i5aVwRCD7UXE6kFt6OD6ifv8mw5KfmdtjHc i/0OotnOOsfj7tgDXKoPOltauGdSADJm2VSp8/nsfd6MR2nxMGZcw/Xbhj5l4FkY jWZf7uRAiKsYlmZEaJlb0WZrCTGSe6pcO82hObhv/vD0O55gKCdOM2rAExRiuxFn IPAuKGAKhzegxXxmmBTQv09tjSY3WTNZfFbDKGDQe4EYmCJ0K14cq37gC+TYI+xb Jr9SI5WBAvVVrCvhRktloEf03jVqXMH3H03DBjxGDB9KRc3Vr6AGhQmg0ixC2ZHC uTbRcx+R5mEn40TVwzLEnsUfiV+0MuJ5YYM5brYYRmXRg4ipwTcts1byKTHpvy69 PrDF1mzStInfex2ntkmw7puX8CQ4uebCLzHWSPODDa1n66D1vaEYCbZV7hEg25dH ox0Iptm4REWGyxgNeQxB =0Ydk -----END PGP SIGNATURE-----
Hi! On Wed, Jun 10, 2015 at 5:40 AM, Sylvain Raybaud < sylvain.raybaud@green-communications.fr> wrote:
I built mariadb galera cluster 10.0.17 from source. Starting it with mysql_safe fails with: Can't find messagefile '/usr/share/mysql/errmsg.sys'
Did you try setting --basedir=</path/to/mariadb/> ?
This file does not exist indeed. It seems to not exist at all in mariadb-galera-10.0.17.tar.gz. Is it supposed to be installed separately? Am I missing something?
In binary tarball, the file is placed under share/. Best, Nirbhay
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! On 10/06/2015 15:29, Nirbhay Choubey wrote:
On Wed, Jun 10, 2015 at 5:40 AM, Sylvain Raybaud <sylvain.raybaud@green-communications.fr <mailto:sylvain.raybaud@green-communications.fr>> wrote:
I built mariadb galera cluster 10.0.17 from source. Starting it with mysql_safe fails with: Can't find messagefile '/usr/share/mysql/errmsg.sys'
Did you try setting --basedir=</path/to/mariadb/> ?
Yes, it didn't work. However, since I'm compiling in buildroot, the source tree is not present on the image. So I supposed /path/to/mariadb is the installation prefix (/usr) but I'm not sure. However I noticed that a number of /usr/share/<language>/errmsg.sys exist, for different languages (errmsg.sys does not exist anywhere else in the image). I just symlinked /usr/share/english/errmsg.sys to /usr/share/mysql/errmsg.sys and was then able to start mariadb. Is this the way to go? Regards, - -- Sylvain Raybaud www.green-communications.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJViXdVAAoJEEkkwl4JtJ9yj6MP/R1ALmKFsmUP3YORMAcHr9SB 3xaxL2dQZV2C5EQXHRgpZnrPSslNKQLIQpoRfwoXYGIrYJwsCLyBGv3u0AlsaZzT 6JlyyJs1lAgKmcFr0ZOh3IeKxJLBwqhFJbfWtbxzV0+aAZK3Ix+7aPiHwCJs5NU/ ligHA+VJ+YcTV5g8jNAuMMVsxqSgPf3fTPd67lOnPHQo2Lk+0vd1buTe7if3cMzd tfLlNw5DZ5DTMNqG7/BswUvNb4dbg3htfqYYqoCfAjZ8nxVFyoX3vs3YFNsXTJZZ ehQxptQqeRRzHeed0axPV07ZrtZpVfEK9RMCo1fI193OFVAdD04myojSQdSLJLba wbuiJAm1n6/jOZka/0g2mrWXO67msgvUKapMVQ6p8Yyar8KBg4YKw+D06XLre79z xG3BZ+rZxMP1pU9YKhpOpFsTVMU2pl+UrbsjfxE/PtExLHrOXXi60kKqAr33uys+ 00kIIMBPsO5tTVMLruHG4Fddt5DuqloMylmOMY32pG5/stJ9Q588od49jC2gdpCF rnKYVB574cMVoEe5L4xjP3zjPXIJoXD4ABgURoIugv6wLlNQYyUyeVFs8zmC03BI PRixYBwzGyv//JFErSClQ0k3miPq8SP6H0hyCpKEAedQ41XWfZKo7jHfLmYDPulb S9x7+dOJ+ql6q6JXx18A =EAgT -----END PGP SIGNATURE-----
Just for reference: I posted this http://bugs.mysql.com/bug.php?id=75343 to bugs.mysql 1½ years ago. -- Peter -- Webyog On Tue, Jun 23, 2015 at 5:12 PM, Sylvain Raybaud < sylvain.raybaud@green-communications.fr> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi!
On 10/06/2015 15:29, Nirbhay Choubey wrote:
On Wed, Jun 10, 2015 at 5:40 AM, Sylvain Raybaud <sylvain.raybaud@green-communications.fr <mailto:sylvain.raybaud@green-communications.fr>> wrote:
I built mariadb galera cluster 10.0.17 from source. Starting it with mysql_safe fails with: Can't find messagefile '/usr/share/mysql/errmsg.sys'
Did you try setting --basedir=</path/to/mariadb/> ?
Yes, it didn't work. However, since I'm compiling in buildroot, the source tree is not present on the image. So I supposed /path/to/mariadb is the installation prefix (/usr) but I'm not sure.
However I noticed that a number of /usr/share/<language>/errmsg.sys exist, for different languages (errmsg.sys does not exist anywhere else in the image). I just symlinked /usr/share/english/errmsg.sys to /usr/share/mysql/errmsg.sys and was then able to start mariadb. Is this the way to go?
Regards,
- -- Sylvain Raybaud www.green-communications.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQIcBAEBAgAGBQJViXdVAAoJEEkkwl4JtJ9yj6MP/R1ALmKFsmUP3YORMAcHr9SB 3xaxL2dQZV2C5EQXHRgpZnrPSslNKQLIQpoRfwoXYGIrYJwsCLyBGv3u0AlsaZzT 6JlyyJs1lAgKmcFr0ZOh3IeKxJLBwqhFJbfWtbxzV0+aAZK3Ix+7aPiHwCJs5NU/ ligHA+VJ+YcTV5g8jNAuMMVsxqSgPf3fTPd67lOnPHQo2Lk+0vd1buTe7if3cMzd tfLlNw5DZ5DTMNqG7/BswUvNb4dbg3htfqYYqoCfAjZ8nxVFyoX3vs3YFNsXTJZZ ehQxptQqeRRzHeed0axPV07ZrtZpVfEK9RMCo1fI193OFVAdD04myojSQdSLJLba wbuiJAm1n6/jOZka/0g2mrWXO67msgvUKapMVQ6p8Yyar8KBg4YKw+D06XLre79z xG3BZ+rZxMP1pU9YKhpOpFsTVMU2pl+UrbsjfxE/PtExLHrOXXi60kKqAr33uys+ 00kIIMBPsO5tTVMLruHG4Fddt5DuqloMylmOMY32pG5/stJ9Q588od49jC2gdpCF rnKYVB574cMVoEe5L4xjP3zjPXIJoXD4ABgURoIugv6wLlNQYyUyeVFs8zmC03BI PRixYBwzGyv//JFErSClQ0k3miPq8SP6H0hyCpKEAedQ41XWfZKo7jHfLmYDPulb S9x7+dOJ+ql6q6JXx18A =EAgT -----END PGP SIGNATURE-----
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi On 23/06/2015 17:33, Peter Laursen wrote:
Just for reference: I posted this http://bugs.mysql.com/bug.php?id=75343 to bugs.mysql 1½ years ago.
Thanks for the pointer, it helped me understand the situation better. The solution simply was to change lc_messages_dir to /usr/share in my.cnf. Sorry for the noise. Is there a build option to install errmsg.sys files in another directory ? Cheers, Sylvain
-- Peter -- Webyog
On Tue, Jun 23, 2015 at 5:12 PM, Sylvain Raybaud <sylvain.raybaud@green-communications.fr <mailto:sylvain.raybaud@green-communications.fr>> wrote:
Hi!
On 10/06/2015 15:29, Nirbhay Choubey wrote:
On Wed, Jun 10, 2015 at 5:40 AM, Sylvain Raybaud <sylvain.raybaud@green-communications.fr <mailto:sylvain.raybaud@green-communications.fr> <mailto:sylvain.raybaud@green-communications.fr <mailto:sylvain.raybaud@green-communications.fr>>> wrote:
I built mariadb galera cluster 10.0.17 from source. Starting it with mysql_safe fails with: Can't find messagefile '/usr/share/mysql/errmsg.sys'
Did you try setting --basedir=</path/to/mariadb/> ?
Yes, it didn't work. However, since I'm compiling in buildroot, the source tree is not present on the image. So I supposed /path/to/mariadb is the installation prefix (/usr) but I'm not sure.
However I noticed that a number of /usr/share/<language>/errmsg.sys exist, for different languages (errmsg.sys does not exist anywhere else in the image). I just symlinked /usr/share/english/errmsg.sys to /usr/share/mysql/errmsg.sys and was then able to start mariadb. Is this the way to go?
Regards,
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net <mailto:maria-developers@lists.launchpad.net> Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp
- -- Sylvain Raybaud www.green-communications.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVineAAAoJEEkkwl4JtJ9yciMQALAvnjsooJiv4uZ6wSkLoKMw 5VMEY3P+hb3tmXX3g99eZmoYz9Eq3Sdf0W54Qib6F9+7De8h+Y2noeRfgoRC0bqI xCxUD5fTlUAvE/EDjAG5S7i5A3lmaso69ZSKtnEHTLhiRaJLKrOtJJqmZVrvvJnV XkJVcwjjtfC/+hO3eEsB0Vk1rO8pxqd7nhgeqMmhna7oPSNWKOlTnYmi5I16rEbe TX0m5z00TX/PWAOPBhRFSjyQXW6FKJDgG2kZt+xsgYQl8rzFgpf6ZJakz9KQ2arm exdrzJ7IGyl5j60Xmtxxg8osOaIhIvRlEFIS458a7HvmbXPf4rhCcONwIoLpBtH8 HJ6lVrEghqr3HdzBKiUKaARloElcKtGKYMuB92hux5xvUvdJ+7mW0flrvy9ifv3t ju7ZyzJf0XORs0crovqBMFpb2y/RcxEKD0rbS/2+fAo9ytAXLNV5iV7kprGHKE5w KoIgjk3gI/P3qAFdrsjUlNyCn5gALiVCk/UUxTCgHbYcgoA0vWVg1tMKIUqFx3vM /5PDFuke2YUdhxJ+bE0wapt4/7riYzIcSoq3drDvfQxpjcM/b4sUUQS2LPdUBsTZ UVrsDltqUhx5QCEj/8NicLQ/rjt5S/ybbLzGs75gyCinVvorKxoXUBaFYzdzNxWt eGdWhhyXn6fPP1IFNbjh =o+12 -----END PGP SIGNATURE-----
participants (3)
-
Nirbhay Choubey
-
Peter Laursen
-
Sylvain Raybaud