comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL 8.2 and Ubuntu 16.04 licence issues
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL 8.2 and Ubuntu 16.04 licence issues [message #94733] Wed, 20 September 2017 07:17 Go to next message
plana is currently offline  plana
Messages: 3
Registered: September 2017
Junior Member
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 &
Re: IDL 8.2 and Ubuntu 16.04 licence issues [message #94734 is a reply to message #94733] Wed, 20 September 2017 07:54 Go to previous messageGo to next message
Markus Schmassmann is currently offline  Markus Schmassmann
Messages: 129
Registered: April 2016
Senior Member
On 09/20/2017 04:17 PM, plana@uesc.br wrote:
> 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 &

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
Re: IDL 8.2 and Ubuntu 16.04 licence issues [message #94742 is a reply to message #94733] Thu, 21 September 2017 07:00 Go to previous message
plana is currently offline  plana
Messages: 3
Registered: September 2017
Junior Member
Em quarta-feira, 20 de setembro de 2017 11:17:33 UTC-3, pl...@uesc.br escreveu:
> 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 &

Thanks a lot Markus. After a few tweaks, it is working like a charm ...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: taking mean of certain values of a file
Next Topic: IDL help page problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 05:19:12 PDT 2025

Total time taken to generate the page: 0.00404 seconds