bsdjunkie Asked: 2009-06-17 08:05:57 +0800 CST2009-06-17 08:05:57 +0800 CST 2009-06-17 08:05:57 +0800 CST Issues with auth.log 772 My auth.log on my ubuntu server is full with Unable to open env file: /etc/default/locale: No such file or directory Any ideas on how to solve? linux ubuntu ssh 2 Answers Voted Russell Heilling 2009-06-17T08:17:48+08:002009-06-17T08:17:48+08:00 One answer could be: Create the /etc/default/locale file... Mine has the contents: LANG="en_GB.UTF-8" LANGUAGE="en_GB:en" This may be caused by this bug. If it is, then simply running 'update-locale' may fix it. Kjetil Joergensen 2009-06-17T08:13:49+08:002009-06-17T08:13:49+08:00 echo 'LANG="en_US.UTF-8"' > /etc/default/locale Possibly, replace "en_US.UTF-8" with a generated locale of your choice or just C which at least should be present. You could check out /var/lib/locales/supported.d/local for an indication of which locales might be generated.
One answer could be: Create the /etc/default/locale file...
Mine has the contents:
This may be caused by this bug. If it is, then simply running 'update-locale' may fix it.
Possibly, replace "en_US.UTF-8" with a generated locale of your choice or just C which at least should be present.
You could check out /var/lib/locales/supported.d/local for an indication of which locales might be generated.