ServerTune provides -- managed and un-managed -- VPS hosting solutions at affordable prices to accommodate your personal and/or businesses needs.
Click here for more info ...

Browse by category
Search | Advanced search
email messages are stuck in the queue and when I click "retry" I get this error:
This means that your locale settings had LC_ALL set to ``En_US'' and LANG exists but has no value. Perl tried to believe you but could not. Instead, Perl gave up and fell back to the ``C'' locale, the default locale that is supposed to work no matter what. This usually means your locale settings were wrong, they mention locales your system has never heard of, or the locale installation in your system has problems (for example, some system files are broken or missing). For more info, go to: Perllocale
Locales inside VE
After creating a VE (e.g. using centos-4-i386-default template) running perl (any perl script), results in the warning message given above.
Resolution
Some of templates have removed locales inside, since locales take really much space (~20Mb) while not needed in most cases (except for the default "C" locale).
So in this example /usr/lib/locale/en_US/LC_TIME and other files are missing.
Fix 1
reinstall glibc-common package using the command:
Fix 2
Or disable overriding of LC_* variables in /etc/ssh/sshd_config file and change the following directive from:
TO
#AcceptEnv LANG LC_*
so the default LC will be used.