Why does the license manager fail to start at boot-time on my Suse Linux 10 or higher machine?

2 views (last 30 days)
After following the exact steps outlined in the documentation for having the license manager service automatically start at system boot, I am unable to launch MATLAB. All symbolic links have been verified and are correct. The following error messsage can be seen in the license manager logfile:
Vendor daemon can't talk to lmgrd (Cannot connect to license server (-15,570:101 "Network is unreachable"))

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
Starting with version 10, SUSE Linux systems may use a parallel boot sequence by default and as a result, the FLEXnet license manager process may be started just before the network configuration is finished. Since network changes prevent the FLEXnet process from starting properly, the license manager may not start at boot time.
To resolve this issue, the FLEXnet process must be started after the network configuration. For SUSE there is a .depend.start file in /etc/init.d which can be used to specify the starting order of a boot script. To ensure that the license manager is started after networking, append the following to the end of /etc/init.d/.depend.start:
flexnet: network
When the system is rebooted, flexnet will wait until networking is started.
To update the .depend.start file automatically, download the fixflexforsuse.sh listed below. To run the script, open a terminal window and log in as root. Navigate to the directory you downloaded the script and enter the following command:
./fixflexforsuse
To ensure that the depency is persistant through all future software updates you can append the following text to the beginning of the flexnet script in /etc/init.d:
### BEGIN INIT INFO
# Provides: flexnet
# Required-Start: $network $syslog
# Required-Stop:
# Default-Start: 5
# Default-Stop: 0 6
# Description: Start MATLAB license manager.
### END INIT INFO
Otherwise you may have to edit the /etc/init.d/.depend.start each time new software is installed.
Once the flexnet script has been edited, run the insserv command on the script by using the command:
insserv /etc/init.d/flexnet
See the man pages for more information about insserv functions and .depend.start.

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!