免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 6620 | 回复: 14
打印 上一主题 下一主题

SYBASE12.5在Fedora linux上安装时创建服务出错 请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-05-15 10:11 |只看该作者 |倒序浏览
在Fedora linux 上创建服务出错,glib版本

glibc-headers-2.6-3
glibc-common-2.6-3
glibc-devel-2.6-3
glibc-devel-2.6-3
glibc-2.6-3
glibc-2.6-3

操作系统版本

2.6.20-2925.9.fc7xen #1 SMP Tue May 22 09:29:36 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

已设置环境变量export LD_POINTER_GUARD=0;
创建服务时仍然报段转储错误,请达人指教,在线等待

以下为创建日志:

Building Adaptive Server 'IGWNMS':
Writing entry into directory services...
Directory services entry complete.
Building master device...
sh: line 1:  6967 Segmentation fault      /opt/sybase/ASE-12_5/bin/dataserver -d/opt/sybase/data/master.dat -b600M -z2048 -sIGWNMS -e/opt/sybase/ASE-12_5/install/GZCNMS.log -T1623 > /tmp/sbUw7XK9 2>&1
Task failed

dataserver: master device size for this server: 600.0 Mb
dataserver: master database size for this server: 6.0 Mb
dataserver: model database size for this server: 2.0 Mb
00:00000:00000:2010/05/15 07:49:54.37 kernel  Use license file /opt/sybase/SYSAM-1_0/licenses/license.dat.
00:00000:00000:2010/05/15 07:49:54.37 kernel  Checked out license ASE_SERVER
00:00000:00000:2010/05/15 07:49:54.37 kernel  Adaptive Server Enterprise Edition
00:00000:00000:2010/05/15 07:49:54.37 kernel  Using config area from primary master device.
00:00000:00000:2010/05/15 07:49:54.37 kernel  Warning: Using default file '/opt/sybase/IGWNMS.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
00:00000:00000:2010/05/15 07:49:54.38 kernel  os_create_keyfile: Removed old segment /opt/sybase/IGWNMS.krg
00:00000:00000:2010/05/15 07:49:54.38 kernel  Internal run-time model set for Linux  - Native
00:00000:00000:2010/05/15 07:49:54.38 kernel  Using 1024 file descriptors.
00:00000:00000:2010/05/15 07:49:54.38 kernel  Adaptive Server Enterprise/12.5.2/EBF 11799/P/Linux Intel/Enterprise Linux/ase1252/1831/32-bit/OPT/Fri Apr  9 02:53:50 2004
00:00000:00000:2010/05/15 07:49:54.38 kernel  Confidential property of Sybase, Inc.
00:00000:00000:2010/05/15 07:49:54.38 kernel  Copyright 1987, 2004
00:00000:00000:2010/05/15 07:49:54.38 kernel  Sybase, Inc.  All rights reserved.
00:00000:00000:2010/05/15 07:49:54.38 kernel  Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2010/05/15 07:49:54.38 kernel  
00:00000:00000:2010/05/15 07:49:54.38 kernel  This software contains confidential and trade secret information of Sybase,
00:00000:00000:2010/05/15 07:49:54.38 kernel  Inc.   Use,  duplication or disclosure of the software and documentation by
00:00000:00000:2010/05/15 07:49:54.38 kernel  the  U.S.  Government  is  subject  to  restrictions set forth in a license
00:00000:00000:2010/05/15 07:49:54.38 kernel  agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
00:00000:00000:2010/05/15 07:49:54.38 kernel  agreement  specifying  the  Government's rights to use the software and any
00:00000:00000:2010/05/15 07:49:54.38 kernel  applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2010/05/15 07:49:54.38 kernel  Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
00:00000:00000:2010/05/15 07:49:54.38 kernel  ASE booted on Linux release 2.6.20-2925.9.fc7xen version #1 SMP Tue May 22 09:29:36 EDT 2007.
00:00000:00000:2010/05/15 07:49:54.38 kernel  Using '/opt/sybase/IGWNMS.cfg' for configuration information.
00:00000:00000:2010/05/15 07:49:54.38 kernel  Logging ASE messages in file '/opt/sybase/ASE-12_5/install/GZCNMS.log'.
00:00000:00000:2010/05/15 07:49:54.39 kernel  Platform TCP network is forced to IPv4-only.
00:00000:00000:2010/05/15 07:49:54.39 kernel  SQL Server booted with TCP_NODELAY enabled.
00:00000:00000:2010/05/15 07:49:54.39 kernel  SSL Plus v3.0.8 security modules loaded successfully.
00:00000:00000:2010/05/15 07:49:54.39 kernel  Network and device connection limit is 1014.
00:00000:00000:2010/05/15 07:49:54.44 server  Number of blocks left for proc headers: 3232.
00:00000:00000:2010/05/15 07:49:54.44 server  Proc header memory allocated 1616 pages for each per engine cache
00:00000:00000:2010/05/15 07:49:54.46 server  Size of the 2K memory pool: 8192 Kb
00:00000:00000:2010/05/15 07:49:54.46 server  Memory allocated for the default data cache cachelet 1: 8192 Kb
00:00000:00000:2010/05/15 07:49:54.46 kernel  Extended cache size '0' is invalid. Provide the appropriate size value.
00:00000:00000:2010/05/15 07:49:54.46 kernel  Enabling (RT) Posix asynchronous disk I/O strategy.
00:00000:00000:2010/05/15 07:49:54.46 kernel  Initializing virtual device 0, '/opt/sybase/data/master.dat' with dsync 'off'.
00:00000:00000:2010/05/15 07:49:54.46 kernel  Virtual device 0 started using asynchronous i/o.
00:00000:00000:2010/05/15 07:49:54.46 kernel  Worker Thread Manager is not enabled for use in SQL Server.
00:00000:00000:2010/05/15 07:49:54.46 kernel  Either the config parameter 'use security services' is set to 0, or ASE does not support use of external security mechanisms on this platform. The Security Control Layer will not be initialized. No external security mechanisms will be supported.
00:00000:00000:2010/05/15 07:49:54.46 kernel  Unix interval timer enabled for sysclk interrupts.
00:00000:00000:2010/05/15 07:49:54.46 kernel  engine 0, os pid 6967  online
Server 'IGWNMS' was not created.

论坛徽章:
6
水瓶座
日期:2014-06-04 03:34:37水瓶座
日期:2014-06-17 13:20:31数据库技术版块每日发帖之星
日期:2016-07-09 06:20:00数据库技术版块每日发帖之星
日期:2016-07-17 06:20:00数据库技术版块每日发帖之星
日期:2016-08-01 06:20:00数据库技术版块每日发帖之星
日期:2016-08-04 06:20:00
2 [报告]
发表于 2010-05-15 10:20 |只看该作者
/opt/sybase/ASE-12_5/bin/dataserver -v

看能够成功显示版本号?

论坛徽章:
0
3 [报告]
发表于 2010-05-15 10:23 |只看该作者
显示结果如下

localhost.localdomain:/opt/sybase/ASE-12_5/bin > /opt/sybase/ASE-12_5/bin/dataserver -v
Adaptive Server Enterprise/12.5.2/EBF 11799/P/Linux Intel/Enterprise Linux/ase1252/1831/32-bit/OPT/Fri Apr  9 02:53:50 2004

Confidential property of Sybase, Inc.
Copyright 1987, 2004
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a license
agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
agreement  specifying  the  Government's rights to use the software and any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA

论坛徽章:
0
4 [报告]
发表于 2010-05-15 10:27 |只看该作者
我在红帽下安装没有问题
在Fedora linux下安装就遇到了这个问题
在网上查看资料说是sybase与操作系统的glib版本的
关系,glib2.4以上的版本都会出这样的问题,建议设置
LD_POINTER_GUARD环境变量,我设置了建立服务
仍然是这个问题,设置成0或者1都不起作用

论坛徽章:
33
ChinaUnix元老
日期:2018-07-04 15:10:362015年亚洲杯之阿联酋
日期:2015-02-06 17:15:532015亚冠之武里南联
日期:2015-06-06 15:40:252015亚冠之北京国安
日期:2015-06-17 15:42:412022北京冬奥会纪念版徽章
日期:2015-08-10 16:30:322015亚冠之阿尔纳斯尔
日期:2015-09-20 09:42:1215-16赛季CBA联赛之北京
日期:2016-01-15 10:03:5915-16赛季CBA联赛之青岛
日期:2016-04-26 16:44:4915-16赛季CBA联赛之广夏
日期:2018-07-04 15:33:21C
日期:2016-10-25 16:12:142017金鸡报晓
日期:2017-01-10 15:19:5615-16赛季CBA联赛之同曦
日期:2017-02-22 22:41:10
5 [报告]
发表于 2010-05-15 10:38 |只看该作者
个人以前在fedora 6上装过SYBASE,那是一个痛苦的经历,其实Fedora是针对桌面用户的。如果不是别的什么要求,还是装RedHat as服务器版要好些!

论坛徽章:
0
6 [报告]
发表于 2010-05-15 10:40 |只看该作者


貌似也只能如此了。。。下午去刻红帽的安装盘。这个问题很纠结。不能再纠结下去了。。

论坛徽章:
6
水瓶座
日期:2014-06-04 03:34:37水瓶座
日期:2014-06-17 13:20:31数据库技术版块每日发帖之星
日期:2016-07-09 06:20:00数据库技术版块每日发帖之星
日期:2016-07-17 06:20:00数据库技术版块每日发帖之星
日期:2016-08-01 06:20:00数据库技术版块每日发帖之星
日期:2016-08-04 06:20:00
7 [报告]
发表于 2010-05-15 14:23 |只看该作者
安装一个libaio的包试试。

论坛徽章:
0
8 [报告]
发表于 2010-05-16 21:38 |只看该作者
安装一个libaio的包试试。
andkylee 发表于 2010-05-15 14:23


下了libaio包,要make,还要再装编译器 嘿嘿    ,过两天尝试一下。

论坛徽章:
0
9 [报告]
发表于 2010-05-16 22:22 |只看该作者
安装一个libaio的包试试。
andkylee 发表于 2010-05-15 14:23


rpm -ivh  libaio-0.3.96-3.i386.rpm  
warning: libaio-0.3.96-3.i386.rpm: Header V3 DSA signature: NOKEY, key ID 73307de6
Preparing...                ########################################### [100%]
        package libaio-0.3.96-3 is already installed

安装后 还是报
Building master device...
sh: line 1: 14072 Segmentation fault      /opt/sybase/ASE-12_5/bin/dataserver -d/opt/sybase/data/master.dat -b600M -z2048 -sIGWNMS -e/opt/sybase/ASE-12_5/install/GZCNMS.log -T1623 > /tmp/sbhfbDC1 2>&1

貌似不是这个包缺失的问题

论坛徽章:
6
水瓶座
日期:2014-06-04 03:34:37水瓶座
日期:2014-06-17 13:20:31数据库技术版块每日发帖之星
日期:2016-07-09 06:20:00数据库技术版块每日发帖之星
日期:2016-07-17 06:20:00数据库技术版块每日发帖之星
日期:2016-08-01 06:20:00数据库技术版块每日发帖之星
日期:2016-08-04 06:20:00
10 [报告]
发表于 2010-05-17 09:45 |只看该作者
以前的一个贴子也是关于linux上创建sybase服务时报segmentation fault这个错误的。

是这个帖子:  srvbuildres -r sqlsrv.res 失败, 是何原因啊? http://bbs.chinaunix.net/viewthr ... p;extra=&page=1

在他的问题中,报sh: line 1:  9580 Segmentation fault,与你的sh: line 1:  6967 Segmentation fault  有些不同。

Adaptive Server 需要以下变量设置:
?        对于 glibc 2.4 版,将 LD_POINTER_GUARD 设置为 1
?        对于 glibc 2.5 版,将 LD_POINTER_GUARD 设置为 0

你的这个情况设置成 LD_POINTER_GUARD = 0;应该是对的。 你有没有试过, LD_POINTER_GUARD = 1 好使不?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP