Posts tagged: server

Locale issues with Ubuntu Server 13.04 on EC2

By , Tuesday 14th May 2013 11:38 am

If you see an error message with Ubuntu Server 13.04 on EC2 like the following when trying to run commands:

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

Then run the following and reboot (you might want to update the locale though):

sudo echo "" >> /etc/environment
sudo echo "LC_ALL=\"en_GB.utf8\"" >> /etc/environment

Reboot and this should fix your issues.

Panorama Theme by Themocracy

3 visitors online now
1 guests, 2 bots, 0 members
Max visitors today: 13 at 06:05 am UTC
This month: 16 at 18-07-2017 05:35 pm UTC
This year: 45 at 02-01-2017 10:28 pm UTC
All time: 130 at 28-03-2011 10:40 pm UTC