Welcome 微信登录

首页 / 数据库 / MySQL / Linux sybase执行isql报错

在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 failureYour 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
执行成功了Oracle 11g 操作ASM权限问题MySQL字符串函数:字符串截取相关资讯      Sybase 
  • Sybase ASE1252(X) for RHEL5.4   (05/04/2013 08:16:58)
  • sybase的SQL多表联合查询调优  (04/25/2013 07:52:02)
  • Sybase ASE15.x中启用跟踪SQL语句  (02/07/2013 08:21:24)
  • sybase的SQL去掉字段中的/x0a(换行  (04/25/2013 07:54:09)
  • 为Sybase ASA创建外部存储过程(  (02/07/2013 08:25:04)
  • Sybase Adaptive Server   (01/11/2013 08:43:12)
本文评论 查看全部评论 (1)
表情: 姓名: 字数


评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款