ispCP - Board - Support
perl: warning: Setting locale failed. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: perl: warning: Setting locale failed. (/thread-2614.html)



perl: warning: Setting locale failed. - prale - 03-01-2008 11:08 PM

hello, after I installed, munin, amavis and maia my email get's bombed every 5mins:

FROM: Cron DEAMON

Cron <munin@domain> if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi

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

----------------------------------------------------------

Also I get the same one but then from amavis.

What can I do?
I beleive I have only installed nl_NL.utf8
I don't know how to install de_DE.UTF8, or change the setting to nl_NL.utf8.

Please help me, I get already more than 200emails a day :S


RE: perl: warning: Setting locale failed. - joximu - 03-01-2008 11:45 PM

dpkg-reconfigure locales

check all you need and choose one default (your choice).

maybe you have to set a locales code in munin?


RE: perl: warning: Setting locale failed. - prale - 03-01-2008 11:52 PM

I already tried dpkg-reconfigure locales

when I hit enter nothing happens.
what key can I use to select multiple languages there?

my default is nl_NL.utf8
I installed EN language files in maia

but it asks for de_DE.UTF8 so I guess I must only install de_DE.utf8


RE: perl: warning: Setting locale failed. - joximu - 03-01-2008 11:57 PM

prale Wrote:I already tried dpkg-reconfigure locales

when I hit enter nothing happens.

bad.
check your system. you should get a tui (text user interface:-) to select the locales you wish to support on your server (also for the ispcp-webmail!!)

prale Wrote:what key can I use to select multiple languages there?

the up/down keys to move the cursor and the space to select and then tab, tab and enter a.s.o.

prale Wrote:my default is nl_NL.utf8
I installed EN language files in maia

but it asks for de_DE.UTF8 so I guess I must only install de_DE.utf8

what brings "locale -a" theese are installed.

/J


RE: perl: warning: Setting locale failed. - prale - 03-02-2008 12:00 AM

Thanks the space key is what I needed.

# dpkg-reconfigure locales
Generating locales (this might take a while)...
nl_NL.UTF-8... done
de_DE.UTF-8... done
Generation complete.

I hope it works now.


RE: perl: warning: Setting locale failed. - prale - 03-02-2008 12:07 AM

Until now I only got a mail from amavis:

2008-03-01 15:01:01 Maia: [stats-snapshot] Updating stats history table.

------------------------------------------

The perl: warning: Setting locale failed. was also in this email before, now its gone.
It looks like the every 5min email from munin isn't not comming any more.
I guess the maia notice is not an error.