`
Sev7en_jun
  • 浏览: 1225483 次
  • 性别: Icon_minigender_1
  • 来自: 广州
博客专栏
84184fc0-d0b6-3f7f-a3f0-4202acb3caf5
Apache CXF使用s...
浏览量:111305
社区版块
存档分类
最新评论

解决: Failed to obtain license(s) for ASE_CORE feature from license file(s)

 
阅读更多
 兔年第一个工作日,本打算收收利市、聊聊春节见闻就过去了,没想到一大早同事就跑过来说:廊坊的一套SybaseASE起不起来了。
先说说,这套SybaseASE是一个月前才部署完毕的。春节客户回来上班,发现应用挂掉了,于是直接把服务器关了重启——这一关,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。

 

源:http://blog.sina.com.cn/s/blog_67e3cc530100pcsr.html

 

以下是我遇到的错误详情:

  SySAM: Using licenses from: /opt/sybase/SYSAM-2_0/licenses/SYBASE.lic:/opt/sybase/SYSAM-2_0/licenses/SYBASE_ASE_DE.lic:/opt/sybase/SYSAM-2_0/licenses/SYBASE_ASE_XE.lic:/opt/sybase/SYSAM-2_0/licenses/etone01.lic
00:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM: Failed to obtain license(s) for ASE_CORE feature from license file(s) or server(s).
00:0000:00000:00000:2012/10/14 22:08:24.66 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:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM: Cannot connect to license server system.
00:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM:  The license server manager (lmgrd) has not been started yet,
00:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM:  the wrong port@host or license file is being used, or the
00:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM:  port or hostname in the license file has been changed.
00:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM: License feature name:  ASE_CORE
00:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM: License server host:   etone01
00:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM: License search path:   /opt/sybase/SYSAM-2_0/licenses/SYBASE.lic:/opt/sybase/SYSAM-2_0/licenses/SYBASE_ASE_DE.lic:/opt/sybase/SYSAM-2_0/licenses/SYBASE_ASE_XE.lic:/opt/sybase/SYSAM-2_0/licenses/etone01.lic:
00:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM: FLEXnet Licensing error:-15,570.  System Error: 115 "Operation now in progress"
00:0000:00000:00000:2012/10/14 22:08:24.66 kernel  SySAM: For further information, refer to the Sybase Software Asset Management website at http://www.sybase.com/sysam
00:0000:00000:00000:2012/10/14 22:08:24.66 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.

解决方法:
直接删除
PE=EE
LT=SR
重启服务OK

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics