I tried to replace the SAP CMC license key, but after I deleted the old key, I can't open the CMC anymore. IE shows "This page can't be displayed". CMC can't be opened may be because there is no license key in CMC. But I want to add the license key back.
Not sure if I can ask an SAP question on Stack Overflow. But I can't contact SAP support currently. Much appreciated if any one can give me a hint about how to add CMC license by command line or other methods.
Below is the location where I found the license key and deleted it.
Deleted or expired license key will disable WACS Server.
There is a note 2281830 explaining how to add license key via a script:
Run command in Bash
<InstallDir>/sap_bobj/ccm.sh -anyjs <InstallDir>/sap_bobj/setup/jscripts/addlicensekey.js /CMS <hostname:cmsport> /USERNAME Administrator /PASSWORD <administrator account password> /AUTHENTICATE secEnterprise /License <licensekey>
1a. Windows version:
<InstallDir>\SAP BusinessObjects Enterprise XI 4.0\win64_x64\addlicensekey.js /CMS <hostname:cmsport> /USERNAME Administrator /PASSWORD <administrator account password> /AUTHENTICATE secEnterprise /License <licensekey>
Restart server