Hi there
I want to run vrayslave on an ubuntu server 16.04, preferentially as a service (I installed vray_adv_36003_maya2017_linux_x64).
If I start the vrayslave manually (sudo /usr/ChaosGroup/V-Ray/Maya2017-x64/bin/vrayslave) everything works (i.e., I can render on the machine and I see what's happening).
However, if I run the vrayslave as a service (sudo service vraymayaslave2017 start), it doesn't. That's how the log looks after I try to render on the machine if the slave is running as a service (cat /tmp/vraymayaslave2017/stdout.txt):
[2017/Dec/13|16:45:08] Reading configuration from "/usr/ChaosGroup/V-Ray/Maya2017-x64/bin//vrayconfig.xml"
[2017/Dec/13|16:45:08] ===============================================
[2017/Dec/13|16:45:08] V-Ray Standalone, version 3.60.04 for x64
[2017/Dec/13|16:45:08] Copyright (C) 2000-2017 Chaos Group Ltd. All rights reserved.
[2017/Dec/13|16:45:08] Use -credits option for additional third-party copyright notices.
[2017/Dec/13|16:45:08]
[2017/Dec/13|16:45:08] Build dd112739 from Dec 2 2017, 16:49:17
[2017/Dec/13|16:45:08] Compiled with GCC-compatible compiler, version 4.4
[2017/Dec/13|16:45:08] Operating system is Linux
[2017/Dec/13|16:45:08]
[2017/Dec/13|16:45:08] V-Ray core version is 3.60.04
[2017/Dec/13|16:45:08] ===============================================
[2017/Dec/13|16:45:08]
[2017/Dec/13|16:45:21] Loading plugins from "/usr/ChaosGroup/V-Ray/Maya2017-x64/vrayplugins/libvray_*.so"
[2017/Dec/13|16:45:21] 76 plugin(s) loaded successfully
[2017/Dec/13|16:45:21] Finished loading plugins.
[2017/Dec/13|16:45:21] Using folder "/tmp/vray_assets_cache" for caching assets for DR.
[2017/Dec/13|16:45:21] Using file "/tmp/vray_assets_cache/cache_info_20207.txt" for storing assets cache information.
[2017/Dec/13|16:45:21] Entering server mode - waiting for render requests on port 20207. Press Ctrl+C to exit.
[2017/Dec/13|16:59:58]
[2017/Dec/13|16:59:58] Starting DR session from 192.168.158.132
[2017/Dec/13|16:59:58] Receiving DR scene from 192.168.158.132
[2017/Dec/13|16:59:58] Reading scene file "/tmp/vrscene_20207_2085.txt"
[2017/Dec/13|16:59:58] /tmp/vrscene_20207_2085.txt: done [ 0h 0m 0.0s]
[2017/Dec/13|16:59:58] Scene file parsed successfully in 0.0 s.
[2017/Dec/13|16:59:58] Scene created successfully.
[2017/Dec/13|16:59:58] Objects in scene: 52
[2017/Dec/13|16:59:58] Starting render sequence.
[2017/Dec/13|16:59:58] Preparing renderer...
[2017/Dec/13|16:59:58] error: Could not obtain a license (0): Unknown error: Please contact ChaosGroup support.
[2017/Dec/13|16:59:58] Closing DR session from 192.168.158.132
So it couln't obtain a license. What's awkward is that it does obtain it if I start the slave manually. Does anyone have an idea how to fix this? What's the difference between running it as a service or manually?
I want to run vrayslave on an ubuntu server 16.04, preferentially as a service (I installed vray_adv_36003_maya2017_linux_x64).
If I start the vrayslave manually (sudo /usr/ChaosGroup/V-Ray/Maya2017-x64/bin/vrayslave) everything works (i.e., I can render on the machine and I see what's happening).
However, if I run the vrayslave as a service (sudo service vraymayaslave2017 start), it doesn't. That's how the log looks after I try to render on the machine if the slave is running as a service (cat /tmp/vraymayaslave2017/stdout.txt):
[2017/Dec/13|16:45:08] Reading configuration from "/usr/ChaosGroup/V-Ray/Maya2017-x64/bin//vrayconfig.xml"
[2017/Dec/13|16:45:08] ===============================================
[2017/Dec/13|16:45:08] V-Ray Standalone, version 3.60.04 for x64
[2017/Dec/13|16:45:08] Copyright (C) 2000-2017 Chaos Group Ltd. All rights reserved.
[2017/Dec/13|16:45:08] Use -credits option for additional third-party copyright notices.
[2017/Dec/13|16:45:08]
[2017/Dec/13|16:45:08] Build dd112739 from Dec 2 2017, 16:49:17
[2017/Dec/13|16:45:08] Compiled with GCC-compatible compiler, version 4.4
[2017/Dec/13|16:45:08] Operating system is Linux
[2017/Dec/13|16:45:08]
[2017/Dec/13|16:45:08] V-Ray core version is 3.60.04
[2017/Dec/13|16:45:08] ===============================================
[2017/Dec/13|16:45:08]
[2017/Dec/13|16:45:21] Loading plugins from "/usr/ChaosGroup/V-Ray/Maya2017-x64/vrayplugins/libvray_*.so"
[2017/Dec/13|16:45:21] 76 plugin(s) loaded successfully
[2017/Dec/13|16:45:21] Finished loading plugins.
[2017/Dec/13|16:45:21] Using folder "/tmp/vray_assets_cache" for caching assets for DR.
[2017/Dec/13|16:45:21] Using file "/tmp/vray_assets_cache/cache_info_20207.txt" for storing assets cache information.
[2017/Dec/13|16:45:21] Entering server mode - waiting for render requests on port 20207. Press Ctrl+C to exit.
[2017/Dec/13|16:59:58]
[2017/Dec/13|16:59:58] Starting DR session from 192.168.158.132
[2017/Dec/13|16:59:58] Receiving DR scene from 192.168.158.132
[2017/Dec/13|16:59:58] Reading scene file "/tmp/vrscene_20207_2085.txt"
[2017/Dec/13|16:59:58] /tmp/vrscene_20207_2085.txt: done [ 0h 0m 0.0s]
[2017/Dec/13|16:59:58] Scene file parsed successfully in 0.0 s.
[2017/Dec/13|16:59:58] Scene created successfully.
[2017/Dec/13|16:59:58] Objects in scene: 52
[2017/Dec/13|16:59:58] Starting render sequence.
[2017/Dec/13|16:59:58] Preparing renderer...
[2017/Dec/13|16:59:58] error: Could not obtain a license (0): Unknown error: Please contact ChaosGroup support.
[2017/Dec/13|16:59:58] Closing DR session from 192.168.158.132
So it couln't obtain a license. What's awkward is that it does obtain it if I start the slave manually. Does anyone have an idea how to fix this? What's the difference between running it as a service or manually?
Comment