ITPub博客

首页 > 数据库 > 数据库开发技术 > sybase 12.5.4/sybase 15.0.2在redhat as5下srvbuildres出错解决

sybase 12.5.4/sybase 15.0.2在redhat as5下srvbuildres出错解决

原创 数据库开发技术 作者:paulos 时间:2008-01-25 15:08:14 0 删除 编辑

sybase 12.5.4/sybase 15.0.2 安装

OS: redhat as5 32bit 64bit

[@more@]

srvbuildrs 时提示libXm.so.3无法找到:

rpm -ivh openmotif-2.3.0-0.3.el5.i386.rpm
rpm -ivh openmotif-2.3.0-0.3.el5.x86_64.rpm
ln -s /usr/lib64/libXm.so.4 /usr/lib64/libXm.so.3

su - sybase

在创建服务时提示:segmentation fault

用:export LD_POINTER_GUARD=0

Installing/Running ASE on systems with glibc 2.4.x (Fedora Core 5, etc)

ASE (12.5.x, 15.x) will not run on a system with glibc 2.4.x (that’s Fedora Core 5 and later, among others). Here is a work-around, supplied by "Chris" in sybase.public.ase.linux:

Symptoms of the problem are ASE’s failing to build when you run the installer, or "Segmentation Fault" when trying to start an ASE instance. The Seg Fault happens right after Engine ) is brought online in the error log.
If you are running Fedora Core 5 or 6
You will need to set the environment variable LD_POINTER_GUARD to 0, in your sybase .profile, as follows:

export LD_POINTER_GUARD=0

Alternatively, just export this from the shell. If you haven’t built any ASE’s yet, you’ll need to export this before running the installer, otherwise ASE will fail to build. If you are trying to boot an already installed ASE, then put it in your .profile / .bash_profile or export it as an environment variable before starting ASE.
If you are running Ubuntu / Kubuntu "Edgy"
You will need to set the environment variable LD_POINTER_GUARD to 1 in your sybase .profile, as follows:

export LD_POINTER_GUARD=1

I googled around a bit trying to find out what the LD_POINTER_GUARD thingie did and ran across a posting / blog where it talked about insome glibc versions it’s backwards … RedHat just made a change I guess and that’s why you have to set it to "0" for Fedora and "1" for Ubuntu / Kubuntu / Debian (glibc 2.4). Same info applies if you are building a new ASE.
If you are running Suse 10.1 You will need to set the environment variable LD_POINTER_GUARD to 1 in your sybase .profile, as follows:

export LD_POINTER_GUARD=1

Same discussion as for Ubuntu.
I’ve tried all of the above they all work with the workaround listed. Happy ASE-ing! I’ve tested all of the above distros (sorry it took me so long, was on the road a lot over the last several weeks) and they allow ASE to boot; the workaround should be valid for ASE 15.x and 12.x (prolly even for 11.x if you wanted to try).

http://www.zjspace.com/xspace/?5/viewspace-4682

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10445189/viewspace-998415/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: shell基础十二篇
下一篇: 没有了~
请登录后发表评论 登录
全部评论
  • 博文量
    4
  • 访问量
    117676