免费注册 查看新帖 |

Chinaunix

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

关于sybase安装之问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-16 17:29 |只看该作者 |倒序浏览
我装的是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 kernel  Checked 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] 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.

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2009-03-16 22:29 |只看该作者
原帖由 jerrymy 于 2009-3-16 17:29 发表
我装的是ASE Express Edition 15.0.2,第次装,安装过程正常,但到配置服务器这一步有如下提示(默认的配置);
向大侠们求助。不胜感激!

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



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

论坛徽章:
0
3 [报告]
发表于 2009-03-16 23:03 |只看该作者
回楼上,RHEL 5.2 虚拟机环境,单独的系统也试过结果一样。

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

论坛徽章:
0
4 [报告]
发表于 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 看看错误消息

论坛徽章:
0
5 [报告]
发表于 2009-03-17 11:53 |只看该作者

回复 #4 camham 的帖子

没结果啊。

论坛徽章:
0
6 [报告]
发表于 2009-03-18 13:07 |只看该作者
怎么可能没结果,要么能够创建master设备要么报错了

论坛徽章:
0
7 [报告]
发表于 2009-03-19 15:31 |只看该作者

回复 #6 camham 的帖子

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

论坛徽章:
0
8 [报告]
发表于 2009-03-19 16:02 |只看该作者

回复 #6 camham 的帖子

这就是输出结果:


[root@localhost ~]# /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 kernel  Warning: Environment variable SYBASE_ASE is not set.
00:00000:00000:2009/03/19 22:25:07.82 kernel  SySAM: Using licenses from: /home/sybase/SYSAM-2_0/licenses
00:00000:00000:2009/03/19 22:25:07.83 kernel  SySAM: 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 kernel  SySAM: 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 kernel  SySAM: 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 kernel  SySAM: 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 kernel  SySAM: 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 kernel  License manager initialization fails.
00:00000:00000:2009/03/19 22:25:07.84 kernel  There is no valid license for ASE server product. Installation date is not found or installation grace period has expired. Server will not boot.
段错误

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
9 [报告]
发表于 2009-03-23 22:43 |只看该作者
安装系统的时候,指定 IP地址和主机名(包括域名)。

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

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

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

vi /etc/sysconfig/network,

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

论坛徽章:
0
10 [报告]
发表于 2009-03-29 15:01 |只看该作者

回复 #9 snow888 的帖子

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

我去试试看。

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

需要这个用户的权限要跟root差不多,试了几种办法都没办到。有什么高招吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP