Posts tagged: 13.04

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

4 visitors online now
2 guests, 2 bots, 0 members
Max visitors today: 5 at 01:35 am UTC
This month: 14 at 11-05-2017 07:08 pm UTC
This year: 45 at 02-01-2017 10:28 pm UTC
All time: 130 at 28-03-2011 10:40 pm UTC