Uninstall on Linux

Use these steps to uninstall the license server service on Linux.

To uninstall the license server on Linux

1. Run the following commands in this order:
a. sudo systemctl stop flexnetls-producer (to shut down the service)
b. sudo systemctl disable flexnetls-producer (to make the service ineligible to start on system reboot)
c. sudo rm /etc/systemd/system/flexnetls-producer.service 
d. sudo rm -r /etc/systemd/system/flexnetls-producer.service.d 
2. Optionally, remove these files (listed here with their default locations):
The trusted storage files in /var/opts/flexnetls/producer_name (the .ks, .db, and .0 files)
The log files in /var/opts/flexnetls/producer_name/logs 

Important:Deleting the trusted storage files erases all the licenses and their usage data along with configuration information. This can be safely done in your test environment where there is no impact on production data. In some cases, Revenera support may ask you to delete trusted storage files to resolve an issue. For general upgrades, we do not recommend deleting the trusted storage files.

Trusted storage and log locations are defined by the license server policies server.trustedStorageDir and logging.directory, respectively, the defaults for which are based on ${bases.dir}. Depending on the values set for these policies on your server, your trusted storage and log files might be in locations different from those mentioned in this step. See Reference: License Server Policy Settings.