Flexlm error Failed to open any default TCP port"

A client detected a problem when trying to start the lmgrd license manager on a newly installed Linux system.

(lmgrd) Failed to open any default TCP port

Solution

The /etc/hosts file was missing the localhost entry. For example, here is how it should look like...

[hagai@asmsc37 cad]$ cat /etc/hosts
# This is a comment
127.0.0.1 localhost
195.166.0.122    blade1500       solaris