Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

initdb.bin: invalid locale settings; check LANG and LC_* environment variables

When I tried to install bitnami odoo 9 in my ubuntu system via terminal, I got the following error message.

How to solve this issue?

initdb.bin: invalid locale settings; check LANG and LC_* environment variables

Thanks in advance!

like image 769
Jithin U. Ahmed Avatar asked Jan 31 '17 11:01

Jithin U. Ahmed


1 Answers

The issue solved when i used the following commands

LC_ALL="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"

For Unix you have to be

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
like image 66
Karthik CP Avatar answered Sep 21 '22 16:09

Karthik CP