Symptoms:
- I get errors while attempting to run the Licensing Server as a service on Linux.
- When attempting to create the service using the command
'sudo ./Unity.Licensing.Server create-service'
in the'/opt/UnityLicensingServer'
directory, an unhandled exception occurs with the error message'System.IO.DirectoryNotFoundException: Could not find a part of the path '/root/.config/unity3d/Unity/Unity.Licensing.CreateService.log'.
- I receive the error message
Access to the path '/proc/1/task/1/fdinfo' is denied.
- I have switched to version v1.11.0, but I'm still having errors.
Cause:
The root cause of this issue is the lack of write permissions for the service in the /proc directory, preventing it from accessing the necessary files.
Resolution:
Usually, manually starting the licensing server with the same user works without any problems. However, to completely resolve the issues with creating the Licensing Server service on Linux, you need to follow these steps:
Please note: Be sure to adapt the paths and filenames mentioned below to match the actual installation and configuration of the Licensing Server on your system. |
- Open the terminal and navigate to the directory containing the licensing server service file.
- Modify the Service File:
- Open the service file located at
'/etc/systemd/system/unity.licensing.server.service'
- Add the following entry under the
[Service]
section:'WorkingDirectory=</opt/UnityLicensingServer>'
- Save the changes to the service file.
- Open the service file located at
- Run the command
'systemctl daemon-reload'
to reload the systemd configuration. - Restart the Licensing Server service using the appropriate command. For example:
'systemctl start unity.licensing.server.service'
- Check the status of the Licensing Server service using the command:
'systemctl status unity.licensing.server.service'
More Information:
The issue with creating the Licensing Server service on Linux is primarily related to permission settings and the service file configuration. By modifying the service file, you can successfully create and run the Licensing Server service on your Linux system.
Comments
0 comments
Article is closed for comments.