- 论坛徽章:
- 0
|
solaris9 升级到了solaris 10之后,老是报错 couldn't set locale correctly, 我查了一下系统的默认设置 /etc/default/init
testPRO#:/etc/default # more init
TZ=Australia/NSW
CMASK=022
LC_COLLATE=en_AU.ISO8859-1
LC_CTYPE=en_AU.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_AU.ISO8859-1
LC_NUMERIC=en_AU.ISO8859-1
LC_TIME=en_AU.ISO8859-1
但是系统里面居然没有en_AU, 如何是好啊? 怎么把其他没有的locale安装上,我都有安装盘,但是不知道安装哪个包,SUNWloc 包已经安装好了,还需要其他的什么包吗?
testPRO#:/etc/default # locale -a
C
POSIX
iso_8859_1
testPRO3:/etc/default #
testPRO:/usr/lib/locale # ls -ltr
total 6
lrwxrwxrwx 1 root root 3 Oct 19 12:03 POSIX -> ./C
drwxr-xr-x 8 root bin 512 Oct 19 12:03 C
drwxr-xr-x 4 root bin 512 Oct 19 12:06 iso_8859_1
testPRO:/usr/lib/locale # pkginfo | grep -i sunwloc
system SUNWloc System Localization
testPRO:/usr/lib/locale #
testPRO:/usr/lib/locale # pkginfo -l SUNWloc
PKGINST: SUNWloc
NAME: System Localization
CATEGORY: system
ARCH: sparc
VERSION: 11.10.0,REV=2005.01.21.15.53
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: localization utilities and C locale (POSIX default) definitions
PSTAMP: gaget20050121155936
INSTDATE: Oct 19 2007 12:06
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 45 installed pathnames
10 shared pathnames
1 linked files
15 directories
18 executables
910 blocks used (approx)
[ 本帖最后由 shyjack 于 2007-10-20 19:50 编辑 ] |
|