1.修改环境变量
修改/home/sybase/.bashrc,加入以下三行:
LANG=C
export LANG
否则会报错
Your sybase home directory is /opt/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
Cannot access /opt/sybase/locales/message/chinese/common.loc file
Cannot access /opt/sybase/locales/message/chinese/cslib.loc file
00:00:00000:00000:2013/12/03 11:06:40.16 kernel kscsinit: connectivity library error. Operation: cs_ctx_alloc().
1.linux默认安装路径为 /opt/sybase,只有目录所有者sybase这才能执行startserver(chown -R sybase.sybase /opt/sybase)
如果一般用户执行,错误信息为
Cannot execute file RUN_my_sybaselinux
2.如果安装完sybase后未执行SYBASE.sh,则执行startserver -f RUN_my_sybaselinux
报错信息如下