sybaseoracle 发表于 2008-03-29 22:10

请教下ISQL命令为什么无法执行

我在LINUX系统中新增用户名sybase在/home/sybase安装了SYBABSE 为什么执行的时候错误呢,谢谢
$ isql
-bash: isql: command not found
$ pwd
/home/sybase/OCS-12_5/bin
$ ./isql


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

sybaseoracle 发表于 2008-03-29 22:44

回复 #1 sybaseoracle 的帖子

sybase@localhost bin]$ ./isql


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

这个问题 我在LINUX中将设置LANG=ENGLISH  解决了 可以执行在BIN下执行./ISQL
第一个问题sybase@localhost bin]$ isql
-bash: isql: command not found
应该是环境变量的问题吧 ,如何设置呢?

chuxu 发表于 2008-03-30 19:47

把isql所在的目录加到用的PATH环境变量里。

sybaseoracle 发表于 2008-03-30 22:16

谢谢楼上的 顺送小笑话一则
:)
有一美媚在某it企业工作。
有一天早上,天气特别好,it美眉正全神贯注的工作,裙子被抽屉夹住了都没有察觉。当她站起身的时候裙子“嘶啦”一声被撕破。
同事们都闻声望来,it美眉连忙拿起身边一份it杂志遮住下面。
不料,同事们竟哄堂大笑,原来那份杂志的封面是在线游戏广告:“超大容量,可同时容纳十万用户”。
it美媚又拿起另一份杂志。同事们又再次哄笑,这份杂志的封面是杀毒软件:“小心病毒”。 it美眉快气昏了。

??当她拿起第三份杂志的时候就气昏过去了。第三份杂志是一本硬件杂志,封面是u盘广告:“即插即用”。

??迷迷糊糊中还记得要把重点部位保护好,就随手拉了第四本杂志盖上去,醒来的时候一看,是一本导购杂志,上书:“三折大优惠!”

再次晕倒。
页: [1]
查看完整版本: 请教下ISQL命令为什么无法执行