xhina 发表于 2007-4-2 21:02:47

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&nbsp;&nbsp;Use license file /usr/sybase/SYSAM-1_0/licenses/license.dat.<br/>00:00000:00000:2007/03/28 17:18:20.62 kernel&nbsp;&nbsp;Checked out license ASE_SERVER<br/>00:00000:00000:2007/03/28 17:18:20.62 kernel&nbsp;&nbsp;Adaptive Server Enterprise Edition<br/>00:00000:00000:2007/03/28 17:18:20.64 kernel&nbsp;&nbsp;Using config area from primary master device.<br/>00:00000:00000:2007/03/28 17:18:20.90 kernel&nbsp;&nbsp;Using 10000 file descriptors.<br/>00:00000:00000:2007/03/28 17:18:20.90 kernel&nbsp;&nbsp;Adaptive Server Enterprise/12.5.2/EBF 11791/P/Sun_svr4/OS 5.8/ase1252/1831/64-bit/FBO/Fri Apr&nbsp;&nbsp;9 12:47:36 2004<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;Confidential property of Sybase, Inc.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;Copyright 1987, 2004<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;Sybase, Inc.&nbsp;&nbsp;All rights reserved.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;Unpublished rights reserved under U.S. copyright laws.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;This software contains confidential and trade secret information of Sybase,<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;Inc.&nbsp; &nbsp;Use,&nbsp;&nbsp;duplication or disclosure of the software and documentation by<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;the&nbsp;&nbsp;U.S.&nbsp;&nbsp;Government&nbsp;&nbsp;is&nbsp;&nbsp;subject&nbsp;&nbsp;to&nbsp;&nbsp;restrictions set forth in a license<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;agreement&nbsp;&nbsp;between&nbsp;&nbsp;the&nbsp;&nbsp;Government&nbsp;&nbsp;and&nbsp;&nbsp;Sybase,&nbsp;&nbsp;Inc.&nbsp;&nbsp;or&nbsp;&nbsp;other&nbsp;&nbsp;written<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;agreement&nbsp;&nbsp;specifying&nbsp;&nbsp;the&nbsp;&nbsp;Government's rights to use the software and any<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;applicable FAR provisions, for example, FAR 52.227-19.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;ASE booted on SunOS release 5.9 version Generic_118558-11.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;Using '/usr/sybase/ASE-12_5/en35.cfg' for configuration information.<br/>00:00000:00000:2007/03/28 17:18:20.91 kernel&nbsp;&nbsp;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&nbsp;&nbsp;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>

xhina 发表于 2007-4-2 21:03:14

<span style="FONT-SIZE: 13px;">我在Sybase里搜索“Operation: cs_ctx_alloc()”,有几个关于该错误的说明,但是我没有权限浏览,希望哪位兄弟帮我贴出来!</span>
        <br/>

xhina 发表于 2007-4-3 08:42:30

<span style="font-size: 13px;">问题已解决!<br/>
<br/>
是LANG设置的问题,也就是环境变量的问题<br/>
我在脚本中加了unset LANG就可以了!</span>
页: [1]
查看完整版本: Sybase的启动问题

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com