license类型与server配置不匹配导致SybaseASE无法启动

一天,为了忙着下班,就没有将虚拟机的SYBASE ASE 没有关掉服务,也就是停掉数据库,就只是直接在系统层执行poweroff ,第二天,想着继续研究SYBASE,但却发现,无法启动sybase,sybase起不来啦。

查看日志,有如下信息:

————
00:00000:00000:2011/02/10 11:44:45.58 kernel SySAM: Using licenses from: D:\sybase\\SYSAM-2_0\licenses
00:00000:00000:2011/02/10 11:44:45.71 kernel SySAM: Failed to obtain 1 license(s) for ASE_CORE feature from license file(s) or server(s).
00:00000:00000:2011/02/10 11:44:45.71 kernel SySAM: Licenses exist for ASE, but a license containing the configured (PE=EE;LT=SR) attributes could not be obtained. Verify that ASE is configured to use the correct type of license, and either reconfigure; or generate and deploy the desired license from the Sybase Product Download Center.
00:00000:00000:2011/02/10 11:44:45.71 kernel SySAM: License feature name: ASE_CORE
00:00000:00000:2011/02/10 11:44:45.71 kernel SySAM: License search path: D:\sybase\\SYSAM-2_0\licenses\ANY_201101120518.lic;D:\sybase\\SYSAM-2_0\licenses\ANY_201101120519.lic;
00:00000:00000:2011/02/10 11:44:45.71 kernel SySAM: FLEXnet Licensing error:-73,125
00:00000:00000:2011/02/10 11:44:45.71 kernel SySAM: For further information, refer to the Sybase Software Asset Management website at http://www.sybase.com/sysam
00:00000:00000:2011/02/10 11:44:45.71 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.
———–

提示没有有效的license。俺安装的是sybase15.7的开发版,应该不会存在lic问题。


再仔细看日志,关注这么一句:“Licenses exist for ASE, but a license containing the configured (PE=EE;LT=SR) attributes could not be obtained.”

似乎应该是license实际类型与Server自己配置的类型有误。
进入/sybase/ASE_15-0/sysam/,找到SERVERNAME.properties,打开看看:
————

PE=EE
LT=SR

————

看来就是这两行出问题。可是我也不知道这套license是买的什么类型.那我尝试直接将此文件备份后删除,再起,Sybase ASE自动重新生成一个SERVERNAME.properties,打开一看,果然没有PE=EE;LT=SR。

总结:

故障现象:SybaseASE无法启动,类似报错“SySAM: Licenses exist for ASE, but a license containing the configured (PE=EE;LT=SR) attributes could not be obtained.”
解决方法:将/sybase/ASE_15-0/sysam/下的文件备份后删除,再启动ASE。

以下文章点击率最高

Loading…

     

如果这文章对你有帮助,请扫左上角微信支付-支付宝,给于打赏,以助博客运营

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注