jiangdi001 发表于 2008-01-25 15:44

求助!在linux安装ase12.5.2,build master device失败

配置服务的时候
build master device失败
不知道什么原因求助!

aliking 发表于 2008-01-25 16:13

看看错误日志里是怎么写的?

jiangdi001 发表于 2008-01-31 12:31

安装服务日志

00:00000:00000:2008/01/23 20:57:02.06 kernelChecked out license ASE_DEV
00:00000:00000:2008/01/23 20:57:02.06 kernelAdaptive Server Enterprise Developer Edition.
00:00000:00000:2008/01/23 20:57:02.06 kernelUsing config area from primary master device.
00:00000:00000:2008/01/23 20:57:02.06 kernelThe value of 'max memory' has been modified from '512000000' to the default value '32768' since the original value is illegal. The legal values are between '32768' and '2097151'.
00:00000:00000:2008/01/23 20:57:02.06 kernelThe value of 'allocate max shared memory' has been modified from '512000000' to the default value '0' since the original value is illegal. The legal values are between '0' and '1'.
00:00000:00000:2008/01/23 20:57:02.06 kernelWarning: Using default file '/opt/sybase/linux_SER.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
00:00000:00000:2008/01/23 20:57:02.07 kernelos_create_keyfile: Removed old segment /opt/sybase/linux_SER.krg
00:00000:00000:2008/01/23 20:57:02.08 kernelInternal run-time model set for Linux- Native
00:00000:00000:2008/01/23 20:57:02.08 kernelUsing 1024 file descriptors.
00:00000:00000:2008/01/23 20:57:02.08 kernelAdaptive Server Enterprise/12.5.2/EBF 11949 ESD#1/P/Linux Intel/Enterprise Linux/ase1252/1838/32-bit/OPT/Sat May 29 01:03:02 2004
00:00000:00000:2008/01/23 20:57:02.08 kernelConfidential property of Sybase, Inc.
00:00000:00000:2008/01/23 20:57:02.08 kernelCopyright 1987, 2004
00:00000:00000:2008/01/23 20:57:02.08 kernelSybase, Inc.All rights reserved.
00:00000:00000:2008/01/23 20:57:02.08 kernelUnpublished rights reserved under U.S. copyright laws.
00:00000:00000:2008/01/23 20:57:02.08 kernel
00:00000:00000:2008/01/23 20:57:02.08 kernelThis software contains confidential and trade secret information of Sybase,
00:00000:00000:2008/01/23 20:57:02.08 kernelInc.   Use,duplication or disclosure of the software and documentation by
00:00000:00000:2008/01/23 20:57:02.08 kerneltheU.S.Governmentissubjecttorestrictions set forth in a license
00:00000:00000:2008/01/23 20:57:02.08 kernelagreementbetweentheGovernmentandSybase,Inc.orotherwritten
00:00000:00000:2008/01/23 20:57:02.08 kernelagreementspecifyingtheGovernment's rights to use the software and any
00:00000:00000:2008/01/23 20:57:02.08 kernelapplicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2008/01/23 20:57:02.08 kernelSybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
00:00000:00000:2008/01/23 20:57:02.08 kernelASE booted on Linux release 2.6.5-7.244-smp version #1 SMP Mon Dec 12 18:32:25 UTC 2005.
00:00000:00000:2008/01/23 20:57:02.08 kernelUsing '/opt/sybase/linux_SER.cfg' for configuration information.
00:00000:00000:2008/01/23 20:57:02.08 kernelLogging ASE messages in file '/opt/sybase/ASE-12_5/install/linux_SER.log'.
00:00000:00000:2008/01/23 20:57:02.08 kernelPlatform TCP network is forced to IPv4-only.
00:00000:00000:2008/01/23 20:57:02.08 kernelSQL Server booted with TCP_NODELAY enabled.
00:00000:00000:2008/01/23 20:57:02.08 kernelSSL Plus v3.0.8 security modules loaded successfully.
00:00000:00000:2008/01/23 20:57:02.08 kernelNetwork and device connection limit is 1014.
00:00000:00000:2008/01/23 20:57:02.13 serverNumber of blocks left for proc headers: 3232.
00:00000:00000:2008/01/23 20:57:02.13 serverProc header memory allocated 1616 pages for each per engine cache
00:00000:00000:2008/01/23 20:57:02.14 serverSize of the 2K memory pool: 8192 Kb
00:00000:00000:2008/01/23 20:57:02.14 serverMemory allocated for the default data cache cachelet 1: 8192 Kb
00:00000:00000:2008/01/23 20:57:02.14 kernelExtended cache size '0' is invalid. Provide the appropriate size value.
00:00000:00000:2008/01/23 20:57:02.14 kernelEnabling (RT) Posix asynchronous disk I/O strategy.
00:00000:00000:2008/01/23 20:57:02.14 kernelInitializing virtual device 0, '/opt/sybase/datadev/master.dat' with dsync 'off'.
00:00000:00000:2008/01/23 20:57:02.14 kernelVirtual device 0 started using asynchronous i/o.
00:00000:00000:2008/01/23 20:57:02.14 kernelWorker Thread Manager is not enabled for use in SQL Server.
00:00000:00000:2008/01/23 20:57:02.14 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:2008/01/23 20:57:02.14 kernelUnix interval timer enabled for sysclk interrupts.
00:00000:00000:2008/01/23 20:57:02.15 kernelengine 0, os pid 17517online
00:00000:00000:2008/01/23 20:57:02.15 serverActive traceflags: 1623
00:00000:00001:2008/01/23 20:57:02.15 kernellibomni1 - Component Integration Services loaded; version 'libomni1 - Component Integration Services/12.5.2/EBF 11949 ESD#1/P/Linux Intel/Enterprise Linux/ase1252/1838/32-bit/OPT/Sat May 29 01:03:02 2004'.
00:00000:00001:2008/01/23 20:57:02.15 kernellibomni1 - Component Integration Services: using 'Sybase Client-Library/12.5.1/P-EBF11776 ESD #2/DRV.12.5.1.0/Linux Intel/Linux 2.4.18-18.7.xsmp i686/BUILD1251-002/OPT/Tue Mar9 18:35:15 2004'
00:00000:00001:2008/01/23 20:57:02.15 serverThe logical pagesize of the server is 2 Kb.
00:00000:00001:2008/01/23 20:57:02.15 kernelcurrent process (0x0) infected with 11

jiangdi001 发表于 2008-01-31 12:31

高手帮忙,折磨死我了

我装的是sybase_ase125_for_linux
12.5.2版本的

zhaopingzi 发表于 2008-01-31 15:20

先检查一下共享内存设置了吗
在检查一下master和sysprocdev设备是否给了sybase
还有推荐16K的页大小

snow888 发表于 2008-03-07 11:05

原帖由 zhaopingzi 于 2008-1-31 15:20 发表 http://bbs.chinaunix.net/images/common/back.gif
先检查一下共享内存设置了吗
在检查一下master和sysprocdev设备是否给了sybase
还有推荐16K的页大小


这些问题都检查过了,我也遇到了这样的问题,就是解决不了,急啊。

Eisen 发表于 2008-03-07 12:14

sysctl.conf里面的fs.aio有没有设过?

tianxueheng 发表于 2008-03-07 14:41

很明显的错误

错误信息“00:00000:00000:2008/01/23 20:57:02.06 kernelThe value of 'max memory' has been modified from '512000000' to the default value '32768' since the original value is illegal. The legal values are between '32768' and '2097151'.“

以上错误信息已经明确指出,你设置的共享内存可能超过了2097151,我觉得这可能是你的内存最大值。
所以:
可能是你分配给虚拟机的总内存太小了,而Adaptive Server 的最小要求共享内存为 64MB

snow888 发表于 2008-03-07 15:34

原帖由 tianxueheng 于 2008-3-7 14:41 发表 http://bbs.chinaunix.net/images/common/back.gif
错误信息“00:00000:00000:2008/01/23 20:57:02.06 kernelThe value of 'max memory' has been modified from '512000000' to the default value '32768' since the original value is illegal. The legal va ...

谢谢你的回答。

我在实际的环境中安装也出现同样的问题,感觉与共享内存无关。

在同一台机器上安装,如果是 RHEL 4 就没有问题,如果是 RHEL5 就肯定会出现问题。我的实际环境内存大小为 1GB。错误日志与上面的情况完全一样。

chuxu 发表于 2008-03-08 14:10

RHEL5 的glibc是什么版本?和RHEL 4是否一致?
页: [1] 2
查看完整版本: 求助!在linux安装ase12.5.2,build master device失败