On Fri, Apr 29, 2005 at 12:44:39PM +0100, Gaz Wilson wrote: > > Just trying to clear up minor annoyances within my vserver system at > the moment, and I notice when I run perl (and probably other stuff), I > get: > > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = "en_GB:en_US:en_GB:en", > LC_ALL = (unset), > LANG = "en_GB" > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > > I have google'd for the error, but the same 2 solutions seem to get > discussed, and neither seem relevant to the vserver platform (namely > reinstall gcc and play with the localdef tool)
well, basically it says that there is a locale set (namely en_GB ...) and that perl doesn't know about that locale ... now what could be the reason for that: - you 'enter' the guest with this locale set, and the guest doesn't know about it (likely) workaround: export LC_ALL=C LANG=C - your scripts inside the guest do set the locale although the requested locale isn't installed workarounds: either fix the settings or install the missing locales - settings and locales are present, just perl needs some 'special' locale packages to be happy ... > Is this a common thing on vservers, and if so, what's the commonest solution? really depends on the guest setup, I'd say ... HTH, Herbert > Many thanks > > GW > > -- > / Gary Wilson, aka dragon/dragonlord/dragonv480 \ > .'(_.------. e: [EMAIL PROTECTED] MSN: dragonv480 .------._)`. > < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > > `.( `------' w: http://volvo480.northernscum.org.uk `------' ).' > \ w: http://www.northernscum.org.uk / > _______________________________________________ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver