Perl error

Bergcube

Member
Mar 8, 2009
31
0
6
58
Norway
As a result of unknown circumstances I get this type of errors:
Code:
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").
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
It seems to vary from host to host, as some hosts I run never show this error. Others can be ok, but start giving this error after some time's use. Once manifest it doesn't seem to go away.

I suspect this might be a simple matter, but googling it haven't given me much help so far.
 
What bug? (it is not a bug if you login an set an unsupported locale?)

yesterday i did a fresh bare-metal-install using the iso mentioned above. the default locale is de_DE.utf8, while only C, POSIX an en_US.utf8 are generated. sure the solution isn't hard, especially as I prefer the last one, but I would consider this a bug as I expect a fresh install to be coherent.
 
The installer sets the locale to 'en_US.UTF-8'. So where is it set to 'de_DE.utf8'?

don't know. as I said: did bare-metal-install, saw wrong locale and setup for en_US.UTF-8. does your installer uses time-zone config for locale? because that's the only choice i made that may refer to german language.
 
ok, i did a test-install in a KVM and the login-locale is POSIX. you're right an this is not a bug, just ssh inheriting LC_* env vars. they are always set to be like the source i came from...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!