Chinaunix首页 | 论坛 | 博客
  • 博客访问: 146961
  • 博文数量: 52
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 490
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-05 12:05
文章分类

全部博文(52)

文章存档

2013年(1)

2010年(3)

2009年(6)

2008年(25)

2007年(17)

我的朋友

分类: Sybase

2007-12-25 11:46:46

1Install require RPM package

   rpm -ivh sybase-common-12.5.0.1EE-1.i386.rpm

   rpm -ivh sybase-ase-12.5.0.1ESD-1.i386.rpm

   rpm -ivh sybase-efts-12.5.0.1ESD-1.i386.rpm

   rpm -ivh sybase-openclient-12.5.0.1ESD-1.i386.rpm

   RPMS/sybase-openserver-12.5.0.1ESD-1.i386.rpm

   rpm -ivh sybase-esql-12.5.0.1ESD-1.i386.rpm

   rpm -ivh sybase-doc-12.5.0.1ESD-1.i386.rpm

   rpm -ivh sybase-doc-12.5.0.1ESD-1.i386.rpm

2, make soft link sybase12 to OCS

[root@icilszxwww opt]# ls -l sybase12

lrwxrwxrwx  1 root root 11 Dec 25 10:35 sybase12 -> sybase-12.5

 

3, export SYBASE, DSQUERY etc.

Add lines to /etc/bashrc

 

export SYBASE=/opt/sybase12

PATH=${SYBASE}/OCS-12_5/bin:${SYBASE}:${JAVA_HOME}/bin:${JRE_HOME}/bin:${PATH}:{HOME}/bin

 

4, if you system report below error.

 

[root@icilszxwww install]# /opt/sybase12/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 /opt/sybase12. Check the environment variable SYBASE if it is not the one you want!

Using locale name "en_US.UTF-8" defined in environment variable LANG

Locale name "en_US.UTF-8" doesn't exist in your /opt/sybase12/locales/locales.dat file

An error occurred when attempting to allocate localization-related structures.

 

 

Solution:

Add proper line look like below line to file /opt/sybase12/locales/locales.dat

[linux]

        locale = en_US.UTF-8, us_english, iso_1

 

5. follow the Sybase document install a Sybase server and publish interfaces file

阅读(1162) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~