# Installation issues on Ubuntu 18(Resolved)

I am using Ubuntu 18.04

And I tried to install Lumerical 2020a and FlexLM, following the instruction for Linux actually Ubuntu instruction because I need to transform rpm to deb

For Lumerical 2020a, Everything is fine but FlexLM has a couple of issues

First of all, I installed FlexLM with the code, ./install.sh in the directory, then a lot of errors popped out when I install the FlexLM, like below picture

And I opened FlexLM with the code in terminal and activated

But, the Lumerical doesn’t recognize my floating license

And I can’t access http://localhost:8095

So I tried to restart the FlexLM license server with this code,
Then It prompted it is failed because there isn’t " lmadmin.pid" in the directory, /opt/lumerical/lumerical-flexlm/logs/

I could figure out There is no that file in the logs directory

And I also tried to modify the scripts in the “hosts” file as below but nothing changed

Welcome to Lumerical Knowledge Exchange.

### Notes:

Ubuntu is not a supported system.
We suggest to use a supported Linux distro like, CentOS which is also freely distributed.

Based on the information you provided we have the following:

1. As what you mentioned - you will have to convert the RPM packages to DEB.
2. You cannot use the installation script ./install.sh on Ubuntu since this script is only for the supported linux systems using the RPM packages.
3. Please refere to these articles in our KX on how to install on this unsupported linux distro.

Take note of the limitations when installing on this unsupported system.*

Best,
Lito

I am using Ubuntu 18.04

And I tried to install Lumerical 2020a and FlexLM, following the instruction for Linux actually Ubuntu instruction because I need to transform rpm to deb

For Lumerical 2020a, Everything is fine but FlexLM has a couple of issues

First of all, I installed FlexLM with the code, ./install.sh in the directory, then a lot of errors popped out when I install the FlexLM, like below picture

And I opened FlexLM with the code in terminal and activated

But, the Lumerical doesn’t recognize my floating license

And I can’t access http://localhost:8095

So I tried to restart the FlexLM license server with this code,
Then It prompted it is failed because there isn’t " lmadmin.pid" in the directory, /opt/lumerical/lumerical-flexlm/logs/

I could figure out There is no that file in the logs directory

And I also tried to modify the scripts in the “hosts” file as below but nothing changed

Here are the KX articles for reference when installing on this unsupported system:

-Lito

Hello, Lito

I have installed everything,following the instructions you linked for me

All is good!!

But I can’t access FlexLM dashboard in my computer

Could you help me with that??

Thanks

Some unsupported systems are not able to run the graphical version of FlexLM (lmadmin).
You might have to run FlexLM using the non-graphical version. As per my previous reply

### Note:

Non graphical FlexLM (lmgrd) will require a certificate based license like the Floating MAC locked license.

Best,
Lito

@lyap

Thank you so much.

I have one more question about FlexLm Imgrd.

It says I need a license file to activate my license running FlexLM Imgrd on Ubuntu OS

as I remember, the Trial license is only supported by the floating license code, not a license file.

Does it mean I can not evaluate the Lumerical products on Ubuntu?

Thanks,
Dongwon

@jangd2

Please send a request to sales@lumerical.com for a Floating MAC Locked evaluation license.
Provide the MAC Address of your Ubuntu machine and our team will be able to generate a license file to try on your system.

Lito

@lyap

Hello, Sir

I received the license file from Sales team as you said and was following the instruction for the FlexLM lmgrd

but as the below picture, lmgrd file doesn’t react on my command to run it, there is lmgrd in the directory

Best,
Dongwon

@jangd2

/opt/lumerical/lumerical-flexlm/licenses/LUMERICL/


-Lito

@lyap

Copy the license file to the installation directory of FlexNet license manager.

^^^^license file script snipped a part of it

^^^^ the command used to copy the license file to the directory

^^^ confirmed the license file is copied to the directory, LUMERICL

Edit the license file to include the ports you want the license manager to use

^^^ I edited the license file as the above picture

Run the license manager using “lmgrd”

^^^ the command, “sudo /opt/lumerical/lumerical-flexlm/lmgrd -c /opt/lumerical/lumerical-flexlm/licenses/LUMERICL -log /opt/lumerical/lumerical-flexlm/logs/lmgrd.log” doesn’t work for my machine

^^^^^^I could figure out that the lmgrd executive file is located in the directory with the command, “ls”

Do I need to install the other package to run the lmgrd executive file?
It is the point I stuck with…

Thanks
Dongwon

@jangd2

try:

/opt/lumerical/lumerical-flexlm/lmgrd -v


Does this show the Flexera version or still gives the error?

or this: (specifying the license file)

sudo /opt/lumerical/lumerical-flexlm/lmgrd -c /opt/lumerical/lumerical-flexlm/licenses/LUMERICL/license_file.lic -log /opt/lumerical/lumerical-flexlm/logs/lmgrd.log


-Lito

@lyap

Unfortunately, it still gives the error

Dongwon

@jangd2,
there might be an issue with your installation.

Try to remove the current one and install FlexLM again using the instructions from our KX.

Lito

@lyap

Okay!!

Removing the lumerical-flexlm

Removing the files left after purging

check the package with “dpkg” command

### Install dependencies

Download the FlexNet license manager for Linux

Change directory to the location of the downloaded file (default=Downloads folder) and extract the installation package using tar

It might take several minutes to convert these RPM packages.
Once completed, you will get the message:

Install the deb packages.

I guess when I stall the “deb” package, a couple of errors is why my flexlm doesn’t work.

LSB package and FlexNETFs error and
sudo: unable to execute /usr/local/share/FNP/service64/11.16.4/FNPLicensingService: No such file or directory

many errors have occurred to my machine when the packages were installed.

@lyap

I finally have done with the installation of FlexLM

I was required to install the “lsb” package

Thank you so much with my all heart

However, My Lumerical product still doesn’t recognize the licenses

@lyap

I finally have done with the installation of FlexLM

I was required to install the “lsb” package

Thank you so much with my all heart

^^^^ I got this output script

after this, I run the Lumerical Product and set the server and port as the output script says

Then, I could see the "Check button: activated

Thanks!!

I think you failed to edit the license file with the ports to the default ones: 27011 and port 42128. This is why you have to indicate these on your license configuration. Otherwise FlexLM will automatically use the port range 27000-27010 which every is available.

Glad that everything is working now. .

Just to add. I believe installing the LSB package on Ubuntu fixed the issue with the LMADMIN not being able to run. When you have the time you can test the LMADMIN

1. Terminate the LMGRD process and run the command
/opt/lumerical/lumerical-flexlm/etc/lumlmadmin restart

2. and check the FlexLM dashboard to see if you have the license listed. If your previous Floating Trusted Storage license is still activated on this FlexLM - it should also show on the dashboard.

Best,
Lito