LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2878|回复: 2

sybase for suse setup

[复制链接]
发表于 2008-6-23 14:22:57 | 显示全部楼层 |阅读模式
sybase@suse:~/ASE-12_5/install> ./startserver  -f  RUN_ase125
sybase@suse:~/ASE-12_5/install> 00:00000:00000:2008/06/23 14:05:29.23 kernel  Use license file /opt/sybase/SYSAM-1_0/licenses/license.dat.
00:00000:00000:2008/06/23 14:05:29.23 kernel  Checked out license ASE_SERVER
00:00000:00000:2008/06/23 14:05:29.23 kernel  Adaptive Server Enterprise Edition
00:00000:00000:2008/06/23 14:05:29.81 kernel  Using config area from primary master device.
00:00000:00000:2008/06/23 14:05:29.98 kernel  os_create_keyfile: Removed old segment /opt/sybase/ASE-12_5/ase125.krg
00:00000:00000:2008/06/23 14:05:29.98 kernel  Internal run-time model set for Linux  - Native
00:00000:00000:2008/06/23 14:05:29.98 kernel  Using 8192 file descriptors.
00:00000:00000:2008/06/23 14:05:29.98 kernel  Adaptive Server Enterprise/12.5.3/EBF 13332 ESD#7/P/Linux Intel/Enterprise Linux/ase1253/1951/32-bit/OPT/Fri Mar 24 00:40:52 2006
00:00000:00000:2008/06/23 14:05:30.02 kernel  Confidential property of Sybase, Inc.
00:00000:00000:2008/06/23 14:05:30.02 kernel  Copyright 1987, 2006
00:00000:00000:2008/06/23 14:05:30.06 kernel  Sybase, Inc.  All rights reserved.
00:00000:00000:2008/06/23 14:05:30.06 kernel  Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2008/06/23 14:05:30.06 kernel  
00:00000:00000:2008/06/23 14:05:30.06 kernel  This software contains confidential and trade secret information of Sybase,
00:00000:00000:2008/06/23 14:05:30.06 kernel  Inc.   Use,  duplication or disclosure of the software and documentation by
00:00000:00000:2008/06/23 14:05:30.06 kernel  the  U.S.  Government  is  subject  to  restrictions set forth in a license
00:00000:00000:2008/06/23 14:05:30.06 kernel  agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
00:00000:00000:2008/06/23 14:05:30.06 kernel  agreement  specifying  the  Government's rights to use the software and any
00:00000:00000:2008/06/23 14:05:30.06 kernel  applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2008/06/23 14:05:30.06 kernel  Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
00:00000:00000:2008/06/23 14:05:30.06 kernel  ASE booted on Linux release 2.6.22.5-31-default version #1 SMP 2007/09/21 22:29:00 UTC.
00:00000:00000:2008/06/23 14:05:30.06 kernel  Using '/opt/sybase/ASE-12_5/ase125.cfg' for configuration information.
00:00000:00000:2008/06/23 14:05:30.06 kernel  Logging ASE messages in file '/opt/sybase/ASE-12_5/install/ase125.log'.
00:00000:00000:2008/06/23 14:05:30.35 kernel  SQL Server booted with TCP_NODELAY enabled.
00:00000:00000:2008/06/23 14:05:30.36 kernel  SSL Plus v3.1.14 security modules loaded successfully.
00:00000:00000:2008/06/23 14:05:30.36 kernel  Network and device connection limit is 8182.
00:00000:00000:2008/06/23 14:05:31.85 server  Number of blocks left for proc headers: 3232.
00:00000:00000:2008/06/23 14:05:31.86 server  Proc header memory allocated 1616 pages for each per engine cache
00:00000:00000:2008/06/23 14:05:35.83 server  Size of the 2K memory pool: 204800 Kb
00:00000:00000:2008/06/23 14:05:36.00 server  Memory allocated for the default data cache cachelet 1: 204800 Kb
00:00000:00000:2008/06/23 14:05:36.01 kernel  Enabling Linux Kernel asynchronous disk I/O strategy.
00:00000:00000:2008/06/23 14:05:36.16 kernel  Initializing virtual device 0, '/opt/sybase/data/master.dat' with dsync 'on'.
00:00000:00000:2008/06/23 14:05:36.16 kernel  Virtual device 0 started using asynchronous i/o.
00:00000:00000:2008/06/23 14:05:36.49 kernel  Worker Thread Manager is not enabled for use in SQL Server.
00:00000:00000:2008/06/23 14:05:36.50 kernel  Either the config parameter 'use security services' is set to 0, or ASE does not support use of external security mechanisms on this platform. The Security Control Layer will not be initialized. No external security mechanisms will be supported.
00:00000:00000:2008/06/23 14:05:36.50 kernel  Unix interval timer enabled for sysclk interrupts.
00:00000:00000:2008/06/23 14:05:37.13 kernel  Unable to load LDAP dynamic libraries without SYBASE and SYBASE_OCS environment variables defined. SYBASE_OCS is NULL.
00:00000:00000:2008/06/23 14:05:37.13 kernel  engine 0, os pid 4301  online
./RUN_ase125: line 16:  4301 Segmentation fault      /opt/sybase/ASE-12_5/bin/dataserver -d/opt/sybase/data/master.dat -e/opt/sybase/ASE-12_5/install/ase125.log -c/opt/sybase/ASE-12_5/ase125.cfg -M/opt/sybase/ASE-12_5 -sase125

为什么安装sybase到这出错呢。我是用redhat 下打包的sybase来解压安装的。redhat 是rs3的版本。suse是opensuse10.3内核是2.6.22

以下是环境:共享内存设置
sybase@suse:~/locales> vi locales.dat
sybase@suse:~/locales> tai /etc/sysctl.conf
bash: tai: command not found
sybase@suse:~/locales> tail /etc/sysctl.conf
# Disable response to broadcasts.
# You don't want yourself becoming a Smurf amplifier.
net.ipv4.icmp_echo_ignore_broadcasts = 1
# enable route verification on all interfaces
net.ipv4.conf.all.rp_filter = 1
# enable ipV6 forwarding
#net.ipv6.conf.all.forwarding = 1
# increase the number of possible inotify(7) watches
fs.inotify.max_user_watches = 65536
kernel.shmmax=1200000000

sybaset系统内存设置
[Physical Memory]
        max memory = 563200
        additional network memory = DEFAULT
        shared memory starting address = DEFAULT
        allocate max shared memory = DEFAULT
        dynamic allocation on demand = DEFAULT
        lock shared memory = DEFAULT
        heap memory per user = DEFAULT
网络名设置
interfaces的
ase125
        master tcp ether suse 5000
        query tcp ether suse 5000


ase125_BS
        master tcp ether suse 5001
        query tcp ether suse 5001

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2008-6-26 13:17:31 | 显示全部楼层
没人在这里用SYBASE啊。12.5版本的。REDHAT内核是2.4的.SUSE内核是2.6.22的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-17 11:27:34 | 显示全部楼层
原来是sybase授权问题。好像SUSE不在内,REDHAT和CENTOS倒可以.
不过我想可能 还是环境变量问题。照 这个的环境设应可以(SUSE目前不用了所以无法测试)
参考http://linuxsir.cn/bbs/thread341285.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表