This error may occur due to the following reasons:
- Corrupt license file, or license server hostid not same as license file. https://www.mathworks.com/matlabcentral/answers/100496-why-do-i-receive-license-manager-error-8
- FlexNet bug for redundant servers. https://www.mathworks.com/matlabcentral/answers/103212-with-flexnet-10-8-why-am-i-getting-a-license-manager-error-8-when-running-redundant-servers
- Bug that affected locale Turkey. https://www.mathworks.com/matlabcentral/answers/357580-why-do-i-see-license-manager-error-8-when-launching-matlab-on-linux-when-my-locale-is-set-to-turkey
You can refer to the MATLAB answer links above for each potential reason to try and fix the issue.
Hope this helps.
