Error "License Count for CMDB/Asset Management Solution has been exceeded. Licenses owned:1, in use:1" occurs when trying to use CMDB or Asset Management
|Article:TECH166149|||||Created: 2011-08-01|||||Updated: 2014-03-12|||||Article URL http://www.symantec.com/docs/TECH166149|
|NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.|
When using CMDB Solution or Asset Management Solution, the error "License Count for CMDB/Asset Management Solution has been exceeded. Licenses owned:1, in use:1" occurs, even though only one license is being used. This prevents further use of CMDB or Asset Management.
License count for CMDB/Asset Management Solution has been exceeded. Licenses owned:1, in use:1
Asset Management 7.1
License count is only one for CMDB or Asset Management; rarer occasions can see multiple licenses still have this issue, even though there should be some free for use.
There are multiple causes for this issue:
- Timeouts occur when CMDB or Asset Management attempts to validate the license.
- Duplicate user accounts, usually one is created manually and one is imported through Active Directory.
- The computer accessing the console is doing so with both IPv4 and IPv6 enabled.
- There is a product defect when using CMDB 7.1 or Asset Management 7.1 when the license count for either is only one.
The multiple causes for this issue are product defects are resolved for CMDB 7.5, but not for Asset Management 7.5 (as yet, but which may be resolved in a a future later version or update). Due to the defect's complexity, point fixes for 7.1 will not be provided unfortunately. However, the following workarounds can often resolve the issue in 7.1.
Preliminary: Check if licenses are being consumed normally
Notes: (1) Before continuing, one license for CMDB or Asset Management will only grant one user in a Symantec Management Console access to those program's functions at a time. If it's possible another user is consuming the license, then this is working as designed. The other user must close their Console and then five minutes elapse for the license to be reclaimed, or the Altiris Service can be restarted. If the main user is 100% certain, however, that there are no other users, and only one license is available, than the issue that this article discusses is most likely the cause. (2) Also, this issue should therefore not be confused for when this occurs "normally", meaning, all licenses are actually validly being used. Close the workstation's console and then allow 10 to 15 minutes to pass for the license to be reclaimed for other users wishing to use CMDB or Asset Management, or, consider purchasing additional licenses to accommodate the number of Asset workers.
- In the SQL Server Management Studio, run the following SQL script:
ORDER BY _eventTime DESC
Review the ItemName column and the User column. This may help show that there are actually more users than expected using CMDB or Asset Management, and where they are in the Altiris Console.
- For Asset Management only, in the Altiris Console, click on Settings > All Settings > Service and Asset Management > Asset Management Solution > License Usage.
Review the User column. If this shows more than one user, then most likely Asset Management is indeed being used by more than one user simultaneously, thus the license usage exceeded error. (However, this, through the defect, may report incorrect information such as the User name being different for the same user.)
If the above checks show that the licenses are failing to be reused by the same user on the same computer, the following are workarounds that may resolve or reduce the frequency of the issue:
Part 1: Increase the Security Cache and Item Cache settings for the Symantec Management Platform.
- On the Symantec Management Platform Server, open a Command Prompt window as an Administrator user.
- Type CD <install directory>:\Program Files\Altiris\Notification Server\Bin\Tools and press the Enter key, where "<install directory>" is the drive, usually C, where Altiris is installed to.
- Type NSConfigurator.exe and press the Enter key. This runs the NSConfigurator tool.
- Click to expand the folder Security Settings.
- Click on SecurityCacheSize.
- Double its Value. By default, this is 50,000; change this then to 100,000.
- Click on the Save button.
- Click to expand the folders User Interface > Tree > Cache.
- Click on ItemCacheSize.
- Double its Value. By default, this is 3,000; change this then to 6,000.
- Click on the Save button.
- Close NS Configurator.
- When next possible, restart IIS and the Altiris Service:
a. From the Command Prompt window, type IISRESET /RESTART and press the Enter key.
b. Once IIS finishes restarting, close the Command Prompt window.
c. Click on the Windows Start button > Administrative Tools > Services.
d. Locate and right click on the Altiris Service > Restart.
e. Click on the Yes button.
Part 2: Verify that no duplicate user accounts exist and that the user account being used has been imported from Active Directory.
Note: This is a common issue and often ends up being the cause and solution.
- In a Symantec Management Platform Console, click on Settings> Security> Account Management.
- Click on Accounts.
- Verify that no duplicate roles exist for the CMDB and/or Asset Management user. If so, remove any that were created manually. WARNING: Do not remove the user if they are the Application Identity, as that will lock the user out of the Console!
- If it is unsure or known that the user account being used has not been created by an AD import:
a. Log in as a different user account that is a Symantec Administrator, and then delete the user's record from Home > Service and Asset Management > Manage Configuration Items > Organizational Types > User, and/or from Accounts, from step 2.
b. Perform a new AD import by clicking on Settings > All Settings > Notification Server > Microsoft Active Directory Import, Users.
c. Re-add the user to the appropriate roles from step 2.
d. Log in as that user and try to reproduce the issue.
Part 3: Ensure that the computer accessing the Symantec Management Platform Console is not using both IPv4 and IPv6.
- In a Symantec Management Platform Console, click on Home > Service and Asset Management > Manage Configuration Items.
- Click to expand the folder Computers and Peripherals.
- Click on Computer.
- Locate and right click on the computer > Resource Manager.
- In the Network section, check for IP addresses using IPv4 and IPv6. If both are used, using Windows Networking (which is not covered by these instructions), disable one of the IP addresses/network cards, if possible. If this is not possible, a different computer may need to be used for CMDB or Asset Management functions, as this issue on the original is still affected by having two types of IP addresses.
Part 4: Download the temporary CMDB license* attached to this article and install it and then follow Part 4's instructions, or, upgrade to Symantec Management Platform 7.5 and CMDB Solution 7.5, of which the CMDB Solution defect is resolved in.
* Note: Part 4 is only applicable if CMDB Solution encounters the issue. If Asset Management encounters the issue, there is no temporary license for Asset Management nor can one be provided. If Parts 1 through 3 fail to resolve the issue for Asset Management, the only other solution is for the user to obtain additional Asset Management licenses. A temporary license may be available through the customer's Sales or Licensing representative at Symantec. Licenses can be purchased through the user's Symantec Sales representative or directly from Symantec Business Sales at (800) 745-6054.
- Download the appropriate CMDB license from this article. One is in 1024-bit format and should be used when the following article is applicable to the user's environment:
Altiris IT Management Suite or Symantec-based Endpoint Management solutions may be affected - Microsoft Update (KB 2661254)
- Unzip the license file to the desktop or to a folder where license files are stored at on the hard drive.
- Click on the Windows Start button > All Programs > Symantec > Symantec Installation Manager > Symantec Installation Manager.
- Click on "Add/Update licenses".
- Click on the "Install Licenses" button.
- Navigate to where the license file was unzipped to from step 2.
- Click to select the license file.
- Click on the Open button.
- Continue through any other prompts to finish installing the license.
- Once back to the main window, close Symantec Installation Manager.
- Wait five minutes for the license to release or restart the Altiris Service to immediately release the license.
- If this does not resolve the issue:
a. If possible reboot the Symantec Management Platform.
b. If the issue still occurs, this may be caused by a corrupted license file. Use the RemoveLicense.exe tool found in the folder <install directory>:\Program Files\Notification Server\Bin\Tools to remove the old license, then reinstall it from Symantec Installation Manager. Note: The user should not remove the old license if they are not sure where the .txt license file is located at, as otherwise they will then be unable to reinstall this in Symantec Installation Manager.
IMPORTANT NOTE: If the above workarounds do not resolve the issue with CMDB and/or Asset Management, the only other solution is for the user to purchase more than one license for each affected product, or, to upgrade to the Symantec Management Platform 7.5 with CMDB where some of these issues are resolved in. Licenses can be purchased through the user's Symantec Sales representative, Licensing or directly from Symantec Business Sales at (800) 745-6054. For the supporting technician only, please refer to the internal instructions of this article for additional information on how to assist your customer.
Article URL http://www.symantec.com/docs/TECH166149