免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3817 | 回复: 4
打印 上一主题 下一主题

Sybase的启动问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-02 20:46 |只看该作者 |倒序浏览
偶有个问题:
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的脚本都是没有问题的!

搜索了最后的报错信息,说是内核参数的问题,那些通常都是数据库有问题才发生的

论坛徽章:
0
2 [报告]
发表于 2007-04-02 20:47 |只看该作者
我在Sybase里搜索“Operation: cs_ctx_alloc()”,有几个关于该错误的说明,但是我没有权限浏览,希望哪位兄弟帮我贴出来!

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
3 [报告]
发表于 2007-04-03 08:29 |只看该作者
是否环境变量的问题?在autostart中是否能找到sybase所需的环境变量,以及路径?

论坛徽章:
0
4 [报告]
发表于 2007-04-03 08:41 |只看该作者
问题已解决!

是LANG设置的问题,也就是环境变量的问题
我在脚本中加了unset LANG就可以了!

论坛徽章:
0
5 [报告]
发表于 2007-04-03 11:32 |只看该作者
学习
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP