2008年3月16日 星期日

[gentoo]解決proftpd LC_ALL 問題


sun15 i18n # /etc/init.d/proftpd start

 * Starting proftpd ...

 - unable to set LC_ALL: No such file or directory

 - Fatal: unable to load module 'mod_lang.c': Operation not permitted     [ !! 



# grep zh_TW /usr/share/i18n/SUPPORTED >> /etc/locale.gen



sun15 i18n # locale-gen

 * You should upgrade your /etc/locales.build to /etc/locale.gen

 * and then remove /etc/locales.build when you're done.



 * Generating 3 locales (this might take a while) with 1 jobs

 *  (1/3) Generating zh_TW.EUC-TW ...                                     [ ok ]

 *  (2/3) Generating zh_TW.UTF-8 ...                                      [ ok ]

 *  (3/3) Generating zh_TW.BIG5 ...                                       [ ok ]

 * Generation complete





sun15 i18n # /etc/init.d/proftpd start

 * Starting proftpd ...

 - unable to set LC_ALL: No such file or directory

 - Fatal: unable to load module 'mod_lang.c': Operation not permitted     [ !! ]

sun15 i18n # LC_ALL="zh_TW"







sun15 i18n # locale -a

C

POSIX

zh_TW

zh_TW.euctw

zh_TW.utf8

sun15 i18n # /etc/init.d/proftpd start

 * Starting proftpd ...                                                   [ ok ]

sun15 i18n #



解決了



沒有留言:

張貼留言