Why do I receive errors when I try to start either MATLAB or the network license manager on my Mac OS 10.2 laptop after applying the Jaguar patch?

31 views (last 30 days)
I receive one of the following errors when trying to start the network license manager after adding "this_host" to my license file:
Checking license file for local hostname and local hostid...
Taking down any existing license manager daemons...
No license manager daemons running...
Starting license manager...
Debug logfile = /var/tmp/lm_TMW.log
Waiting 300 secs for MATLAB vendor daemon to come up...
Type your interrupt character (usually CTRL-C) to quit.
Time = 3 secs : still waiting...
Time = 30 secs : still waiting...
------
Thu Oct 10 09:48:06 EDT 2002LM_LOGFILE (last 2 lines)
146 9:47:39 (lmgrd)
147 9:47:39 (lmgrd) Unknown host: akebono.local.
------
Time = 60 secs : still waiting...
------
I receive the following error when trying to start MATLAB: ERROR: FATAL MATLAB Error: License Manager Error -95. Network connect to THIS_HOST failed The license file indicates THIS_HOST, and the server is not running on this host. If it's running on a different host, THIS_HOST should be changed to the correct host. Feature: MATLAB License path: /Applications/MATLAB6p5/etc/license.dat:/Applications - /MATLAB6p5/etc/*.lic FLEXlm error: -95,378 For further information, refer to the FLEXlm End User Manual, available at www.globetrotter.com.
I find the following in the License Manager Log file:
13:29:35 (lmgrd) Shutting down MLM
13:29:36 (lmgrd) Can't connect to license server. Shutdown MLM failed.
13:29:36 (lmgrd) Cannot find SERVER hostname in network database (-14,7)
13:29:36 (MLM) daemon shutdown requested - shutting down
~~~~~~~~~
9:35:08 (lmgrd) "akebono.local.": Not a valid server hostname, exiting.
9:35:08 (lmgrd) Valid server hosts are: "akebono.ssc.uwo.ca"

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 28 Feb 2019
Edited: MathWorks Support Team on 28 Feb 2019
This bug has been fixed for Release 14 (R14). For previous releases, read below for any possible workarounds:
This is a known problem concerning the Network License Manager and dynamic hostnames on Mac OS 10.2. If you are running Mac OS 10.1, then see the Related Solution listed below.
NOTE:
The following workaround has not been fully tested by the MathWorks, Inc, and therefore we do not know if there are any problems implementing it.
To get the license manager to start successfully on OS X 10.2.x systems with dynamic hostnames, you can download a script that will alias localhost to the Rendezvous hostname using the NetInfo Manager. The Rendezvous hostname is the hostname that is given to the computer when it is off the network:
1. Download the addalias.tar file linked below to your desktop.
When you download this file, the Stuffit Expander application on your Mac will automatically unpack it and create the addalias.command icon on your desktop.
2. Reboot your computer while disconnected from the network.
3. Run the Terminal application (/Applications/Utilities/), and enter the following:
hostname
The output of the hostname command is your Rendezvous hostname. You will need it later in the process, so record it.
4. Double-click the addalias.command icon on your desktop.
5. A Terminal window will open and ask you to enter your Rendezvous hostname, username, and password. (Since you have rebooted off the network, your Rendezvous hostname will be given by default.)
6. Open your license.dat file in /Applications/MATLAB6p5p1/etc using the TextEdit application and edit the SERVER line to read
SERVER your_rendezvuos_name ID=<license_number> 27000
Where
your_rendezvuos_name is the Rendezvous hostname from step 3.
7. Save the license.dat file as plain text and exit TextEdit.
You should now be able to start the license manager on or off the network. If you still receive errors, contact MathWorks Technical Support with the following information, and reference this Solution's number (1-1A53M):
1. Your license.dat and MLM.opt files, which are located in the $MATLAB/etc folder, where $MATLAB is the folder in which MATLAB is installed (Applications/MATLAB6p5 by default).
2. The "lmdebug.out" file. To get this file, you must run the lmdebug script by executing the following command from your $MATLAB/etc directory:
./lmdebug

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!