En uno de mis servidores de prueba, encontré un error bastante extraño y que en verdad me tomo tiempo encontrar la solución, al ejecutar casi cualquier orden en la linea de comandos, salía algo así:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US", LC_ALL = "utf-8", LC_CTYPE = "en_US", LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").
La solución es simple, solo hay que ejecutar los siguientes comandos como root, o con sudo antes:
$ apt-get install language-pack-en $ export LANGUAGE=en_US.UTF-8 $ export LANG=en_US.UTF-8 $ export LC_ALL=en_US.UTF-8 $ locale-gen en_US.UTF-8 $ dpkg-reconfigure locales
Para verificar la solución, solo hacemos un:
$ locale