adding the following lines to my /etc/environment file worked
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
you can use the below command on terminal
export LC_ALL=C
vim /etc/default/locale
add to it:
LC_ALL="en_US.UTF-8"
$ vim ~/.zshrc
Write there below:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
Update changes in current shell by: $ source ~/.zshrc
you have to add the missing local lang helper: for me the missing ones where de_LU de_LU.UTF-8 . Mongo 2.6.4 worked wihtout mongo 2.6.5 throw an error on this
Source: Stackoverflow.com