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 

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.