dbaccess报错:-23101 Unable to load locale categories.
-23101 是什么错误?dbaccess报错:-23101 Unable to load locale categories.
-23101Unable to load locale categories.An invalid locale name was supplied for the locale initialization.
The environment variable to specify the locale category has a wrong
value. Check the value of the corresponding environment variable,
CLIENT_LOCALE or DB_LOCALE. Also check if INFORMIXDIR points to a valid
directory where Informix products are installed.
If a client application receives this error when it requests a database
server connection, check that the client and database locales are
compatible. They are compatible if a valid locale exists on the server
computer with the name lg_tr.codeset@mod, where lg_tr (language and
territory) and mod (locale modifier) are from the CLIENT_LOCALE and
codeset is from the database locale (from the DB_LOCALE, if it is set,
or as stored in the database).
dbaccess报错:-23101 Unable to load locale categories.
看看msg文件权限对不对~~dbaccess报错:-23101 Unable to load locale categories.
-23101 不能够装入位置目录。一个不合法的位置名字提供给了位置初始化处理。指明位置目录的环境变量得到一个
错误的值。检查相应的环境变量,CLIENT_LOCALE 或者DB_LOCALE。同时检查
INFORMIXDIR 是否指向了Informix 安装到的一个合法的目录。
如果客户引用程序申请数据库服务器连接而接收到此错误,请检查该客户和数据库位
置是否兼容。如果在服务器机器上有一lg_tr.codeset@mod为名的合法位置,它们就是
兼容的。整理lg_tr(language和territory)和mod(位置修改符)来自
CLIENT_LOCALE,而codeset来自数据库位置(如果是集合,则来自DB_LOCALE,
否则就是存储在数据库中的集合)。 export DB_LOCALE=zh_CN.gb
export CLIENT_LOCALE=zh_CN.gb 楼上说的对,环境变量没设对
页:
[1]