Starting license server on Mac OS X automatically

Marketing
Marketing

Question:

How to start license server on Mac OS X automatically?

Answer:

A way to start Autodesk License Server on Mac OS X platform is to use a  .profile file

  • Open Textedit and make sure it is set to Plain Text:  Format > Make Plain Text.
  • Copy the contents below and save the file on the Desktop and call it: txt

/usr/local/flexnetserver/lmgrd –c /var/flexlm/adsk_server.lic  –l /var/flexlm/adsk_server.log

  • Open a Terminal and type:

cd $HOME

  • Type the following and the file should disappear:

mv profile.txt .profile

  • Type the following and confirm that there is a .profile in the folder: 

ls -la 

  • Go to System Preferences > Users & Groups.
  • Select your user and finally Login Items.
  • Click the + symbol on the bottom. In the dialog window, click on the search bar on top-right and type "Terminal". Double click on the correspondent result. Eventually, Terminal will be added in the Login Items list as shown below:

faq-start-license-server-1.png

  • Open a Terminal  again and type the following:

 

sudo mkdir /usr/local/flexlm

[This will make a directory.]

sudo mkdir /usr/local/flexlm/licenses

[This will make a directory.]

cd /usr/local/flexlm/licenses

[This will go to the folder.]

sudo chmod -R 777 /usr/local/flexlm

[This will give full permissions to the folder and all files/folders in the directory.]

  • Copy over all contents that's located in this folder: /usr/local/flexnetserver to /usr/local/flexlm
  • Then run this command.

cp /var/flexlm/adsk_server.lic /usr/local/flexlm/licenses/license.dat

[This will copy the original license file to license.dat location.]

Note: Please modify adsk_server.lic according to your license file name.

For example: ACAD.lic

  • Reboot your computer and if this shows up in the Terminal, it's working.  You can also open the Activity Monitor (View > All Processes) and confirm that the adskflex and lmgrd are running.

faq-start-license-server-2.png

Was this article helpful?

1 out of 1 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.