免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1933 | 回复: 3

liaosnet 帮忙看看啊 [复制链接]

论坛徽章:
0
发表于 2012-05-09 14:41 |显示全部楼层
[informix@localhost dbs]$ dbaccessdemo7

DBACCESS  Demonstration Database Installation Script

DB_LOCALE environment variable must be en_us.8859-1

我运行测试程序不行  提示must be en_us.8859-1

[informix@localhost dbs]$ oninit -vy
Checking group membership to determine server run mode...succeeded
Reading configuration file '/opt/informix/etc/onconfig'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 360752 kbytes...succeeded
Allocating 1000016 kbytes for buffer pool of 2K page size...succeeded
Allocating 160016 kbytes for buffer pool of 16K page size...succeeded
Creating infos file "/opt/informix/etc/.infos.starit"...succeeded
Linking conf file "/opt/informix/etc/.conf.starit"...succeeded
Initializing rhead structure...succeeded
Writing to infos file...succeeded
Initialization of Encryption...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 0 additional cpu vps...succeeded
Onlining 2 IO vps...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 32 flushers...succeeded
Initializing SDS Server network connections...succeeded
Initializing log/checkpoint information...succeeded
Initializing dbspaces...succeeded
Opening primary chunks...succeeded
Opening mirror chunks...succeeded
Validating chunks...succeeded
Initialize Async Log Flusher...succeeded
Starting B-tree Scanner...succeeded
Initializing DBSPACETEMP list...succeeded
Checking database partition index...succeeded
Initializing dataskip structure...succeeded
Checking for temporary tables to drop...succeeded
Forking onmode_mon thread...succeeded
Creating periodic thread...succeeded
Starting scheduling system...succeeded
Verbose output complete: mode = 5


[informix@localhost ~]$ vim .bash_profile # .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATHHOME/bin

export PATH


INFORMIXDIR=/opt/informix
INFORMIXSERVER=starit
PATH=$PATHHOME/binINFORMIXDIR/bin
export PATH INFORMIXDIR INFORMIXSERVER
#export DB_LOCALE=zh_cn.gb
#export CLIENT_LOCALE=zh_cn.gb
#export SERVER_LOCALE=zh_cn.gb
#export DBLANG=zh_cn.gb
#export DBDATE=Y4MD
这哥注释和不注释可有关系?

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
发表于 2012-05-09 14:44 |显示全部楼层
dbaccessdemo7 建的库需要的DB_LOCALE 是en_US.819 也就是默认的。。。

论坛徽章:
0
发表于 2012-05-09 14:46 |显示全部楼层
#export DB_LOCALE=zh_cn.gb
但是我这是注释的啊 应该没影响啊

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
发表于 2012-05-09 15:14 |显示全部楼层
回复 3# 45888225hui


    unix/linux基础,你需要使之生效才行。。谢谢。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP