It seems to fret because there is no directory /usr/tmp. Bad practise not to check for parent directory's existence. Try creating the directory before running the script:
sudo mkdir /usr/tmp
sudo chmod 1777 /usr/tmp
tc@box:~$ lmgrd -c license.dat
19:55:07 (lmgrd) -----------------------------------------------
19:55:07 (lmgrd) Please Note:
19:55:07 (lmgrd)
19:55:07 (lmgrd) This log is intended for debug purposes only.
19:55:07 (lmgrd) In order to capture accurate license
19:55:07 (lmgrd) usage data into an organized repository,
19:55:07 (lmgrd) please enable report logging. Use Macrovision's
19:55:07 (lmgrd) software license administration solution,
19:55:07 (lmgrd) FLEXnet Manager, to readily gain visibility
19:55:07 (lmgrd) into license usage data and to create
19:55:07 (lmgrd) insightful reports on critical information like
19:55:07 (lmgrd) license availability and usage. FLEXnet Manager
19:55:07 (lmgrd) can be fully automated to run these reports on
19:55:07 (lmgrd) schedule and can be used to track license
19:55:07 (lmgrd) servers and usage across a heterogeneous
19:55:07 (lmgrd) network of servers including Windows NT, Linux
19:55:07 (lmgrd) and UNIX. Contact Macrovision at
19:55:07 (lmgrd) newbielink:http://www.macrovision.com
[nonactive] for more details on how to
19:55:07 (lmgrd) obtain an evaluation copy of FLEXnet Manager
19:55:07 (lmgrd) for your enterprise.
19:55:07 (lmgrd)
19:55:07 (lmgrd) -----------------------------------------------
19:55:07 (lmgrd)
19:55:07 (lmgrd)
19:55:07 (lmgrd) Failed to open the TCP port number in the license.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^this error !!!