jerrymy 发表于 2009-03-16 17:29

关于sybase安装之问题

我装的是ASE Express Edition 15.0.2,第次装,安装过程正常,但到配置服务器这一步有如下提示(默认的配置);
向大侠们求助。不胜感激!

Building Adaptive Server 'LOCALHOST':
Writing entry into directory services...
Directory services entry complete.
Building master device...
sh: line 1: 8874 Segmentation fault /opt/sybase/ASE-15_0/bin/dataserver
-d/opt/sybase/data/master.dat -b30M -z2k -sLOCALHOST
-e/opt/sybase/ASE-15_0/install/LOCALHOST.log -T1623 -f > /tmp/sbIAbfBF 2>&1
Task failed
dataserver: master device size for this server: 30.0 Mb
Server 'LOCALHOST' was not created.
dataserver: master database size for this server: 13.0 Mb
dataserver: model database size for this server: 3.0 Mb
00:00000:00000:2009/03/16 23:42:20.85 kernel SySAM: Using licenses from:
/opt/sybase/SYSAM-2_0/licenses
00:00000:00000:2009/03/16 23:42:22.23 kernel SySAM: Checked out license for 1
ASE_CORE (2009.1231/permanent/19B3 47BC 0B7E 8DC3).
00:00000:00000:2009/03/16 23:42:22.23 kernel This product is licensed to: ASE
Developer Edition - For Development and Test use only
00:00000:00000:2009/03/16 23:42:22.23 kernelChecked out license ASE_CORE

按 Enter 键 阅读文本(Y)(Q) [输入 q 以退出(N)]

00:00000:00000:2009/03/16 23:42:22.23 kernel Adaptive Server Enterprise
(Developer Edition)
00:00000:00000:2009/03/16 23:42:22.42 kernel Initializing device
/opt/sybase/data/master.dat from offset 0 with zeros.

按 1 到下一步, 2 到上一步, 3 取消 或者 4 重新显示 1
Building Backup Server 'LOCALHOST_BS':
Writing entry into directory services...
Directory services entry complete.
Writing RUN_LOCALHOST_BS file...
RUN_LOCALHOST_BS file complete.
Starting server...
Server started.
Server 'LOCALHOST_BS' was successfully created.
Building Monitor Server 'LOCALHOST_MS':
Writing entry into directory services...
Directory services entry complete.
Writing RUN_LOCALHOST_MS file...
RUN_LOCALHOST_MS file complete.
Unable to log in to Adaptive Server 'LOCALHOST'.
Unable to boot 'LOCALHOST_MS' because Monitor Server must be able to log in to
Adaptive Server.
Server 'LOCALHOST_MS' was not created.

-------------------------------------------------------------------------------
Monitor Server 配置失败。请检查下面列出的错误,并通过以下网址向 Sybase
客户服务与支持部门咨询:http://www.sybase.com/support

Building Monitor Server 'LOCALHOST_MS':
Writing entry into directory services...
Directory services entry complete.
Writing RUN_LOCALHOST_MS file...
RUN_LOCALHOST_MS file complete.
Unable to log in to Adaptive Server 'LOCALHOST'.
Unable to boot 'LOCALHOST_MS' because Monitor Server must be able to log in to
Adaptive Server.
Server 'LOCALHOST_MS' was not created.

snow888 发表于 2009-03-16 22:29

原帖由 jerrymy 于 2009-3-16 17:29 发表 http://bbs3.chinaunix.net/images/common/back.gif
我装的是ASE Express Edition 15.0.2,第次装,安装过程正常,但到配置服务器这一步有如下提示(默认的配置);
向大侠们求助。不胜感激!

Building Adaptive Server 'LOCALHOST':
Writing entry into direc ...


什么系统,详细说一下 。。。

jerrymy 发表于 2009-03-16 23:03

回楼上,RHEL 5.2 虚拟机环境,单独的系统也试过结果一样。

已经使用sybase用户名来安装,并将sybase账号加入root组。

camham 发表于 2009-03-17 11:14

sh: line 1: 8874 Segmentation fault /opt/sybase/ASE-15_0/bin/dataserver
-d/opt/sybase/data/master.dat -b30M -z2k -sLOCALHOST
-e/opt/sybase/ASE-15_0/install/LOCALHOST.log -T1623 -f
shell下执行 /opt/sybase/ASE-15_0/bin/dataserver
-d/opt/sybase/data/master.dat -b30M -z2k -sLOCALHOST
-e/opt/sybase/ASE-15_0/install/LOCALHOST.log 看看错误消息

jerrymy 发表于 2009-03-17 11:53

回复 #4 camham 的帖子

没结果啊。

camham 发表于 2009-03-18 13:07

怎么可能没结果,要么能够创建master设备要么报错了

jerrymy 发表于 2009-03-19 15:31

回复 #6 camham 的帖子

好的我再试试!误解你的意思了。

jerrymy 发表于 2009-03-19 16:02

回复 #6 camham 的帖子

这就是输出结果:


# /opt/sybase/ASE-15_0/bin/dataserver -d/opt/sybase/data/master.dat -b30M -z2k -sLOCALHOST -e/opt/sybase/ASE-15_0/install/LOCALHOST.log
dataserver: master device size for this server: 30.0 Mb
dataserver: master database size for this server: 13.0 Mb
dataserver: model database size for this server: 3.0 Mb
00:00000:00000:2009/03/19 22:25:07.55 kernelWarning: Environment variable SYBASE_ASE is not set.
00:00000:00000:2009/03/19 22:25:07.82 kernelSySAM: Using licenses from: /home/sybase/SYSAM-2_0/licenses
00:00000:00000:2009/03/19 22:25:07.83 kernelSySAM: Failed to get status of file /home/sybase/ASE-15_0/sysam/LOCALHOST.properties. errno=2 No such file or directory.
00:00000:00000:2009/03/19 22:25:07.84 kernelSySAM: Failed to get status of file /home/sybase/ASE-15_0/sysam/sysam.properties.template. errno=2 No such file or directory.
00:00000:00000:2009/03/19 22:25:07.84 kernelSySAM: Failed to get status of file /home/sybase/ASE-15_0/sysam/LOCALHOST.properties. errno=2 No such file or directory.
00:00000:00000:2009/03/19 22:25:07.84 kernelSySAM: Failed to open /home/sybase/ASE-15_0/sysam/LOCALHOST.properties file: errno=2 No such file or directory.
00:00000:00000:2009/03/19 22:25:07.84 kernelSySAM: Failed to get status of file /home/sybase/ASE-15_0/sysam/LOCALHOST.properties. errno=2 No such file or directory.
00:00000:00000:2009/03/19 22:25:07.84 kernelLicense manager initialization fails.
00:00000:00000:2009/03/19 22:25:07.84 kernelThere is no valid license for ASE server product. Installation date is not found or installation grace period has expired. Server will not boot.
段错误

snow888 发表于 2009-03-23 22:43

安装系统的时候,指定 IP地址和主机名(包括域名)。

修改系统的共享内存(如果需要),我安装的时候没有修改。

你这个问题可能是按装 RHEL ES5.2 的时候,没有指定静态 IP 地址和主机名造成的。

解决的办法是修改 IP 地址,指定静态的主机名,同时修改主机名

vi /etc/sysconfig/network,

修改HOSTNAME一行为"HOSTNAME=主机名"(没有这行?那就添加这一行吧),然后运行命令" hostname 主机名"。一般还要修改/etc/hosts文件中的主机名。这样,无论你是否重启,主机名都修改成功。

jerrymy 发表于 2009-03-29 15:01

回复 #9 snow888 的帖子

我一般都默认动态获取IP的。

我去试试看。

还有,官方的安装文件说需要建一个有特权的sybase用户

需要这个用户的权限要跟root差不多,试了几种办法都没办到。有什么高招吗?
页: [1] 2
查看完整版本: 关于sybase安装之问题