Sponsors
Sponsor Products
where to put license file?
posted by robert wild  on March 20, 2018, 5:19 p.m. (30 days ago)
23 Responses     1 Plus One's     2 Comments  

hi all,

im trying to work out where to put the network license file for maya so this workstation can talk to our network license server and can run maya

i know where to put the license files for the below and since then nuke and mocha work like a charm but im struggling to figure out how to do the maya one

nuke its located here - /usr/local/foundry/RLM/client_license.lic

mocha its located here - /etc/opt/isl/licences/client_license.lic

also what should the contents of the file be inside ie "SERVER ip_address MAC_address USE_SERVER "

many thanks,

rob


Thread Tags:
  maya 

Response from Jean-Francois Panisset @ April 4, 2018, 4:45 p.m.
This link:

https://knowledge.autodesk.com/search-result/caas/simplecontent/content/thin-client-keys-adlmthinclientcustomenvxml.html

has a link to a full formed XML file:

https://knowledge.autodesk.com/sites/default/files/AdlmThinClientCustomEnv.xml

If you go back in the thread you will find a discussion of what parts of the AdLM local install you will need to retrieve and copy to your server. I'm afraid there's definitely experimentation involved until you get it all working...

JF


On Tue, Apr 3, 2018 at 1:09 AM, robert wild <content@studiosysadmins.com> wrote:

thanks JF

ADLM_COMMON_BIN_LOCATION

ADLM_COMMON_LIB_LOCATION

ADLM_COMMON_LOCALIZED_DATA_LOCATION

ADLM_ERROR_TABLE_LOCATION

ADLM_PIT_FILE_LOCATION

ADLM_CASCADE_FILE_LOCATION

all the information above, where can i find the values to put in them, can i find them all on the windows license server?

and "<PLATFORM OS="Windows">" i imagine as its a linux workstation i have to make it "<PLATFORM OS="Linux">"

thanks,

rob


To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe


1 Plus One's     0 Comments  
   

Response from robert wild @ April 3, 2018, 4:09 a.m.

thanks JF

ADLM_COMMON_BIN_LOCATION

ADLM_COMMON_LIB_LOCATION

ADLM_COMMON_LOCALIZED_DATA_LOCATION

ADLM_ERROR_TABLE_LOCATION

ADLM_PIT_FILE_LOCATION

ADLM_CASCADE_FILE_LOCATION

all the information above, where can i find the values to put in them, can i find them all on the windows license server?

and "<PLATFORM OS="Windows">" i imagine as its a linux workstation i have to make it "<PLATFORM OS="Linux">"

thanks,

rob


0 Plus One's     0 Comments  
   

Response from Jean-Francois Panisset @ March 30, 2018, 1:40 p.m.
That seems to do the trick for me, although I also used ADLM_APPLICATION_ERROR_LOG_FILE to customize the location of the adlm log / error file.

JF


On Thu, Mar 29, 2018 at 5:45 AM, robert wild <content@studiosysadmins.com> wrote:

thanks

am i right in thinking all i need is this information in my xml file as its a linux workstation, so i dont need the required ones nor the mac or windows -

ADLM_COMMON_BIN_LOCATION

ADLM_COMMON_LIB_LOCATION

ADLM_COMMON_LOCALIZED_DATA_LOCATION

ADLM_ERROR_TABLE_LOCATION

ADLM_PIT_FILE_LOCATION

ADLM_CASCADE_FILE_LOCATION


To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe


0 Plus One's     0 Comments  
   

Response from robert wild @ March 29, 2018, 8:45 a.m.

thanks

am i right in thinking all i need is this information in my xml file as its a linux workstation, so i dont need the required ones nor the mac or windows -

ADLM_COMMON_BIN_LOCATION

ADLM_COMMON_LIB_LOCATION

ADLM_COMMON_LOCALIZED_DATA_LOCATION

ADLM_ERROR_TABLE_LOCATION

ADLM_PIT_FILE_LOCATION

ADLM_CASCADE_FILE_LOCATION


0 Plus One's     0 Comments  
   

Response from Jean-Francois Panisset @ March 28, 2018, 1:45 p.m.
The AdlmThinClientCustomEnv.xml file doesn't exist by default in a local install, since its purpose is to redirect Maya to look for AdLM components in non standard locations (like a network path).

Here's a knowledgebase article on the topic:

https://knowledge.autodesk.com/search-result/caas/simplecontent/content/thin-client-keys-adlmthinclientcustomenvxml.html

it has a link to a sample XML file:

https://knowledge.autodesk.com/sites/default/files/AdlmThinClientCustomEnv.xml

JF


On Wed, Mar 28, 2018 at 3:55 AM, robert wild <content@studiosysadmins.com> wrote:

sorry about the delay reply, been very busy at work

so i have ssh'd into one of the workstations where they can run maya 2013 off the network and they havnt got a "/opt/Autodesk" folder they have just got the "/var/opt/Autodesk/Adlm" folder

[root@peas ~]# ls -lah /var/opt/Autodesk/Adlm/
ASR/ .config/ Maya2012/ Maya2013/ Maya2015/ Maya2017/ R12/ R14/ R4/ R5/
[root@peas ~]# ls -lah /var/opt/Autodesk/Adlm/Maya2013/
install.env MayaConfig.pit
[root@peas ~]# ls -lah /opt/
rh/ Thinkbox/

also i cant see the "AdlmThinClientCustomEnv.xml" file, where should this be?

many thanks,

rob


To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe


0 Plus One's     0 Comments  
   

Response from robert wild @ March 28, 2018, 6:55 a.m.

sorry about the delay reply, been very busy at work

so i have ssh'd into one of the workstations where they can run maya 2013 off the network and they havnt got a "/opt/Autodesk" folder they have just got the "/var/opt/Autodesk/Adlm" folder

[root@peas ~]# ls -lah /var/opt/Autodesk/Adlm/
ASR/      .config/  Maya2012/ Maya2013/ Maya2015/ Maya2017/ R12/      R14/      R4/       R5/
[root@peas ~]# ls -lah /var/opt/Autodesk/Adlm/Maya2013/
install.env     MayaConfig.pit
[root@peas ~]# ls -lah /opt/
rh/       Thinkbox/

also i cant see the "AdlmThinClientCustomEnv.xml" file, where should this be?

many thanks,

rob


0 Plus One's     1 Comments  
   

Response from David Oguri @ March 23, 2018, 8:28 p.m.

The MayaConfig.pit file can be generated by installing the rpms from the installer.

2016 Example:

Install  adlmapps11-11.0.15-0.x86_64.rpm  and  adlmflexnetclient-11.0.15-0.x86_64.rpm

From terminal:

    export LD_LIBRARY_PATH=/opt/Autodesk/Adlm/R11/lib64/

    /usr/autodesk/maya/bin/adlmreg -i N 657H1 657H1 2016.0.0.F ###-######## /var/opt/Autodesk/Adlm/Maya2016/MayaConfig.pit

Then check that /usr/autodesk/maya/bin/License.env has:

    MAYA_LICENSE=unlimited

    MAYA_LICENSE_METHOD=network

 

For Maya 2013:

The LD_LIBRARY_PATH will be different, just check that path.

The adlmreg setup will be something like

/usr/autodesk/maya/bin/adlmreg -i N 657E1 657E1 2013.0.0.F ###-######## /var/opt/Autodesk/Adlm/Maya2016/MayaConfig.pit

 

-David


0 Plus One's     0 Comments  
   

Response from Jean-Francois Panisset @ March 23, 2018, 8:20 p.m.
What I meant by 'donor system' is the machine where you originally install Maya and harvest the installed bits to move to a network share. Once that's done you don't need anything installed locally to run Maya, but what I was trying to say is that it's not enough to have the Maya stuff on the network, you also need the ADLM stuff, and a AdlmThinClientCustomEnv.xml to point to the network locations where the AdLM stuff lives.

JF


On Fri, Mar 23, 2018 at 4:57 PM, robert wild <content@studiosysadmins.com> wrote:

oh! so even tho the actual maya program is installed or its located on the network NAS i still need to do a local install on the actual workstation?

nuke and moca dont work like this as all i have to do is write the license files on the actual workstation (correct paths) and i can run the programs over the network no problem

when you say donor system, do you mean the license server or one of the workstations that has maya installed on it?


To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe


0 Plus One's     0 Comments  
   

Response from robert wild @ March 23, 2018, 7:57 p.m.

oh! so even tho the actual maya program is installed or its located on the network NAS i still need to do a local install on the actual workstation?

nuke and moca dont work like this as all i have to do is write the license files on the actual workstation (correct paths) and i can run the programs over the network no problem

when you say donor system, do you mean the license server or one of the workstations that has maya installed on it?


0 Plus One's     0 Comments  
   

Response from Jean-Francois Panisset @ March 23, 2018, 5 p.m.
If this isn't a local install then I think you have to deal with the AdLM stuff.

So first do a standard local install, you will then need to harvest from the donor system:

/opt/Autodesk/Adlm
/var/opt/Autodesk/Adlm

and put those somewhere on your network, make sure not to miss /var/opt/Autodesk/Adlm/.config as it contains magic. You will then need to create a file called:

AdlmThinClientCustomEnv.xml

(there are sample files on the Autodesk site you can download), look at the <PLATFORM OS="Linux"> section, and change the paths to point to where you put the AdLM stuff on your network. The really crucial bit is the magical ProductInformation.pit file, which is the obfuscated database that contains the registration codes. That file gets created / updated when you do the local install and specify your serial number, if you are installing multiple products (well these days mostly just Maya and Mudbox) you want to install both so you can harvest a "complete" ProductInformation.pit

Once all that stuff is on the network, you will want to point to the AdlmThinClientCustomEnv.xml config file with the environment variable:

AUTODESK_ADLM_THINCLIENT_ENV=/path/to/AdlmThinClientCustomEnv.xml

Combined with:

ADSKFLEX_LICENSE_FILE=@your_adlm_license_server

that should actually do the trick, after lots of experimentation and swearing.

JF


On Fri, Mar 23, 2018 at 5:22 AM, robert wild <content@studiosysadmins.com> wrote:

this is what i have done to make it clear

--------------------------------------------------------------------------------

cense problem in GUI mode launch dialog message
QGtkStyle was unable to detect the current GTK+ theme.
maya: License was not obtained
Tried Maya 2013 (657E1 2013.0.0.F), error 41

License method:
environment variable MAYA_LICENSE_METHOD='network'

Product choice:
environment variable MAYA_LICENSE='unlimited'

License file override:
environment variable MAYA_ALT_EN is not set

-------------------------------------------------------------------------

here are my files i have created on my centos workstation to try to get it to talk to my license server -

cat /var/flexlm/maya.lic

SERVER potato 0
USE_SERVER

cat /usr/autodesk/maya/bin/License.env
MAYA_LICENSE_METHOD=network

and in everyones $HOME directory i have created a file ".flexlmrc" and in there is -

ADSKFLEX_LICENSE_FILE=@potato

can anyone please help as this is tough stuff

many thanks,

rob


To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe


0 Plus One's     0 Comments  
   

Response from robert wild @ March 23, 2018, 8:22 a.m.

this is what i have done to make it clear

--------------------------------------------------------------------------------

cense problem in GUI mode launch dialog message
QGtkStyle was unable to detect the current GTK+ theme.
maya: License was not obtained
Tried Maya 2013 (657E1 2013.0.0.F), error 41

License method:
environment variable MAYA_LICENSE_METHOD='network'

Product choice:
environment variable MAYA_LICENSE='unlimited'

License file override:
environment variable MAYA_ALT_EN is not set

-------------------------------------------------------------------------

here are my files i have created on my centos workstation to try to get it to talk to my license server -

cat /var/flexlm/maya.lic

SERVER potato 0
USE_SERVER

cat /usr/autodesk/maya/bin/License.env

MAYA_LICENSE_METHOD=network

and in everyones $HOME directory i have created a file ".flexlmrc" and in there is -

ADSKFLEX_LICENSE_FILE=@potato

can anyone please help as this is tough stuff

many thanks,

rob


0 Plus One's     0 Comments  
   

Response from Arturo Camacho @ March 23, 2018, 1:13 a.m.

If it's windows, and also depending on the version you should also check lic file in Program Files\Autodesk\Maya <version>, that and that license.env in bin says network. 

In theory with the ENV variable already mentioned it should work. If you had an older version of maya or a standalone, further registry editing might be needed, again all of this if it's Windows.


0 Plus One's     0 Comments  
   

Response from robert wild @ March 22, 2018, 9:48 a.m.

whats the default port the client uses to connect to the server, is it 27000, if not how do i specify this, is it

ADSKFLEX_LICENSE_FILE=27000@IP;27000@IP

thanks,

rob


0 Plus One's     0 Comments  
   

Response from robert wild @ March 21, 2018, 8:30 p.m.

this isnt a local install ie the maya software is not on the workstation its located on a central NAS

so when i try to run the software on the local workstation it runs but asks for the license


0 Plus One's     0 Comments  
   

Response from Jean-Francois Panisset @ March 21, 2018, 7:40 p.m.
Our environment is primarily Windows, so we've had to deal with the Adlm / AUTODESK_ADLM_THINCLIENT_ENV nonsense, and when I added Linux support, I thought I had to replicate that to get Maya 2018 to work under Linux as well. But that could have been in the context of running Maya from a non standard network location without any local install. For a local install I think it should be sufficient to set the environment variable:

ADSKFLEX_LICENSE_FILE=@your_adlm_server

JF


On Wed, Mar 21, 2018 at 4:23 PM, robert wild <content@studiosysadmins.com> wrote:

i have asked on the maya forum and they have suggested one thing to try so i will do this tomorrow and let you guys know

https://knowledge.autodesk.com/support/maya/learn-explore/caas/sfdcarticles/sfdcarticles/How-to-point-Maya-2018-network-installation-to-a-new-Linux-server.html


To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe


0 Plus One's     0 Comments  
   

Response from robert wild @ March 21, 2018, 7:23 p.m.

i have asked on the maya forum and they have suggested one thing to try so i will do this tomorrow and let you guys know

https://knowledge.autodesk.com/support/maya/learn-explore/caas/sfdcarticles/sfdcarticles/How-to-point-Maya-2018-network-installation-to-a-new-Linux-server.html


0 Plus One's     0 Comments  
   

Response from William Sandler @ March 21, 2018, 12:45 p.m.
Permissions okay on that license file?
Also, have you confirmed the license server is working for other clients?

William Sandler
All Things Media, LLC
william.sandler@allthingsmedia.com
On Wed, Mar 21, 2018 at 8:27 AM, robert wild <content@studiosysadmins.com> wrote:

changing from DNS name to ip didnt work


To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe


0 Plus One's     0 Comments  
   

Response from robert wild @ March 21, 2018, 8:27 a.m.

changing from DNS name to ip didnt work


0 Plus One's     0 Comments  
   

Response from Andrew Ho @ March 21, 2018, 8 a.m.
Replace SERVER potato 0 with SERVER potato potatos IP address 
Check the maya manual.

Pressure creates diamond.
On Mar 21, 2018, at 4:40 AM, robert wild <content@studiosysadmins.com> wrote:

mmm... cant get it to work,

here are my files i have created -

cat /var/flexlm/maya.lic
SERVER potato 0
USE_SERVER

cat /usr/autodesk/maya2017/bin/License.env
MAYA_LICENSE_METHOD=network

and i get this error when trying to run maya 2017 -

maya: autodesk maya 2017licensing errorA licensing error occured that autodesk systems were not able to handle for you

To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe

0 Plus One's     0 Comments  
   

Response from robert wild @ March 21, 2018, 4:40 a.m.

mmm... cant get it to work,

here are my files i have created -

cat /var/flexlm/maya.lic
SERVER potato 0
USE_SERVER

cat /usr/autodesk/maya2017/bin/License.env
MAYA_LICENSE_METHOD=network

and i get this error when trying to run maya 2017 -

maya: autodesk maya 2017licensing errorA licensing error occured that autodesk systems were not able to handle for you


0 Plus One's     0 Comments  
   

Response from William Sandler @ March 20, 2018, 6 p.m.

If you're using a network license, you must also do the following:

  • Create a file calledmaya.licin the /var/flexlm directory with the following two lines:
     SERVER <licenseserver> 0 
     USE_SERVER 

    where<licenseserver>is the host name or IP address of your license server.



http://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=GUID-E7E054E1-0E32-4B3C-88F9-BF820EB45BE5

William Sandler
All Things Media, LLC
william.sandler@allthingsmedia.com
On Tue, Mar 20, 2018 at 5:53 PM, robert wild <content@studiosysadmins.com> wrote:

its a linux machine, centos 7


To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe


0 Plus One's     0 Comments  
   

Response from robert wild @ March 20, 2018, 5:53 p.m.

its a linux machine, centos 7


0 Plus One's     0 Comments  
   

Response from Mike Rochefort @ March 20, 2018, 5:30 p.m.
Hi Rob,

What OS is the workstation running? On Linux we just use an environment variable as follows (for local work just in .bash_profile, but could be defined globally in /etc/profile.d/):

export ADSKFLEX_LICENSE_FILE=@license_server

If you're on a Mac (I've never seen /etc/opt on Linux), I don't know what the best place is for global usage, but for standard users would be ~/.flexlmrc. Same variable.

Cheers,
Mike


---- On Tue, 20 Mar 2018 17:19:19 -0400 robert wild <content@studiosysadmins.com> wrote ----


hi all,

im trying to work out where to put the network license file for maya so this workstation can talk to our network license server and can run maya

i know where to put the license files for the below and since then nuke and mocha work like a charm but im struggling to figure out how to do the maya one

nuke its located here - /usr/local/foundry/RLM/client_license.lic

mocha its located here - /etc/opt/isl/licences/client_license.lic

also what should the contents of the file be inside ie "SERVER ip_address MAC_address USE_SERVER "

many thanks,

rob


To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe



0 Plus One's     1 Comments