Fix locale settings in perl

Jika anda menemui warning yang sama berkaitan dengan locale settings in perl, mudah2an cara ini bisa jadi probelm solvingnya.

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “en_ID:en_US:en_GB:en”,
LC_ALL = (unset),
LANG = “en_US”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Caranya, Login sebagai root, kemudian install localeconf kemudian reconfigure ulang localeconfnya.

#apt-get install localeconf
#dpkg-reconfigure locales

Mudah-mudahan warning itu tidak akan muncul kembali.

The following two tabs change content below.
Unix/Linux enthusiasts, good working experience with SAN, NAS, Linux, Solaris, AIX, VMWare & Graphic Design. Certified for Solaris Admin, EMC & HDS Storage.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.