Author Topic: FAQ: lmgrd error on Ubuntu 64-bit  (Read 15916 times)

0 Members and 1 Guest are viewing this topic.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
FAQ: lmgrd error on Ubuntu 64-bit
« on: August 21, 2009, 11:42 »
As reported in a different thread, there is a problem running the license daemon lmgrd on Ubuntu 64-bit (e.g. version 9.04). We never got to the bottom of it there, but the user didn't have a floating license anyway. However, there is still a real problem. The symptom of the error is, that when lmgrd is started it reports
Quote
license daemon: system error code: No such file or directory
It's related to permissions; lmgrd is trying to create a file which it's not allowed to. Fortunately, there is a simple work-around. 1) First of all, use the lmgrd (32-bit) provided in the ATK package. I'm not sure if the 64-bit lmgrd will work with a 32-bit "atomist" vendor daemon. 2) Next, as always, decide which user will run the license daemon. Root is not allowed, so it must be a simple user. I will call him "user"; this can be a new dedicated account, "guest", "nobody" (these are usually pre-defined), or just the local ATK user. 3) Run
Code
sudo mkdir /usr/tmp/.flexlm
4) Run     
Code
sudo chown user /usr/tmp/.flexlm"
(change "user" as needed) 5) Start lmgrd as normal, as user "user"; to test it, use
Code
./lmgrd -z -c licensefile.lic
to run properly (as a daemon) remove the "-z". This should allow you to run the license server and then ATK on Ubuntu 64-bit. There may however be other problems with running VNL, we'll get back to that separately.
« Last Edit: August 21, 2009, 14:01 by Anders Blom »