PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Jan 2017 03:49 AM by  Martin Smith
Automatic startup of license server
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Martin Smith



New Member


Posts:
New Member


--
23 Jan 2017 03:49 AM
    I have IDL 8.5 running under Mac OS 10.11.6. I have installed the licence server using the script on the install disc (/Volumes/IDL85ENVI53/licenseserver/install.sh). However, the licence server does not start up on reboot and I have to manually start it each time. From p13 of the AdvancedTopicsInLicensing.pdf document it seems like I need a plist file in LaunchDaemons, but this has not been set-up by the installer. Does anybody know where I can download the correct installer or, if I just need the correct plist file, where that can be obtained?

    David Blackston



    New Member


    Posts:
    New Member


    --
    15 Feb 2017 12:00 PM
    Hello Martin,  Below I have provided an excerpt from a help article I located and linked here. The article references older versions but believe the information is still relevant. Hope this helps! Manually stopping and starting the Exelis license manager service: The on-demand service configuration of the Exelis license manager service requires the use of the "launchctl" command to manually install/start , and uninstall/stop the service. To manually unconfigure/stop the Exelis license manager service, issue the command: sudo /bin/launchctl unload -w /Library/LaunchDaemons/com.exelis.lmgrd.plist To manually reconfigure/start the Exelis license manager service, issue the command: sudo /bin/launchctl load -w /Library/LaunchDaemons/com.exelis.lmgrd.plist To manually restart a new instance of the Exelis license manager service without reconfiguring the service, use the lmdown command, for example: cd /Applications/exelis/idl85/bin . ./idl_setup.bash sudo ./lmdown -force -c /Applications/exelis/license/license.dat This will force the Exelis license manager to stop and then the system's on-demand service daemon will automatically start a new instance of the Exelis license manager. -David

    Martin Smith



    New Member


    Posts:
    New Member


    --
    17 Feb 2017 12:41 AM
    Hi David - actually, I just found the problem. There is a bug in line 37 of the version of "lmgrd_install" I was given.     34      case $VERS in     35       36        # If we're running OS X 10.4 or earlier, then use the old StartupItems style launching mechanism.     37        10.[0-4]*) Since Mac OS is now on 10.10 and beyond, this clause will fail to operate correctly without a period before the asterisk, i.e. it should be     37        10.[0-4].*) I have fixed this and it now runs correctly and sets up the plist file correctly in LaunchDaemons. Thanks for the help, Martin
    You are not authorized to post a reply.