一天,為了忙着下班,就沒有將虛擬機的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…