Apr 9, 2010

FLEXlm license manager server on Ubuntu

This is not specifically for Ubuntu on a Mac, but rather a hint for myself getting the license manager for e.g. IDL running on an arbitrary Ubuntu Server.

By spending hours of trying to get the FLEXlm license daemon running, I figured out two crucial points with the help of a friend:

1. You need to specify your server's complete internet address including the domain in /etc/hosts as follows:
127.0.0.1 localhost
youripgoeshere yourcomputername.yourfulldomainna.me youralias


2. You need to create the folder /usr/tmp with read and write access for the user you intend to run the license daemon as.

After that you should be able to start the daemon with the usual start script offered by your vendor.

Happy licensing!

4 comments:

Dragos D. said...

Have you managed to make Flexlm run? I'm very interested how did you do it. Thanks.

alp85 said...

Hi there

I have the same problem for the Ansys licence server.

I didn't understand how my /etc/hosts has to look like. For example:

139.18.252.22 alessio # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 alessio localhost6.localdomain6 localhost6

???

Thanks and cheers.
Al

DaWuzzzz said...

The line in /etc/hosts/ should read as follows:

123.123.234.234 polyhymnia polyhymnia.thecompletedomain.de

(in one line)

After starting the daemon your users should be able to connect to the server via polyhymnia.thecompletedomain.de

Additionally, you might want to fix all the ports so that you can make them accessible through a running firewall:
Add the port 1800 to the server line in your license.dat:

SERVER yourip/hostname checksum 1800

add the listening port to the daemon e.g. 47000 in the daemon line

DAEMON /pathtodaemon PORT=47000

then you'll have to open port 1800 and 47000 to the machines you want to connect with

Unknown said...

I really appreciate this post and I like this very much. I am waiting for new post here and Please keep it up in future.
Flexlm License Manager