Sybase的启动问题
<span style="FONT-SIZE: 13px;">偶有个问题:<br/>SUN Enterprise 3500<br/>EMC AutoStart 5.2.0 build 19<br/>Sybase ASE 12.5.2<br/><br/>都安装的比较正常,但是用AutoStart创建的Sybase的Adaptive的启动脚本却无法启动Adaptive Server,错误如下:(手工执行脚本从来都是可以启动Sybase的)<br/>00:00000:00000:2007/03/28 17:18:20.62 kernel Use license file /usr/sybase/SYSAM-1_0/licenses/license.dat.<br/>00:00000:00000:2007/03/28 17:18:20.62 kernel Checked out license ASE_SERVER<br/>00:00000:00000:2007/03/28 17:18:20.62 kernel Adaptive Server Enterprise Edition<br/>00:00000:00000:2007/03/28 17:18:20.64 kernel Using config area from primary master device.<br/>00:00000:00000:2007/03/28 17:18:20.90 kernel Using 10000 file descriptors.<br/>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<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel Confidential property of Sybase, Inc.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel Copyright 1987, 2004<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel Sybase, Inc. All rights reserved.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel Unpublished rights reserved under U.S. copyright laws.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel <br/>00:00000:00000:2007/03/28 17:18:20.91 kernel This software contains confidential and trade secret information of Sybase,<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel Inc. Use, duplication or disclosure of the software and documentation by<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel the U.S. Government is subject to restrictions set forth in a license<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel agreement between the Government and Sybase, Inc. or other written<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel agreement specifying the Government's rights to use the software and any<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel applicable FAR provisions, for example, FAR 52.227-19.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel ASE booted on SunOS release 5.9 version Generic_118558-11.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel Using '/usr/sybase/ASE-12_5/en35.cfg' for configuration information.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel Logging ASE messages in file '/usr/sybase/ASE-12_5/install/en35.log'.<br/>00:00000:00000:2007/03/28 17:18:20.94 kernel kscsinit: connectivity library error. Operation: cs_ctx_alloc().<br/><br/>卸载AutoStart 5.2,安装AAM 5.1<br/>同样的脚本,同样的配置,可以启动、停止Adaptive Server,但是重新启动SUN后,就再也启动不了了!打上AAM 5.1.2的补丁,也可以通过Console来启动和停止Adaptive Server,不过重新启动SUN后AAM就启动不了Adaptive Server了,错误都是一样的! <br/><br/>但是:手工执行RUN文件或者我用于AAM/AutoStart的脚本都是没有问题的!<br/><br/>搜索了最后的报错信息,说是内核参数的问题,那些通常都是数据库有问题才发生的</span><span style="FONT-SIZE: 13px;">我在Sybase里搜索“Operation: cs_ctx_alloc()”,有几个关于该错误的说明,但是我没有权限浏览,希望哪位兄弟帮我贴出来!</span>
<br/> <span style="font-size: 13px;">问题已解决!<br/>
<br/>
是LANG设置的问题,也就是环境变量的问题<br/>
我在脚本中加了unset LANG就可以了!</span>
页:
[1]