免费注册 查看新帖 |

Chinaunix

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

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 23:51 |显示全部楼层
原帖由 xmltiger 于 2008-11-18 22:26 发表
好像你安装的sybase软件有问题!

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

论坛徽章:
0
8 [报告]
发表于 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)

论坛徽章:
0
9 [报告]
发表于 2008-11-23 15:01 |显示全部楼层
aix4.3.3平台

论坛徽章:
0
10 [报告]
发表于 2008-11-23 20:08 |显示全部楼层
原帖由 xmltiger 于 2008-11-23 20:04 发表
1、是不是你没有运行sybase环境变量设置的shell脚本(sybase。sh)?
2、看看LANG环境变量值是否和locale。dat文件中的default设置一致

我这是sybase11.5没有这个脚本

这是我的.profile


LANG=en_US
export LANG
SYBASE=/sybase
export SYBASE
PATH=$SYBASE/binSYBASE/install:/usr/bin:/etc:/usr/sbin:/usr/ucbHOME/bin:/usr/bin/X11:/sbin:.
export PATH
LIBPATH=/sybase/lib ; export LIBPATH
if [ -s "$MAIL" ]           # This is at Shell startup.  In normal
then echo "$MAILMSG"        # operation, the Shell checks
fi                          # periodically.
-----
/sybase/locales/locales.dat
---AIX ----
[aix]
        locale = C, us_english, iso_1
        locale = En_US, us_english, iso_1
        locale = en_US, us_english, iso_1
        locale = default, us_english, iso_1
        locale = En_US.IBM-850, us_english, cp850
        locale = en_US.ISO8859-1, us_english, iso_1
        locale = En_JP, us_english, sjis
        locale = en_JP, us_english, eucjis
        locale = Fr_FR, french, cp850
        locale = fr_FR, french, iso_1
        locale = Fr_FR.IBM-850, french, cp850
        locale = fr_FR.ISO8859-1, french, iso_1
        locale = Fr_CA, french, cp850
        locale = fr_CA, french, iso_1
        locale = Fr_CA.IBM-850, french, cp850
        locale = fr_CA.ISO8859-1, french, iso_1
        locale = Fr_CH, french, cp850
        locale = fr_CH, french, iso_1
        locale = Fr_CH.IBM-850, french, cp850
        locale = fr_CH.ISO8859-1, french, iso_1
        locale = Fr_BE, french, cp850
        locale = fr_BE, french, iso_1
        locale = Fr_BE.IBM-850, french, cp850
        locale = fr_BE.ISO8859-1, french, iso_1
        locale = De_DE, german, cp850
        locale = de_DE, german, iso_1
        locale = De_DE.IBM-850, german, cp850
        locale = de_DE.ISO8859-1, german, iso_1
        locale = De_CH, german, cp850
        locale = de_CH, german, iso_1
        locale = De_CH.IBM-850, german, cp850
        locale = de_CH.ISO8859-1, german, iso_1
        locale = Es_ES, spanish, cp850
        locale = es_ES, spanish, iso_1
        locale = Es_ES.IBM-850, spanish, cp850
        locale = es_ES.ISO8859-1, spanish, iso_1
        locale = ja_JP, japanese, eucjis
        locale = ja_JP.IBM-eucJP, japanese, eucjis
        locale = Ja_JP, japanese, sjis
        locale = Ja_JP.IBM-932, japanese, sjis
        locale = japanese.sjis, japanese, sjis
        locale = japanese, japanese, eucjis
        locale = zh_CN, chinese, eucgb
        locale = zh_TW, tchinese, euccns
        locale = zh_TW.IBM-eucTW, tchinese, euccns
        locale = Zh_TW, tchinese, big5
        locale = ko_KR, korean, eucksc
        locale = ko_KR.IBM-eucKR, korean, eucksc
        locale = us_english.utf8, us_english, utf8
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP