Whether you are installing permanent licensing or adding a new license file for a particular SolutionPack, the following must be done before you begin the tasks described in this article:
- Make sure you have a login with root, APG, or system administrator privileges to perform the following tasks. The user apg is the account that the Watch4Net/MnR application uses instead of root.
Procedure to install licenses via CLI:
To install licenses, enter the following command for your operating system from the bin directory:
Operating system: Command:
UNIX/Linux ./manage-licenses.sh install <download_path>/<license file in Zip format>
Example:
./manage-licenses.sh install /opt/APG/licenses/license.zip
Procedure to add licenses:
You must upload a license file whenever you install a new SolutionPack or ReportPack to enable views and reports to display. This can be done as follows:
- Login to Centralized Management page as
http://<MnR_SERVER>:58080/centralized-management/
- In the Centralized Management pane, select "Licenses Management" as highlighted below:
- In the Licenses Listing pane, click Upload:

- In the License Upload dialog box, browse to your license file and click OK. Licenses in a .zip file are then extracted and appear in the Licenses Listing pane.
- When "License Upload Complete" appears, click OK, then Continue.
NOTE: If you have remote servers in a distributed environment, click Synchronize to add the licenses to the remote servers.
Procedure to delete licenses:
- Login to Centralized-Management page and navigate to "Licenses Management" section as explained in
Procedure to add Licenses
topic (Steps 1-3).
- In the Licenses Listing pane, select one or more license check boxes.
- Click Delete to delete the selected licenses:
NOTE: If you have remote servers in a distributed environment, click Synchronize to remove the licenses from the remote servers.
Procedure for verifying expiration status of licenses from GUI:
- Login to Centralized-Management page and navigate to "Licenses Management" section as explained in
Procedure to add Licenses
topic (Steps 1-3).
- In the Licenses Listing pane, read the Expiration column.
Procedure for verifying expiration status of licenses from CLI:
- Open a CLI to the frontend server with 'root' access.
- Navigate to <APG_BASE>/bin.
- Run command:
./manage-licenses.sh check
What to do if licenses have expired and uploading new licenses does not clear the error:
- Login to Centralized-Management page and navigate to "Licenses Management" section as explained in
Procedure to add Licenses
topic (Steps 1-3).
- Delete all licenses except for the Web Portal license where '! red icon' is noticed.
- Upload the new licenses.
- Log out and back in to verify the proper licenses are installed.
NOTE: If the licenses still have not registered you may need to restart tomcat.
To restart tomcat:
- Open a CLI to the frontend server with 'root' access.
- Navigate to <APG_BASE>/bin.
- Run command:
./manage-modules.sh service restart tomcat Default