Discussion:
IDL 8.2 and Ubuntu 16.04 licence issues
(too old to reply)
p***@uesc.br
2017-09-20 14:17:28 UTC
Permalink
Hi

I recently upgrade ma machine with Ubuntu 16.04 and I had some difficulty to run my IDL8.2 licence on it. After several exchanges with IDL help desk I can run it but if I reboot the machine I have to follow a protocol to kill some processes, wait to open a port and run the lmgrd prog. I would like to know if there is a way to do that automatically ? Thanks

$ mkdir /usr/tmp/
$ cd /usr/tmp
$ touch .flexlm
$ chmod 666 .flexlm

After that finalize lmgdr pendence:
$ killall lmgrd
$ killall idl_lmgrd

Do it again after 30s to be sure that all executable were closed.

Then wait for a 1min, necessary for the system open ports 1700 and 1701, and then run:

$ /usr/local/exelis/idl82/bin/bin.linux.x86/lmgrd -c /usr/local/exelis/license/license.dat -l /usr/local/exelis/license/lmgrd.log &
Markus Schmassmann
2017-09-20 14:54:14 UTC
Permalink
Post by p***@uesc.br
I recently upgrade ma machine with Ubuntu 16.04 and I had some
difficulty to run my IDL8.2 licence on it. After several exchanges with
IDL help desk I can run it but if I reboot the machine I have to follow
a protocol to kill some processes, wait to open a port and run the lmgrd
prog. I would like to know if there is a way to do that automatically ?
Thanks
$ mkdir /usr/tmp/
$ cd /usr/tmp
$ touch .flexlm
$ chmod 666 .flexlm
$ killall lmgrd
$ killall idl_lmgrd
Do it again after 30s to be sure that all executable were closed.
$ /usr/local/exelis/idl82/bin/bin.linux.x86/lmgrd -c /usr/local/exelis/license/license.dat -l /usr/local/exelis/license/lmgrd.log &
assuming you are not asking about a server, could you run it from
.bash_profile ?


add to ~~~~~~~~~~ .bash_profile ~~~~~~~~~~
readyIDL.sh &

~~~~~~~~~~ file readyIDL.sh ~~~~~~~~~~
#!/bin/bash
if ![ -d /usr/tmp/ ]; then mkdir /usr/tmp/; fi
curDir=`pwd`
cd /usr/tmp/
touch .flexlm
chmod 666 .flexlm
killall lmgrd
killall idl_lmgrd
sleep 30
killall lmgrd
killall idl_lmgrd
sleep 60
/usr/local/exelis/idl82/bin/bin.linux.x86/lmgrd -c
/usr/local/exelis/license/license.dat -l
/usr/local/exelis/license/lmgrd.log &
cd $curDir
notify-send 'readyIDL' 'IDL should be ready to use now, if not debug
readyIDL.sh'
~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~

it might need some debuging, and I'm not a bash expert, but even if half
of it is wrong it might give you some ideas on how to proceed...

Good luck, Markus
p***@uesc.br
2017-09-21 14:00:33 UTC
Permalink
Post by p***@uesc.br
Hi
I recently upgrade ma machine with Ubuntu 16.04 and I had some difficulty to run my IDL8.2 licence on it. After several exchanges with IDL help desk I can run it but if I reboot the machine I have to follow a protocol to kill some processes, wait to open a port and run the lmgrd prog. I would like to know if there is a way to do that automatically ? Thanks
$ mkdir /usr/tmp/
$ cd /usr/tmp
$ touch .flexlm
$ chmod 666 .flexlm
$ killall lmgrd
$ killall idl_lmgrd
Do it again after 30s to be sure that all executable were closed.
$ /usr/local/exelis/idl82/bin/bin.linux.x86/lmgrd -c /usr/local/exelis/license/license.dat -l /usr/local/exelis/license/lmgrd.log &
Thanks a lot Markus. After a few tweaks, it is working like a charm ...
Loading...