debian
Update 10 Desember 2013 : Mengatasi perl: warning: Setting locale failed Debian

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

ataupun

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    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

Error yang muncul di Debian ataupun Ubuntu baik di VPS maupun server biasa. Hal tersebut terjadi karena bahasa lokal untuk system tidak dikenali ataupun bisa saja corrupt, untuk mengatasinya eksekusi perintah dibawah ini

su -c "locale-gen en_US.UTF-8"

setelah perintah diatas dieksekusi maka akan muncul output seperti dibawah ini

Generating locales...
  en_US.UTF-8... done
Generation complete.

masalah teratasi :)

Leave a comment

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