We are maintaining old version of Ubuntu servers (10.04 LTS to be specific) Many times we encounter following errors on terminal: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Solution #1export LANGUAGE=en_IN.UTF-8 export LANG=en_IN.UTF-8 export LC_ALL=en_IN.UTF-8 locale-gen en_IN.UTF-8 If for some reason, above failed to work and throws following fresh error: warning: setlocale: LC_ALL: cannot change locale (en_IN.UTF-8) Try following alternative solution. Solution #2Edit locale file: vim /etc/default/locale Add following line: LC_ALL="en_IN.UTF-8" Generate locale again: locale-gen en_IN.UTF-8 There are some more alternate solutions that you can find on Google! Above seemed to work for me always. Related posts:
-- This Post Solution for "Locale Error – perl: warning: Setting locale failed." [Ubuntu] is Published on Devils Workshop . | |||
| |||
| |||
|
Tuesday, 12 June 2012
Solution for “Locale Error – perl: warning: Setting locale failed.” [Ubuntu]
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment