免费注册 查看新帖 |

Chinaunix

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

sybase11.5不知为什么不能初始建库 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-18 18:43 |只看该作者 |倒序浏览
10可用积分
$ cat sybase.log
00:00000:00000:2008/11/16 20:00:41.91 kernel  Using config area from primary master device.
00:00000:00000:2008/11/16 20:00:41.98 kernel  Configuration Error: Configuration file, '/sybase/sybase.cfg', does not exist.
00:00000:00000:2008/11/16 20:00:42.03 kernel  Warning: A configuration file was not specified and the default file '/sybase/sybase.cfg' does not exist. SQL Server creates the default file with the default configuration.
00:00000:00000:2008/11/16 20:00:42.10 kernel  Using 2000 file descriptors.
00:00000:00000:2008/11/16 20:00:42.11 kernel  Adaptive Server Enterprise/11.5.1/P/RS6000/AIX4.1/1/OPT/Sat Mar  7 18:41:41 PST 1998
00:00000:00000:2008/11/16 20:00:42.11 kernel  (c) Copyright 1987, 1998.
00:00000:00000:2008/11/16 20:00:42.11 kernel  Sybase, Inc.  All rights reserved.
00:00000:00000:2008/11/16 20:00:42.11 kernel   
00:00000:00000:2008/11/16 20:00:42.11 kernel  Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2008/11/16 20:00:42.11 kernel  This software contains confidential and trade secret information of Sybase,
00:00000:00000:2008/11/16 20:00:42.11 kernel  Inc.   Use,  duplication or disclosure of the software and documentation by
00:00000:00000:2008/11/16 20:00:42.11 kernel  the  U.S.  Government  is  subject  to  restrictions set forth in a license
00:00000:00000:2008/11/16 20:00:42.11 kernel  agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
00:00000:00000:2008/11/16 20:00:42.11 kernel  agreement  specifying  the  Government's rights to use the software and any
00:00000:00000:2008/11/16 20:00:42.11 kernel  applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2008/11/16 20:00:42.11 kernel  
00:00000:00000:2008/11/16 20:00:42.11 kernel  Sybase, Inc. 6475 Christie Avenue, Emeryville, CA 94608, USA.
00:00000:00000:2008/11/16 20:00:42.11 kernel  Using '/sybase/sybase.cfg' for configuration information.
00:00000:00000:2008/11/16 20:00:42.12 kernel  Logging SQL Server messages in file '/sybase/install/sybase.log'
.
00:00000:00000:2008/11/16 20:00:42.35 kernel  kscsinit: connectivity library error. Operation: cs_ctx_alloc().
00:00000:00000:2008/11/16 20:07:45.03 kernel  Using config area from primary master device.
00:00000:00000:2008/11/16 20:07:45.03 kernel  Configuration Error: Configuration file, '/sybase/sybase.cfg', does not exist.
00:00000:00000:2008/11/16 20:07:45.07 kernel  Configuration file '/sybase/sybase.cfg' has been written and the previous version has been renamed to '/sybase/sybase.001'.
00:00000:00000:2008/11/16 20:07:45.08 kernel  Warning: A configuration file was not specified and the default file '/sybase/sybase.cfg' does not exist. SQL Server creates the default file with the default configuration.
00:00000:00000:2008/11/16 20:07:45.09 kernel  Using 2000 file descriptors.
00:00000:00000:2008/11/16 20:07:45.09 kernel  Adaptive Server Enterprise/11.5.1/P/RS6000/AIX4.1/1/OPT/Sat Mar  7 18:41:41 PST 1998
00:00000:00000:2008/11/16 20:07:45.09 kernel  (c) Copyright 1987, 1998.
00:00000:00000:2008/11/16 20:07:45.09 kernel  Sybase, Inc.  All rights reserved.
00:00000:00000:2008/11/16 20:07:45.09 kernel   
00:00000:00000:2008/11/16 20:07:45.09 kernel  Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2008/11/16 20:07:45.09 kernel  This software contains confidential and trade secret information of Sybase,
00:00000:00000:2008/11/16 20:07:45.09 kernel  Inc.   Use,  duplication or disclosure of the software and documentation by
00:00000:00000:2008/11/16 20:07:45.09 kernel  the  U.S.  Government  is  subject  to  restrictions set forth in a license
00:00000:00000:2008/11/16 20:07:45.09 kernel  agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
00:00000:00000:2008/11/16 20:07:45.09 kernel  agreement  specifying  the  Government's rights to use the software and any
00:00000:00000:2008/11/16 20:07:45.09 kernel  applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2008/11/16 20:07:45.09 kernel  
00:00000:00000:2008/11/16 20:07:45.09 kernel  Sybase, Inc. 6475 Christie Avenue, Emeryville, CA 94608, USA.
00:00000:00000:2008/11/16 20:07:45.09 kernel  Using '/sybase/sybase.cfg' for configuration information.
00:00000:00000:2008/11/16 20:07:45.09 kernel  Logging SQL Server messages in file '/sybase/install/sybase.log'

论坛徽章:
0
2 [报告]
发表于 2008-11-18 18:45 |只看该作者
$ cat sybinit.err


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 /sybase. Check the environment variable SYBASE if it is not the one you want!
Using default locale name: "default"
An intl library error occurs when trying to get local names from file: /sybase/locales/locales.dat, can't continue!


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 /sybase. Check the environment variable SYBASE if it is not the one you want!
Using default locale name: "default"
An intl library error occurs when trying to get local names from file: /sybase/locales/locales.dat, can't continue!

论坛徽章:
0
3 [报告]
发表于 2008-11-18 18:56 |只看该作者
Building Adaptive Server 'sybase':

Building master device... Master device complete.
Writing entry into directory services... Directory services entry complete.
Writing RUN_SERVER file... RUN_SERVER file complete.
Starting server... Task failed
Unable to boot server 'sybase'.  
Server 'sybase' was not created.

Building Backup Server 'sybase_back':

Writing entry into directory services... Directory services entry complete.
Writing RUN_SERVER file... RUN_SERVER file complete.
Starting server... Server started.
Server 'sybase_back' was successfully created.

Done

论坛徽章:
0
4 [报告]
发表于 2008-11-18 18:59 |只看该作者
$ cat .profile
SYBASE=/sybase
export SYBASE
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucbHOME/bin:/usr/bin/X11:/sbin:.
export PATH
LIBPATH=/sybase/lib ; export LIBPATH
LIBPATH=/sybase/libLIBPATH ; export LIBPATH
if [ -s "$MAIL" ]           # This is at Shell startup.  In normal
then echo "$MAILMSG"        # operation, the Shell checks
fi                          # periodically.
$

论坛徽章:
0
5 [报告]
发表于 2008-11-18 19:47 |只看该作者
$ cat s.rs
sybinit.release_directory: /sybase
sybinit.product: sqlsrv
sqlsrv.server_name: sybase
sqlsrv.new_config: yes
sqlsrv.do_add_server: yes
sqlsrv.network_protocol_list: tcp
sqlsrv.network_hostname_list: 10.141.31.188
sqlsrv.network_port_list: 4200
sqlsrv.master_device_physical_name: /sybase/data/master.dat
sqlsrv.master_device_size: 100
sqlsrv.master_database_size: 50
sqlsrv.errorlog: USE_DEFAULT
sqlsrv.do_upgrade: no
sqlsrv.sybsystemprocs_device_physical_name: /sybase/data/sybsystemprocs.dat
sqlsrv.sybsystemprocs_device_size: 100
sqlsrv.sybsystemprocs_database_size: 50
sqlsrv.sybsystemdb_device_physical_name: /sybase/data/temp.dat
sqlsrv.sybsystemdb_device_size: 100
sqlsrv.sybsystemdb_database_size: 50
sqlsrv.default_backup_server: sybase_back

论坛徽章:
0
6 [报告]
发表于 2008-11-18 19:48 |只看该作者
$ srvbuildres -r s.rs
srvbuildres: Warning: '/sybase/data/master.dat' is a regular file, which is not
recommended for an Adaptive Server device in a production system.  You should
use a raw device instead.


srvbuildres: Building Adaptive Server 'sybase':
srvbuildres: Building master device...
srvbuildres: Master device complete.
srvbuildres: Writing entry into directory services...
srvbuildres: Directory services entry complete.
srvbuildres: Writing RUN_SERVER file...
srvbuildres: RUN_SERVER file complete.
srvbuildres: Starting server...
srvbuildres: Task failed
srvbuildres: Unable to boot server 'sybase'.  
srvbuildres: Server 'sybase' was not created.

论坛徽章:
0
7 [报告]
发表于 2008-11-18 22:26 |只看该作者
好像你安装的sybase软件有问题!

论坛徽章:
0
8 [报告]
发表于 2008-11-18 23:51 |只看该作者
原帖由 xmltiger 于 2008-11-18 22:26 发表
好像你安装的sybase软件有问题!

可是此软件我在IBM 140上安装没有任何问题,同样的介质和同样的安装方法

论坛徽章:
0
9 [报告]
发表于 2008-11-23 01:38 |只看该作者
Your sybase home directory is /sybase. Check the environment variable SYBASE if it is not the one you want!
Using default locale name: "default"


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 /sybase. Check the environment variable SYBASE if it is not the one you want!
Using locale name "us_english" defined in environment variable LANG


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 /sybase. Check the environment variable SYBASE if it is not the one you want!
Using locale name "en_US.ISO8859-1" defined in environment variable LANG


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 /sybase. Check the environment variable SYBASE if it is not the one you want!
Using locale name "en_US.ISO8859-1" defined in environment variable LANG


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 /sybase. Check the environment variable SYBASE if it is not the one you want!
Using locale name "en_US" defined in environment variable LANG
$ unset LANG
$ pwd
/sybase/install
$ ls
RUN_sybase_back  auditinit        dsopt1           setperm_all      showserver       sybase.log       sybinit.err
SPR              core             m_RUN_sybase     setperm_monserv  startserver      sybase_back.log
$ startserver -f m_RUN_sybase
00:00000:00000:2008/11/23 01:17:52.55 kernel  Using config area from primary master device.
00:00000:00000:2008/11/23 01:17:52.55 kernel  Configuration Error: Configuration file, '/sybase/sybase.cfg', does not exist.
$ 00:00000:00000:2008/11/23 01:17:52.56 kernel  Configuration file '/sybase/sybase.cfg' has been written and the previous version has been renamed to '/sybase/sybase.001'.
00:00000:00000:2008/11/23 01:17:52.57 kernel  Warning: A configuration file was not specified and the default file '/sybase/sybase.cfg' does not exist. SQL Server creates the default file with the default configuration.
00:00000:00000:2008/11/23 01:17:52.58 kernel  Using 2000 file descriptors.
00:00000:00000:2008/11/23 01:17:52.58 kernel  Adaptive Server Enterprise/11.5.1/P/RS6000/AIX4.1/1/OPT/Sat Mar  7 18:41:41 PST 1998
00:00000:00000:2008/11/23 01:17:52.58 kernel  (c) Copyright 1987, 1998.
00:00000:00000:2008/11/23 01:17:52.58 kernel  Sybase, Inc.  All rights reserved.
00:00000:00000:2008/11/23 01:17:52.58 kernel   
00:00000:00000:2008/11/23 01:17:52.58 kernel  Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2008/11/23 01:17:52.58 kernel  This software contains confidential and trade secret information of Sybase,
00:00000:00000:2008/11/23 01:17:52.58 kernel  Inc.   Use,  duplication or disclosure of the software and documentation by
00:00000:00000:2008/11/23 01:17:52.58 kernel  the  U.S.  Government  is  subject  to  restrictions set forth in a license
00:00000:00000:2008/11/23 01:17:52.58 kernel  agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
00:00000:00000:2008/11/23 01:17:52.58 kernel  agreement  specifying  the  Government's rights to use the software and any
00:00000:00000:2008/11/23 01:17:52.58 kernel  applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2008/11/23 01:17:52.58 kernel  
00:00000:00000:2008/11/23 01:17:52.58 kernel  Sybase, Inc. 6475 Christie Avenue, Emeryville, CA 94608, USA.
00:00000:00000:2008/11/23 01:17:52.58 kernel  Using '/sybase/sybase.cfg' for configuration information.
00:00000:00000:2008/11/23 01:17:52.58 kernel  Logging SQL Server messages in file '/sybase/install/sybase.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 /sybase. Check the environment variable SYBASE if it is not the one you want!
Using default locale name: "default"
/sybase/install/m_RUN_sybase[8]: 7770 Illegal instruction(coredump)

论坛徽章:
33
ChinaUnix元老
日期:2018-07-04 15:10:362015年亚洲杯之阿联酋
日期:2015-02-06 17:15:532015亚冠之武里南联
日期:2015-06-06 15:40:252015亚冠之北京国安
日期:2015-06-17 15:42:412022北京冬奥会纪念版徽章
日期:2015-08-10 16:30:322015亚冠之阿尔纳斯尔
日期:2015-09-20 09:42:1215-16赛季CBA联赛之北京
日期:2016-01-15 10:03:5915-16赛季CBA联赛之青岛
日期:2016-04-26 16:44:4915-16赛季CBA联赛之广夏
日期:2018-07-04 15:33:21C
日期:2016-10-25 16:12:142017金鸡报晓
日期:2017-01-10 15:19:5615-16赛季CBA联赛之同曦
日期:2017-02-22 22:41:10
10 [报告]
发表于 2008-11-23 10:05 |只看该作者
什么平台?具体把你的安装步骤说一下!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP