Chinaunix

标题: Sybase的启动问题 [打印本页]

作者: 斜晖    时间: 2007-04-02 20:46
标题: Sybase的启动问题
偶有个问题:
SUN Enterprise 3500
EMC AutoStart 5.2.0 build 19
Sybase ASE 12.5.2

都安装的比较正常,但是用AutoStart创建的Sybase的Adaptive的启动脚本却无法启动Adaptive Server,错误如下:(手工执行脚本从来都是可以启动Sybase的)
00:00000:00000:2007/03/28 17:18:20.62 kernel  Use license file /usr/sybase/SYSAM-1_0/licenses/license.dat.
00:00000:00000:2007/03/28 17:18:20.62 kernel  Checked out license ASE_SERVER
00:00000:00000:2007/03/28 17:18:20.62 kernel  Adaptive Server Enterprise Edition
00:00000:00000:2007/03/28 17:18:20.64 kernel  Using config area from primary master device.
00:00000:00000:2007/03/28 17:18:20.90 kernel  Using 10000 file descriptors.
00:00000:00000:2007/03/28 17:18:20.90 kernel  Adaptive Server Enterprise/12.5.2/EBF 11791/P/Sun_svr4/OS 5.8/ase1252/1831/64-bit/FBO/Fri Apr  9 12:47:36 2004
00:00000:00000:2007/03/28 17:18:20.91 kernel  Confidential property of Sybase, Inc.
00:00000:00000:2007/03/28 17:18:20.91 kernel  Copyright 1987, 2004
00:00000:00000:2007/03/28 17:18:20.91 kernel  Sybase, Inc.  All rights reserved.
00:00000:00000:2007/03/28 17:18:20.91 kernel  Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2007/03/28 17:18:20.91 kernel  
00:00000:00000:2007/03/28 17:18:20.91 kernel  This software contains confidential and trade secret information of Sybase,
00:00000:00000:2007/03/28 17:18:20.91 kernel  Inc.   Use,  duplication or disclosure of the software and documentation by
00:00000:00000:2007/03/28 17:18:20.91 kernel  the  U.S.  Government  is  subject  to  restrictions set forth in a license
00:00000:00000:2007/03/28 17:18:20.91 kernel  agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
00:00000:00000:2007/03/28 17:18:20.91 kernel  agreement  specifying  the  Government's rights to use the software and any
00:00000:00000:2007/03/28 17:18:20.91 kernel  applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2007/03/28 17:18:20.91 kernel  Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
00:00000:00000:2007/03/28 17:18:20.91 kernel  ASE booted on SunOS release 5.9 version Generic_118558-11.
00:00000:00000:2007/03/28 17:18:20.91 kernel  Using '/usr/sybase/ASE-12_5/en35.cfg' for configuration information.
00:00000:00000:2007/03/28 17:18:20.91 kernel  Logging ASE messages in file '/usr/sybase/ASE-12_5/install/en35.log'.
00:00000:00000:2007/03/28 17:18:20.94 kernel  kscsinit: connectivity library error. Operation: cs_ctx_alloc().

卸载AutoStart 5.2,安装AAM 5.1
同样的脚本,同样的配置,可以启动、停止Adaptive Server,但是重新启动SUN后,就再也启动不了了!打上AAM 5.1.2的补丁,也可以通过Console来启动和停止Adaptive Server,不过重新启动SUN后AAM就启动不了Adaptive Server了,错误都是一样的!

但是:手工执行RUN文件或者我用于AAM/AutoStart的脚本都是没有问题的!

搜索了最后的报错信息,说是内核参数的问题,那些通常都是数据库有问题才发生的
作者: 斜晖    时间: 2007-04-02 20:47
我在Sybase里搜索“Operation: cs_ctx_alloc()”,有几个关于该错误的说明,但是我没有权限浏览,希望哪位兄弟帮我贴出来!
作者: chuxu    时间: 2007-04-03 08:29
是否环境变量的问题?在autostart中是否能找到sybase所需的环境变量,以及路径?
作者: 斜晖    时间: 2007-04-03 08:41
问题已解决!

是LANG设置的问题,也就是环境变量的问题
我在脚本中加了unset LANG就可以了!
作者: flydog    时间: 2007-04-03 11:32
学习




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2