In some instances, when you start a license server for Maya, you may get the following error:
EXITING DUE TO ERROR TO SIGNAL 37 Exit reason 5
adskflex exited with status 37 (Communications error)
Please correct problem and restart daemons.
To resolve this issue, you may need to edit your /etc/hosts file so that it will contain the IP address and the hostname of the license server.
1. Type hostname in Terminal.
2. Get IP address of the license server in Network System Preference.
3. In the Terminal and type the following commands:
Drag hosts file to the Desktop.
Open the hosts on the Desktop with TextEdit.
Edit following entries noted in Step 1 & 2.
4. Move hosts back into /etc.
I have included a video of the workflow for further reference:
To start the license server on the Mac is noted in the forum post below: