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

先来看看ASE的日志吧!

------------
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有问题?那之前是怎么起的...检查lic文件,也没错啊,都是买回来的...
会不会是Server的配置参数与license的限制有冲突?
尝试将/sybase/SERVERNAME.cfg的参数还原,还是不行。

再仔细看日志,关注这么一句:“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是买的什么类型...幸好保定也有一套同时部署的SybaseASE,应该是一样的,于是过去参考一下。
我又剪!在保定那套正常的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。

你可能感兴趣的:(license类型与server配置不匹配导致SybaseASE无法启动)