我也有类似情况,按照amodaman的方法,license文件,$HOSTNAME,/etc/hosts中均设置为同一个hostname,启动license时,“unknow hostname”这个问题是消失了,但是出现了”(lmgrd) Failed to open the TCP port number in the license.“这个错误。
PS,我将license文件,$HOSTNAME,/etc/hosts中均设置hostname为localhost,license是可以正常启动的
接上面的回复,刚刚找到一个方法解决这个问题,下面是我的配置
1,license文件的SERVER行中,hostname设置为localhost
2,本机的hostname,设置为minehost(随意)
3,/etc/hosts中,在原本”127.0.0.1 localhost“之外,再添加一行“127.0.0.1 minehost”
这样,就没有“(lmgrd) Unknown host:”这个错误了,而且也没有再出现”(lmgrd) Failed to open the TCP port number in the license.“这个错误。