|
藍森林 http://www.lslnet.com 2006年7月08日 11:08
在linux上安裝ASE15之後,啟動服務出錯
請教各位高手,啟動RUN_XXX出錯:
錯誤信息是:
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 /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
Cannot access /sybase/locales/message/chinese/common.loc file
Cannot access /sybase/locales/message/chinese/cslib.loc file
00:00000:00000:2005/11/18 17:20:02.30 kernel kscsinit: connectivity library err or. Operation: cs_ctx_alloc().
請各位解答,謝謝! |
1、環境變量設置有問題
2、zh_CN.GB18030在locales.dat文件中沒有 |
其實我已經修改了locales.dat加入這個了,可是還是不可以 |
檢查環境變量,env |
感謝樓上的回復,後來找到了原因,是登錄的問題,之前root登錄後,採用su sybase,這種情況登錄讀不到SYBASE環境變量,採用su - sybase就可以了 |
不錯 |
| |