免费注册 查看新帖 |

Chinaunix

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

sybase启动问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-15 16:41 |只看该作者 |倒序浏览
请大侠帮忙诊断一下究竟是什么原因启动不了sybase!以下是启动时的信息:
login: sybase
Password:
Last login: Thu Jun 15 09:22:56 from 192.168.1.88
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
$ cd install
$ ls
HAFY.log       RUN_HAFY_back  auditinit      setperm_all    startserver
RUN_HAFY       SPR            dump           showserver     sybinit.err
$ ./startserver -f RUN_HAFY
$ 00:00000:00000:2006/06/15 09:37:09.81 kernel  Max fd 65536 exceeds internal li
mit of 10000
00:00000:00000:2006/06/15 09:37:09.81 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/15 09:37:09.82 kernel  Using config area from primary mas
ter device.
00:00000:00000:2006/06/15 09:37:09.82 kernel  Warning: Using default file '/expo
rt/home/sybase/HAFY.cfg' since a configuration file was not specified. Specify a
configuration file name in the RUNSERVER file to avoid this message.
00:00000:00000:2006/06/15 09:37:09.82 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/15 09:37:09.82 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/15 09:37:09.83 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/15 09:37:09.83 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/15 09:37:14.70 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/15 09:37:14.70 kernel  Using 10000 file descriptors.
00:00000:00000:2006/06/15 09:37:14.70 kernel  Adaptive Server Enterprise/11.9.2.
2/1135/P/SWR 8939 ESD 2/Sun_svr4/OS 5.5.1/FBO/Fri Mar 17 03:15:15 2000
00:00000:00000:2006/06/15 09:37:14.70 kernel  Confidential property of Sybase, I
nc.
00:00000:00000:2006/06/15 09:37:14.70 kernel  Copyright 1987, 2000
00:00000:00000:2006/06/15 09:37:14.70 kernel  Sybase, Inc.  All rights reserved.
00:00000:00000:2006/06/15 09:37:14.70 kernel  Unpublished rights reserved under
U.S. copyright laws.
00:00000:00000:2006/06/15 09:37:14.70 kernel
00:00000:00000:2006/06/15 09:37:14.70 kernel  This software contains confidentia
l and trade secret information of Sybase,
00:00000:00000:2006/06/15 09:37:14.70 kernel  Inc.   Use,  duplication or disclo
sure of the software and documentation by
00:00000:00000:2006/06/15 09:37:14.70 kernel  the  U.S.  Government  is  subject
  to  restrictions set forth in a license
00:00000:00000:2006/06/15 09:37:14.70 kernel  agreement  between  the  Governmen
t  and  Sybase,  Inc.  or  other  written
00:00000:00000:2006/06/15 09:37:14.71 kernel  agreement  specifying  the  Govern
ment's rights to use the software and any
00:00000:00000:2006/06/15 09:37:14.71 kernel  applicable FAR provisions, for exa
mple, FAR 52.227-19.
00:00000:00000:2006/06/15 09:37:14.71 kernel  Sybase, Inc. 6475 Christie Avenue,
Emeryville, CA 94608, USA
00:00000:00000:2006/06/15 09:37:14.72 kernel  Using '/export/home/sybase/HAFY.cf
g' for configuration information.
00:00000:00000:2006/06/15 09:37:14.72 kernel  Logging SQL Server messages in fil
e '/export/home/sybase/install/HAFY.log'.


The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure

Your sybase home directory is /export/home/sybase. Check the environment variabl
e SYBASE if it is not the one you want!
Using locale name "zh_CN.GBK" defined in environment variable LANG
Locale name "zh_CN.GBK" doesn't exist in your /export/home/sybase/locales/locale
s.dat file
00:00000:00000:2006/06/15 09:37:14.82 kernel  kscsinit: connectivity library err
or. Operation: cs_ctx_alloc().

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
2 [报告]
发表于 2006-06-16 09:43 |只看该作者
先执行
export LANG=C

论坛徽章:
0
3 [报告]
发表于 2006-06-16 11:19 |只看该作者

还是无法启动

login: SYBASE
Password:
Login incorrect
login: sybase
Password:
Login incorrect
login: sybase
Password:
Last login: Fri Jun 16 04:10:05 from 192.168.1.199
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
$ export
输出 DSQUERY
输出 LD_LIBRARY_PATH
输出 LOGNAME
输出 PATH
输出 SYBASE
$ LANG=C
$ cd install
$ ls
HAFY.log       RUN_HAFY_back  auditinit      setperm_all    startserver
RUN_HAFY       SPR            dump           showserver     sybinit.err
$ ./startserver -f RUN_HAFY
$ 00:00000:00000:2006/06/16 04:18:45.96 kernel  Max fd 65536 exceeds internal li
mit of 10000
00:00000:00000:2006/06/16 04:18:45.96 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/16 04:18:45.96 kernel  Using config area from primary mas
ter device.
00:00000:00000:2006/06/16 04:18:45.97 kernel  Warning: Using default file '/expo
rt/home/sybase/HAFY.cfg' since a configuration file was not specified. Specify a
configuration file name in the RUNSERVER file to avoid this message.
00:00000:00000:2006/06/16 04:18:45.97 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/16 04:18:45.97 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/16 04:18:45.97 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/16 04:18:45.97 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/16 04:18:50.43 kernel  Max fd 65536 exceeds internal limi
t of 10000
00:00000:00000:2006/06/16 04:18:50.43 kernel  Using 10000 file descriptors.
00:00000:00000:2006/06/16 04:18:50.43 kernel  Adaptive Server Enterprise/11.9.2.
2/1135/P/SWR 8939 ESD 2/Sun_svr4/OS 5.5.1/FBO/Fri Mar 17 03:15:15 2000
00:00000:00000:2006/06/16 04:18:50.43 kernel  Confidential property of Sybase, I
nc.
00:00000:00000:2006/06/16 04:18:50.43 kernel  Copyright 1987, 2000
00:00000:00000:2006/06/16 04:18:50.43 kernel  Sybase, Inc.  All rights reserved.
00:00000:00000:2006/06/16 04:18:50.43 kernel  Unpublished rights reserved under
U.S. copyright laws.
00:00000:00000:2006/06/16 04:18:50.43 kernel
00:00000:00000:2006/06/16 04:18:50.43 kernel  This software contains confidentia
l and trade secret information of Sybase,
00:00000:00000:2006/06/16 04:18:50.43 kernel  Inc.   Use,  duplication or disclo
sure of the software and documentation by
00:00000:00000:2006/06/16 04:18:50.43 kernel  the  U.S.  Government  is  subject
  to  restrictions set forth in a license
00:00000:00000:2006/06/16 04:18:50.43 kernel  agreement  between  the  Governmen
t  and  Sybase,  Inc.  or  other  written
00:00000:00000:2006/06/16 04:18:50.43 kernel  agreement  specifying  the  Govern
ment's rights to use the software and any
00:00000:00000:2006/06/16 04:18:50.44 kernel  applicable FAR provisions, for exa
mple, FAR 52.227-19.
00:00000:00000:2006/06/16 04:18:50.44 kernel  Sybase, Inc. 6475 Christie Avenue,
Emeryville, CA 94608, USA
00:00000:00000:2006/06/16 04:18:50.44 kernel  Using '/export/home/sybase/HAFY.cf
g' for configuration information.
00:00000:00000:2006/06/16 04:18:50.44 kernel  Logging SQL Server messages in fil
e '/export/home/sybase/install/HAFY.log'.


The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure

Your sybase home directory is /export/home/sybase. Check the environment variabl
e SYBASE if it is not the one you want!
Using locale name "zh_CN.GBK" defined in environment variable LANG
Locale name "zh_CN.GBK" doesn't exist in your /export/home/sybase/locales/locale
s.dat file
00:00000:00000:2006/06/16 04:18:50.47 kernel  kscsinit: connectivity library err
or. Operation: cs_ctx_alloc().

$ showserver
     UID   PID  PPID   C    STIME TTY         TIME CMD
$

论坛徽章:
0
4 [报告]
发表于 2006-06-20 20:53 |只看该作者

echo $LANG
看一下输出的是否为C
如果不是,请执行以下命令:
LANG=C
export LANG

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
5 [报告]
发表于 2006-06-21 10:14 |只看该作者
环境变量没有设置好

论坛徽章:
0
6 [报告]
发表于 2006-06-21 10:32 |只看该作者
LANG=en_US
export LANG
加入环境变量中
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP