一、無法進入圖形界面
在超級用戶下:
# xhost +
然後在Sybase用戶下
Sybase@mymotif-ThinkPad-X240:~$export display=:0.0
如還有問題那就要檢查X11所需的依賴包是否安裝完整
二、安裝後設置環境變量
cat /opt/sybase/Sybase.sh >>~/.bashrc
啟動服務:
$SYBASE/$SYBASE_ASE/bin/startserver -f $SYBASE/$Sybase_ASE/install/RUN_MYMOTIFTHINKPADX240
三、安裝時選擇中文utf8字符集執行isql出錯
$ isql -S服務名 -Usa -P密碼
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 /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
Locale name "zh_CN.UTF-8" doesn't exist in your /opt/Sybase/locales/locales.dat file
An error occurred when attempting to allocate localization-related structures.
修改
在/opt/Sybase/locales/locales.dat文件中的
[Linux]字段中追加
locale = zh_CN.UTF-8, chinese, utf8
四、安裝前
如已安裝unixodbc則將/usr/bin/isql改名
設置環境變量
export SYBASE=/opt/Sybase