I have made some progress on this. In previous versions of MATLAB, I've run the MLM daemon on a specific port by appending "port=<tcp_port>" to the license.dat line that starts with DAEMON MLM. Obviously, this is done to get traffic through a firewall which blocks all traffic to our server infrastructure by default (exceptions are configured). If I remove the "port=<tcp_port>" addition, the license service starts.
License server fails to start after upgrade
2 views (last 30 days)
Show older comments
I have been running a license server for MATLAB for many years - never had a problem before 2018b.
After installation of MATLAB 2018b, I shutdown the old license server and tried starting the new one - FAIL (confirmed with an echo $?).
Here is the core content of the service start/stop script:
MATLAB=/sw/matlab-2018b
case "$1" in
start)
if [ -f $MATLAB/etc/lmboot ]; then
$MATLAB/etc/lmboot -u sci-wam && echo 'MATLAB_lmgrd'
# /etc/lmboot_TMW -u sci-wam && echo 'MATLAB_lmgrd'
fi
;;
stop)
if [ -f $MATLAB/etc/lmdown ]; then
$MATLAB/etc/lmdown > /dev/null 2>&1
# /etc/lmdown_TMW > /dev/null 2>&1
fi
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
If I set "MATLAB=/sw/matlab-2018a", the license server starts. The "-v" options talks about an "lmdebug.out" file, but none exists on the system. How do I go about diagnosing reason for failed service startup?
2 Comments
Answers (0)
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!