免费注册 查看新帖 |

Chinaunix

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

isql无法登陆数据库 [复制链接]

论坛徽章:
0
发表于 2006-06-18 09:39 |显示全部楼层
我在服务器上用isql无法登陆数据库
$ isql -Usa -P -Swgsybase
The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure

Your sybase home directory is /u/sybase. Check the environment variable SYBASE i
f it is not the one you want!
Using locale name "C" defined in environment variable LANG
An error occurred when attempting to allocate localization-related structures.
我估计是服务器配置文件的问题,因为我用其他机客户端都可以正常连接数据库。服务器的环境变量是这样的:
$ set
HOME=/u/sybase
HZ=100
IFS=

LANG=C
LD_LIBRARY_PATH=/usr/sybase/ASE-12_5/lib:/usr/sybase/OCS-12_5/lib:/usr/lib:/usr/
sybase/SQLRemote/lib:
LOGNAME=sybase
MAIL=/var/mail/sybase
MAILCHECK=600
OPTIND=1
PATH=/u/sybase/ASE-12_5/bin:/u/sybase/ASE-12_5/install:/usr/bin:/usr/sbin:/u/syb
ase/OCS-12_5/bin
PS1=$
PS2=>
SHELL=/bin/sh
SYBASE=/u/sybase
SYBASE_ASE=ASE-12_5
SYBASE_EJB=EJB-12_5
SYBASE_FTS=EFTS-12_5
SYBASE_OCS=OCS-12_5
SYBASE_SYSAM=SYSAM-1_0
TERM=ansi
TZ=PRC
请问应该怎样修改呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP