Can't restart license server

3 views (last 30 days)
Ben Shepherd
Ben Shepherd on 18 Dec 2014
My license server wasn't logging correctly (to /var/tmp/lm_TMW.log), so I foolishly decided to restart it. However, when I restarted it (using /usr/local/MATLAB/R2014a/etc/lmstart), it said "The license manager has not started properly". Looking in the log file, I find the following:
12:03:41 (lmgrd) FlexNet Licensing (v11.11.1.2 build 133211 x64_lsb) started on apsv2.dl.ac.uk (linux) (12/18/2014)
12:03:41 (lmgrd) Copyright (c) 1988-2013 Flexera Software LLC. All Rights Reserved.
12:03:41 (lmgrd) World Wide Web: http://www.flexerasoftware.com
12:03:41 (lmgrd) License file(s): /var/tmp/lm_TMW.dat
12:03:41 (lmgrd) lmgrd tcp-port 27000
12:03:41 (lmgrd) Starting vendor daemons ...
12:03:41 (lmgrd) Using vendor daemon port 1049 specified in license file
12:03:41 (lmgrd) Started MLM (internet tcp_port 1049 pid 28604)
12:03:41 (MLM) FlexNet Licensing version v11.11.1.2 build 133211 x64_lsb
12:03:42 (MLM) Server started on apsv2.dl.ac.uk for: MATLAB
12:03:42 (MLM) Instr_Control_Toolbox
12:03:42 (MLM) Wrong hostid on SERVER line for license file:
12:03:42 (MLM) /var/tmp/lm_TMW.dat
12:03:42 (MLM) SERVER line says INTERNET=148.79.163.101, hostid is INTERNET=::1
12:03:42 (MLM) Invalid hostid on SERVER line
12:03:42 (MLM) Disabling 2 licenses from feature Instr_Control_Toolbox(FE449FE3251E80ABAEE8)
12:03:42 (MLM) Disabling 3 licenses from feature MATLAB(3E947FC3A1911EF23938)
12:03:42 (MLM) EXTERNAL FILTERS are OFF
12:03:42 (lmgrd) MLM using TCP-port 1049
12:03:42 (MLM) License verification completed successfully.
12:03:42 (MLM) No valid hostids, exiting
12:03:42 (MLM) EXITING DUE TO SIGNAL 34 Exit reason 2
12:03:42 (lmgrd) MLM exited with status 34 (Invalid host)
12:03:42 (lmgrd) Please correct problem and restart daemons
Obviously MLM isn't getting the right IP address. Where is it picking it up from, and how can I correct it?
Thanks
Ben

Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!