Announcement

Collapse
No announcement yet.

Where does the setvrlservice -dump command on MacOS refer to vrlclient.xml?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Where does the setvrlservice -dump command on MacOS refer to vrlclient.xml?

    Where does the setvrlservice -dump command on MacOS refer to vrlclient.xml?

    After setting it with
    sudo /Applications/Autodesk/maya2018/vray/bin/setvrlservice -server=[serverIP]
    I checked with
    /Applications/Autodesk/maya2018/vray/bin/setvrlservice -dump
    to see that localhost is set.

    If I check /Users/[UserName]/.ChaosGroup/vrlclient.xml, it is set to IP instead of localhost. However, the -dump command shows the localhost.

    This allows the license to be available in Maya UI, but MayaBatch and vray standalone (terminal) will show a license error could not obtain a license (61).
    Attached Files
    Last edited by flat; 03-04-2020, 04:49 AM.

    OakCorp Japan - Yuji Yamauchi
    oakcorp.net
    v-ray.jp

  • #2
    The license settings are saved per user in /Users/$USER/.ChaosGroup/vrlclient.xml
    You can change that by setting VRAY_AUTH_CLIENT_FILE_PATH="full path to the file" variable and placing the file on a network location that all users can access or locally on each MAC or in a shared folder.
    Last edited by stefan.isakov; 03-04-2020, 07:34 AM.
    Stefan Isakov

    Technical Support Representative
    support@chaosgroup.com

    Contact Support

    Chaos Group

    Comment


    • #3
      On Mac OS, where do I set the environment variables that affect both Maya UI and V-RatStandalone and all users?

      Set the bash environment variable in each user local?

      OakCorp Japan - Yuji Yamauchi
      oakcorp.net
      v-ray.jp

      Comment


      • #4
        You can use a .plist file - see https://docs.chaosgroup.com/display/...eranetwork-Mac
        Ivan Slavchev

        SysOps

        Chaos Group

        Comment


        • #5
          The below-mentioned instructions are how to add the env variable for the currently logged in user, but the same commands can be applied
          to all users.

          The environment variables can be added to the .bash_profile directory, for the current user.
          The path to this file can be found using the command in Terminal:

          MacBook-Pro:~ testuser$ ~/.bash_profile

          Get started by opening this file using a text editor. Iā€™m using vi or nano ā€” terminal-based text editors, you may use any text editor you like ā€” to open the file and edit it.

          MacBook-Pro:~ testuser$ vi ~/.bash_profile

          This will open the .bash_profile file in the terminal.
          Note: If there is no file named .bash_profile, then this above vi command will create a new file named .bash_profile .

          Now move to the end of the file, go to the next line. Now add the environment variable using the export command as below:

          export VRAY_AUTH_CLIENT_FILE_PATH="full path to the file"

          for example:
          export VRAY_AUTH_CLIENT_FILE_PATH=/Applications/ChaosGroup

          Note: "full path to the file" is the full path to the directory where the vrlclient.xml file resides, not the full path and file itself.

          Press : (collon) The cursor should reappear at the lower left corner of the screen beside a colon prompt.
          Enter the following: wq!
          This will quit the editor, and all changes you have made to the document will be saved.
          Stefan Isakov

          Technical Support Representative
          support@chaosgroup.com

          Contact Support

          Chaos Group

          Comment


          • #6
            thank you very much.

            OakCorp Japan - Yuji Yamauchi
            oakcorp.net
            v-ray.jp

            Comment

            Working...
            X