回族四少 发表于 2010-05-15 10:11

SYBASE12.5在Fedora linux上安装时创建服务出错 请教

在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 kernelUse license file /opt/sybase/SYSAM-1_0/licenses/license.dat.
00:00000:00000:2010/05/15 07:49:54.37 kernelChecked out license ASE_SERVER
00:00000:00000:2010/05/15 07:49:54.37 kernelAdaptive Server Enterprise Edition
00:00000:00000:2010/05/15 07:49:54.37 kernelUsing config area from primary master device.
00:00000:00000:2010/05/15 07:49:54.37 kernelWarning: 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 kernelos_create_keyfile: Removed old segment /opt/sybase/IGWNMS.krg
00:00000:00000:2010/05/15 07:49:54.38 kernelInternal run-time model set for Linux- Native
00:00000:00000:2010/05/15 07:49:54.38 kernelUsing 1024 file descriptors.
00:00000:00000:2010/05/15 07:49:54.38 kernelAdaptive Server Enterprise/12.5.2/EBF 11799/P/Linux Intel/Enterprise Linux/ase1252/1831/32-bit/OPT/Fri Apr9 02:53:50 2004
00:00000:00000:2010/05/15 07:49:54.38 kernelConfidential property of Sybase, Inc.
00:00000:00000:2010/05/15 07:49:54.38 kernelCopyright 1987, 2004
00:00000:00000:2010/05/15 07:49:54.38 kernelSybase, Inc.All rights reserved.
00:00000:00000:2010/05/15 07:49:54.38 kernelUnpublished 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 kernelThis software contains confidential and trade secret information of Sybase,
00:00000:00000:2010/05/15 07:49:54.38 kernelInc.   Use,duplication or disclosure of the software and documentation by
00:00000:00000:2010/05/15 07:49:54.38 kerneltheU.S.Governmentissubjecttorestrictions set forth in a license
00:00000:00000:2010/05/15 07:49:54.38 kernelagreementbetweentheGovernmentandSybase,Inc.orotherwritten
00:00000:00000:2010/05/15 07:49:54.38 kernelagreementspecifyingtheGovernment's rights to use the software and any
00:00000:00000:2010/05/15 07:49:54.38 kernelapplicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2010/05/15 07:49:54.38 kernelSybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
00:00000:00000:2010/05/15 07:49:54.38 kernelASE 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 kernelUsing '/opt/sybase/IGWNMS.cfg' for configuration information.
00:00000:00000:2010/05/15 07:49:54.38 kernelLogging ASE messages in file '/opt/sybase/ASE-12_5/install/GZCNMS.log'.
00:00000:00000:2010/05/15 07:49:54.39 kernelPlatform TCP network is forced to IPv4-only.
00:00000:00000:2010/05/15 07:49:54.39 kernelSQL Server booted with TCP_NODELAY enabled.
00:00000:00000:2010/05/15 07:49:54.39 kernelSSL Plus v3.0.8 security modules loaded successfully.
00:00000:00000:2010/05/15 07:49:54.39 kernelNetwork and device connection limit is 1014.
00:00000:00000:2010/05/15 07:49:54.44 serverNumber of blocks left for proc headers: 3232.
00:00000:00000:2010/05/15 07:49:54.44 serverProc header memory allocated 1616 pages for each per engine cache
00:00000:00000:2010/05/15 07:49:54.46 serverSize of the 2K memory pool: 8192 Kb
00:00000:00000:2010/05/15 07:49:54.46 serverMemory allocated for the default data cache cachelet 1: 8192 Kb
00:00000:00000:2010/05/15 07:49:54.46 kernelExtended cache size '0' is invalid. Provide the appropriate size value.
00:00000:00000:2010/05/15 07:49:54.46 kernelEnabling (RT) Posix asynchronous disk I/O strategy.
00:00000:00000:2010/05/15 07:49:54.46 kernelInitializing virtual device 0, '/opt/sybase/data/master.dat' with dsync 'off'.
00:00000:00000:2010/05/15 07:49:54.46 kernelVirtual device 0 started using asynchronous i/o.
00:00000:00000:2010/05/15 07:49:54.46 kernelWorker Thread Manager is not enabled for use in SQL Server.
00:00000:00000:2010/05/15 07:49:54.46 kernelEither 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 kernelUnix interval timer enabled for sysclk interrupts.
00:00000:00000:2010/05/15 07:49:54.46 kernelengine 0, os pid 6967online
Server 'IGWNMS' was not created.

andkylee 发表于 2010-05-15 10:20

/opt/sybase/ASE-12_5/bin/dataserver -v

看能够成功显示版本号?

回族四少 发表于 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 Apr9 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
theU.S.Governmentissubjecttorestrictions set forth in a license
agreementbetweentheGovernmentandSybase,Inc.orotherwritten
agreementspecifyingtheGovernment'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

回族四少 发表于 2010-05-15 10:27

我在红帽下安装没有问题
在Fedora linux下安装就遇到了这个问题
在网上查看资料说是sybase与操作系统的glib版本的
关系,glib2.4以上的版本都会出这样的问题,建议设置
LD_POINTER_GUARD环境变量,我设置了建立服务
仍然是这个问题,设置成0或者1都不起作用

wfcjz 发表于 2010-05-15 10:38

个人以前在fedora 6上装过SYBASE,那是一个痛苦的经历,其实Fedora是针对桌面用户的。如果不是别的什么要求,还是装RedHat as服务器版要好些!

回族四少 发表于 2010-05-15 10:40

:sleepy:

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

andkylee 发表于 2010-05-15 14:23

安装一个libaio的包试试。

回族四少 发表于 2010-05-16 21:38

安装一个libaio的包试试。
andkylee 发表于 2010-05-15 14:23 http://bbs.chinaunix.net/images/common/back.gif

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

回族四少 发表于 2010-05-16 22:22

安装一个libaio的包试试。
andkylee 发表于 2010-05-15 14:23 http://bbs.chinaunix.net/images/common/back.gif

rpm -ivhlibaio-0.3.96-3.i386.rpm
warning: libaio-0.3.96-3.i386.rpm: Header V3 DSA signature: NOKEY, key ID 73307de6
Preparing...                ###########################################
      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

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

andkylee 发表于 2010-05-17 09:45

以前的一个贴子也是关于linux上创建sybase服务时报segmentation fault这个错误的。

是这个帖子:srvbuildres -r sqlsrv.res 失败, 是何原因啊? http://bbs.chinaunix.net/viewthread.php?tid=1680457&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 好使不?
页: [1] 2
查看完整版本: SYBASE12.5在Fedora linux上安装时创建服务出错 请教