- 论坛徽章:
- 0
|
本帖最后由 lzgscott 于 2010-06-15 20:58 编辑
我在REDHAT5 上安装了一套sybase15.5 安装过程比较顺利,可是后来发现以下两个问题:
1、用startserver -f RUN_syb 启动数据库时 提示如下内容的错误:
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.UTF-8" defined in environment variable LANG
Locale name "zh_CN.UTF-8" doesn't exist in your /home/sybase/locales/locales.dat file
00:00:00000:00000:2010/06/16 04:23:22.55 kernel kscsinit: connectivity library error. Operation: cs_ctx_alloc().
然后执行 export LANG=C后 就可以成功启动 ,请问这是为什么?
2、数据库启动后 在本机上执行 isql -Usa -P -Ssyb 可以连上数据库,可是在我的电脑上(XP)安装客户端无法连接 数据库,
提示以下错误:
C:\Documents and Settings\Administrator>isql -Usa -P -Ssyb
CT-LIBRARY error:
ct_connect(): network packet layer: internal net library error: Net-Lib
protocol driver call to connect two endpoints failed
linux上已经关闭防火墙。用netstat -a |grep 5000 查看不到监听的进程,以下是linux上的interfaces文件:
syb
master tcp ether localhost 5000
query tcp ether localhost 5000
syb_BS
master tcp ether localhost 5001
query tcp ether localhost 5001
syb_MS
master tcp ether localhost 5002
query tcp ether localhost 5002
syb_XP
master tcp ether localhost 5003
query tcp ether localhost 5003
syb_JSAGENT
master tcp ether localhost 4900
query tcp ether localhost 4900
ws
master tcp ether localhost 8186
query tcp ether localhost 8186
以下是我电脑上ini文件:
[syb]
master=TCP,192.168.1.10,5000
query=TCP,192.168.1.10,5000 |
|