Problem Note 56132: DataFlux® Data Management Studio fails and returns the error "Failed to get a primary and secondary license"
DataFlux Data Management Studio start-up might fail and return the following error:
Failed to get a primary and secondary license
Note: During DataFlux® Data Management Server start-up, the same error might occur. However, in this case, the error is logged as an INFO level message in the dmserver.log file.
Understanding the Root Cause
This error usually occurs because the system fails to access either the license file itself or the app.cfg configuration file that is located in the /etc subfolder of the product installation directory. This configuration file sets the license file location. These files might not be successfully read due to one of the following reasons:
- an incorrect or inaccessible location
- a lack of user authority
- a corrupted file
A less common cause for this error is that the license file is missing a required feature.
Circumventing the Problem
Navigate to the app.cfg file in the /etc subfolder where the relevant product is installed and use the following checklist to circumvent this problem:
Does the app.cfg file exist and is it readable?
Is the base/primary_license set correctly in the app.cfg file?
- The configuration is set to base/primary_license=SAS, which assumes that you use a SAS sid style license (.txt file). If you use an older .lic file, use base/primary_license=DATAFLUX as the configuration setting instead.
Does the base/primary_license_loc that is located in the app.cfg file reference the correct license file?
- Ensure that the license file is present in the specified location, that the file is readable, and that you have the appropriate file permissions that are required to read the file.
- If the base/primary_license_loc is located on a remote network drive, ensure that the drive is available during start-up.
- Verify that the license file referenced in the primary_license_loc line contains the license information for the specific product that you are starting. For example, DataFlux Data Management Studio cannot reference a license file that is intended for DataFlux Data Management Server unless that license covers both applications.
- Check that the license is not missing any features that are required for the product to start.
Contacting Technical Support for Additional Assistance
If you need additional assistance to circumvent this problem, collect the following items:
- the start-up log that contains the error from DataFlux Data Management Studio or DataFlux Data Management Server
- the app.cfg file
- the license file
Then, upload these items to your existing Technical Support track or create a new track.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Resolving the DataFlux error "Failed to get a primary and secondary license"
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2015-07-27 14:51:46 |
Date Created: | 2015-07-08 09:34:35 |