I've been trying to install a floating license on a Network with Maya and still can't get it to work (on a Mac). I feel like the documentation on this is very vague.
I have installed the Network License Manager on the the server I want to manage the license and have obtained a license file in which I have put on the server's var/flexlm folder and a different folder that my other computers can network to.
That all seems fine. The Install guide says
"Use the Console to verify that lmgrd and adskflex start up successfully."
So using Terminal, not Console I think I verified they started up but I am not entirely sure. This is where I wish there was a bit more clarification and direction in the install guide. Also when you install Maya on a separate machine and tell it to be a network version you are told to give the "Server Name". No where in the install guide does it clarify what the Server Name would be or how it should be written. This is the documentation for it:
"If you will use a network license to run Maya, contact your network
administrator to find your license server name before you start the installation.
You can enter your license server name in the installer to configure your
"Where do I find my server name?
When installing a network licensed product, you must specify the name of
the server that will run the Network License Manager. If you don’t know the
server name, you can quickly find it by opening a Windows command prompt
on the system that will be the Network License Manager. At the prompt, enter
ipconfig /all and note the Host Name entry."
Which is great. If you are running Windows, which I am not.
With some searching on forums I found that you can use the server's IP Address which makes things much easier but it wasn't in the install guide or any other Maya documentation.
Now I am trying to run Maya on one of the machines I have installed it on and directed it to use a network license file with the correct server name in the maya.lic file but I am getting this error (screenshot attached).
I know I am missing some things but there really isn't very much good documentation that helps me out.
Solved! Go to Solution.
Sorry, correction to one thing, I realize now that when the install guide says "Use the Console to verify that lmgrd and adskflex start up successfully."
It does mean use the console.
Setting up a licensing server on Mac OS X.
1. Get your license.
- You will need to know your ethernet address (Ethernet 1) if you have a Mac Pro as these systems have 2 network cards.
- You cannot license it on the Airport Card unless it is a Mac Mini.
- To get the hostname of the computer, you will need to open a Terminal (Applications > Utilities > Terminal) and type:
2. Contact the Autodesk Business Center/Authcodes team and get a license. You will need to provide to them, your serial number for your product, hostname, and ethernet address. You can also get the license online by checking out this post:
3. Install the licensing tools for the MAC. It will be on the DVD, otherwise, you will need to download it here:
4. Your license may be sent as an attachment. You will need to rename it to: adsk_server.lic. You may need to make sure that you can see file extension on Mac OS X as adsk_server.lic.txt is not a valid file extension. You can use Textedit to view a .lic file. You can save the license on the desktop and rename it as noted. If they make a mistake with the SERVERNAME, you can edit it afterwards. In some cases, you may need to use an IP address of your Mac OS X license server in place of the servername.
5. Move this file into /var/flexlm directory. In the Finder > Go > Go to Folder... and type
If the flexlm folder does not exist, you will need to create it using this command:
sudo mkdir /var/flexlm
Drag file into this hidden folder.
6. To start the license server, you will need to go into a Terminal again and type the following commands:
=You are going to that directory.
=You are listing directory contents.
OPTION 1 TO START THE LICENSE SERVER
sudo ./lmgrd -c /var/flexlm/adsk_server.lic
=You are starting the license server. At this time, you will be prompted to enter your Administrator password. NOTE: You will not be able to see your password being type. i.e. there is no feedback for data entry.
OPTION 2 TO START THE LICENSE SERVER
sudo /sbin/SystemStarter start adsknlm
CHECKING THE STATUS OF THE LICENSE SERVER
sudo ./lmutil lmstat -a -c /var/flexlm/adsk_server.lic
NOTE: If there is a failure, you must use the Activity Monitor and use Quit Process the stray lmgrd process and only then can you restart the license server properly. If the server has started correctly, there will be an adskflex and lmgrd process in your Activity Monitor.
7. It is best to not make the Mac (Hard Drive) go to Sleep. This is a process that can't be restarted when 'sleeping'. You can make the monitor go to sleep. This is done via System Preferences > Energy Saver.
8. If you have installed Maya on the same computer as the license server, there may also be a /var/flexlm/maya.lic file. To easily edit the file in the /var/flexlm folder, you will need to run this command:
sudo chmod -R 777 /var/flexlm
=Full permissions on this folder. You can then edit the license file using Textedit and saving in the same folder without any permissions issues.
The maya.lic file should contain:
SERVER your-server-name-or-ip-address 0
NOTE: There should be a the number 0 after your-server-name-or-ip-address.
Thanks for your help David. I just noticed we are running Mac OS X Server but the licensing seems to be working OK. Do you know of any bugs with it or problems? Or is it just "certified" to run on Mac OS X.
Autodesk officially only supports Mac OS X. In theory, it could work on Mac OS X server but the server operating system is currently untested. Typically, I would use the same instructions on either operating system and if it doesn't work on Mac OS X Server, we would not troubleshoot it any further.
I've found this post very useful so far and I believe I have almost got my license server working. However when I run "sudo /sbin/SystemStarter start adsknlm" it doesn't seem to complete the start-up due to "Invalid License Key (inconsistent authentication code).
I have had the license file issued to me multiple times and I have even taken the license file to a Mac OS 10.6 Client which is freshly installed, adjusted the license file to use the correct hostname and MAC address of that computer but get the same result. Below is the output from Terminal when starting the licence server (without the license key info).
1. Can anyone help me out here or let me know what might be going wrong?
2. Is there a terminal command I can run to get lmgrd to check that what my MAC address is to ensure this isn't the issue?
19:02:45 (lmgrd) The license server manager (lmgrd) running as root: 19:02:45 (lmgrd) This is a potential security problem 19:02:45 (lmgrd) and is not recommended. Apples-MacBook-Pro:flexnetserver apple$ 19:02:45 (lmgrd) FLEXnet Licensing (v184.108.40.206 build 73797 x64_mac10) started on 192.168.0.7 (Mac) (4/13/2011) 19:02:45 (lmgrd) Copyright (c) 1988-2009 Acresso Software Inc. All Rights Reserved. 19:02:45 (lmgrd) US Patents 5,390,297 and 5,671,412. 19:02:45 (lmgrd) World Wide Web: http://www.acresso.com 19:02:45 (lmgrd) License file(s): /var/flexlm/adsk_server.lic 19:02:45 (lmgrd) lmgrd tcp-port 27000 19:02:45 (lmgrd) Starting vendor daemons ... 19:02:45 (lmgrd) Using vendor daemon port 2080 specified in license file 19:02:45 (lmgrd) Started adskflex (internet tcp_port 2080 pid 562) 19:02:45 (adskflex) Unable to initialize access to trusted storage: 1 19:02:45 (adskflex) FLEXnet Licensing version v220.127.116.11 build 79971 x64_mac10 19:02:45 (adskflex) Invalid license key (inconsistent authentication code) LICENCE FILE INFO HERE BUT REMOVED .... 19:02:45 (lmgrd) The license server manager (lmgrd) running as root: 19:02:45 (lmgrd) This is a potential security problem 19:02:45 (lmgrd) and is not recommended. Apples-MacBook-Pro:flexnetserver apple$ 19:02:45 (lmgrd) FLEXnet Licensing (v18.104.22.168 build 73797 x64_mac10) started on 192.168.0.7 (Mac) (4/13/2011) 19:02:45 (lmgrd) Copyright (c) 1988-2009 Acresso Software Inc. All Rights Reserved. 19:02:45 (lmgrd) US Patents 5,390,297 and 5,671,412. 19:02:45 (lmgrd) World Wide Web: http://www.acresso.com 19:02:45 (lmgrd) License file(s): /var/flexlm/adsk_server.lic 19:02:45 (lmgrd) lmgrd tcp-port 27000 19:02:45 (lmgrd) Starting vendor daemons ... 19:02:45 (lmgrd) Using vendor daemon port 2080 specified in license file 19:02:45 (lmgrd) Started adskflex (internet tcp_port 2080 pid 562) 19:02:45 (adskflex) Unable to initialize access to trusted storage: 1 19:02:45 (adskflex) FLEXnet Licensing version v22.214.171.124 build 79971 x64_mac10 19:02:45 (adskflex) Invalid license key (inconsistent authentication code)
This maybe a bad license file. In some cases, you need to use Textedit in 'plain' text mode instead of 'rich' text mode. The default is rich text mode. If there are those special characters in rich text mode, it may cause this problem.
Many thanks for the reply. Yes I thought this could be the case. So in the scenario where I got another machine and installed from scratch what I did was move the lic file into /var/flexlm - set ownership to 777 on the flexlm folder, edited the file in Terminal to change the hostname and MAC address on the file and ran into the same report as per my above post.
Any other ideas on this one? Any chance you are able to check the license file? How would I send to you?
I'm not sure if this helps but it does say in between all the licenses "20:30:40 (adskflex) Invalid license key (inconsistent authentication code)"