免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9875 | 回复: 5
打印 上一主题 下一主题

dbaccess报错:-23101 Unable to load locale categories. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-03-11 17:38 |只看该作者 |倒序浏览
-23101 是什么错误?

论坛徽章:
0
2 [报告]
发表于 2004-03-11 17:45 |只看该作者

dbaccess报错:-23101 Unable to load locale categories.

-23101  Unable 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).

论坛徽章:
11
数据库技术版块每日发帖之星
日期:2016-06-25 06:20:00数据库技术版块每日发帖之星
日期:2016-06-24 06:20:00数据库技术版块每日发帖之星
日期:2016-05-03 06:20:00数据库技术版块每日发帖之星
日期:2016-04-21 06:20:00数据库技术版块每日发帖之星
日期:2016-01-23 06:20:00数据库技术版块每日发帖之星
日期:2015-12-03 06:20:00综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-19 06:20:00数据库技术版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15数据库技术版块每日发帖之星
日期:2016-07-30 06:20:00
3 [报告]
发表于 2004-03-11 18:22 |只看该作者

dbaccess报错:-23101 Unable to load locale categories.

看看msg文件权限对不对~~

论坛徽章:
0
4 [报告]
发表于 2004-03-12 08:50 |只看该作者

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,
否则就是存储在数据库中的集合)。

论坛徽章:
0
5 [报告]
发表于 2007-06-15 15:19 |只看该作者
export DB_LOCALE=zh_CN.gb
export CLIENT_LOCALE=zh_CN.gb

论坛徽章:
0
6 [报告]
发表于 2007-06-15 21:52 |只看该作者
楼上说的对,环境变量没设对
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP