Can I run the floating license server as a service?

Skip to main content
< All Topics
Print

Can I run the floating license server as a service?

Yes you can. One of the advantages of running the server as a service is that the user can sign out from the machine and the floating license server will keep on running.

Instructions for Exostiv software v2 license server.

This software is available with Exostiv Probe EP16000 and Exostiv Blade

Linux OS

The license server has a GUI and always needs a X server. The solution consists in installing ‘Xvfb’ virtual frame buffer. Xvfb implements the X11 display server protocol into virtual memory without showing any screen output.

The following desciption targets Red Hat based systems. Adapt as needed for Debian based systems or others.

To install Xvfb, type : sudo dnf install xorg-x11-server-Xvfb
Following might also be needed : sudo dnf install xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi

A configuration file is used to configure the license server. See ’ExoLicSrv.cfg’ in the zip file provided at the end of this article.
Please complete the file with a valid license key, TCP port number and logging path if needed.
The script file ExoLicSrv_NoGui.sh is used to configure xvfb and will be called by systemd when the service is started.

Please copy both ’ExoLicSrv.cfg’ and ‘ExoLicSrv_NoGui.sh‘ into the license server’s installation folder.

Note for SELinux-based system.
SELinux normally prevents a service file from running an executable in /home folders.
To fix this type the following two commands :
sudo semanage fcontext -a -t bin_t /path/to/ExoLicSrv_NoGui.sh
sudo restorecon -v /path/to/ExoLicSrv_NoGui.sh

Finally, configure systemd to start the service.
Copy file ‘ExoLicSrv.service’ in /etc/systemd/system.
In the service file, set a valid username (User=) and working directory (APP_DIR=).
The working directory is the license server’s installation folder.

Reload the systemd configuration with ‘systemctl daemon-reload

The service can now be started with ‘systemctl start ExoLicSrv.service’.
Command ‘systemctl status ExoLicSrv.service’ will return the status.
Command ‘systemctl stop ExoLicSrv.service’ stops the service.

To enable the service at boot time execute ‘systemctl enable ExoLicSrv.service’.

Resources

ExoLicSrv.zip

Scroll to Top