ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux sybase执行isql报错

Linux sybase执行isql报错

原创 Linux操作系统 作者:longqidong 时间:2012-08-22 10:36:29 0 删除 编辑
在redhat as 4上面安装完sybase 12.5.4后,初始化完毕,执行isql -Usa -P报错:

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 /opt/sybase-12.5. Check the environment variable SYBASE if it is not the one you want!
Using locale name "zh_CN.UTF-8" defined in environment variable LANG
Locale name "zh_CN.UTF-8" doesn't exist in your /opt/sybase-12.5/locales/locales.dat file
An error occurred when attempting to allocate localization-related structures

这是由于LANG设置错误导致,执行export LANG=C,再次执行 
isql -Usa -P
还是报错:
CT-LIBRARY error:
        ct_connect(): directory service layer: internal directory control layer error: Requested server name not found.

这是由于参数不对导致,加上参数-S执行服务器名就可以了

isql -Usa -P -Ssybase
执行成功了


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22418990/viewspace-741555/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: oracle 11g R2安装RAC
请登录后发表评论 登录
全部评论

注册时间:2009-08-26

  • 博文量
    94
  • 访问量
    474892