I have been facing this issue with mongo lately. After i installed zsh, whenever i login to a remote box and try to start mongo i get this error :
So simple solution is mentioned here: http://askubuntu.com/questions/536875/error-in-installing-mongo-in-virtual-machine
To solve this permanently i change the ssh config :
and change the value from:
to:
That's it.
Thanks
Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly
So simple solution is mentioned here: http://askubuntu.com/questions/536875/error-in-installing-mongo-in-virtual-machine
export LC_ALL=C
mongo
To solve this permanently i change the ssh config :
sudo vim /etc/ssh/ssh_config
and change the value from:
SendEnv LANG LC_*
to:
SendEnv LANG LC_ALL=C
That's it.
Thanks
still gives the problem ::
ReplyDelete414+0000 SEVERE: Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly.
This comment has been removed by the author.
ReplyDelete