MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Lost connection to license server

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62407] Re: [mg62283] Lost connection to license server
  • From: "Yasvir A. Tesiram" <tesiramy at omrf.ouhsc.edu>
  • Date: Wed, 23 Nov 2005 01:12:36 -0500 (EST)
  • References: <200511191054.FAA16449@smc.vnet.net> <Pine.LNX.4.63.0511201648460.10283@localhost.localdomain> <1132669193.1663.7.camel@wpfd67.physik.uni-wuerzburg.de>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
If MathLM crashes, the only thing you can do is to restart MathLM. Once 
the message "...could not contact the MathLM server..." pops up, you have 
no way to use Mathematica. You have to restart MathLM first before you can 
launch/relaunch Mathematica.

Any connections you have to remote kernels from that first instance should 
also pop a message on your display, and after MathLM is relaunched just 
type "r" (for the command line interface) or push the button that says 
"retry" (for the Notebook interface).

Maybe you need to talk to your system administrator and find out why 
MathLM crashes and maybe he/she can do something to restart it 
automatically after automated reboots, or power failues etc.

Regards
Yas

On Tue, 22 Nov 2005, Manuel Schmidt wrote:

> Hi,
>
> Thank you for the answer. Here are some points:
>
> MathLM is running on a server and I run 20 kernels on different
> computers. I cannot log into the server, because I am just a user.
>
> I know, that mathlm crashes from time to time and I think, there is
> nothing, I can change about that. It is not a connection issue, because
> those computers are linked directly by GB-Ethernet.
>
> My problem is a different one:
> If the connection to MathLM is lost, then normally your kernel asks you
> if it should retry the server by a dialog box.
> I link all those kernels to a local kernel via mathlink and give
> commands via LinkWrite.
> My problem is, that if the connection is lost, I get via LinkRead this
> MenuPacket[2, Lost connection to server> ]
> and I would think, that I have to do a LinkWrite[theLink,"retry"] to
> tell the kernel, he should reconnect to MathLM.
> However, this does not work. Everytime I send a "retry" or "r" to the
> Kernel, I get back a new
> MenuPacket[2, Lost connection to server> ]
> .
>
> What should I send the kernel?
>
> Thanks,
> Manuel
>
>
> On Sun, 2005-11-20 at 16:58 -0600, Yasvir A. Tesiram wrote:
>> Hi,
>> It is hard to know. Is MathLM running on the same computer that you are
>> running MathKernel? If so, check to see that you haven't inadvertently
>> set yourself on a timed lease.
>> If MathLM is on a remote computer, you should try and log on to the
>> computer that serves the license and check the log file (assuming you
>> write one) to see what happened. Then restart it, assuming you are the
>> system administrator and assuming that MathLM had crashed. When this
>> happens, is the server still running? Can you log on to it?
>> There is also the issue of connection quality. So, if the connection is of
>> poor quality, you will lose signal from time to time.
>> What version of MathLM is it?
>> What OS is it running on?
>> Are you the only user?
>>
>> Regards
>> Yas
>>
>>
>> On Sat, 19 Nov 2005, Manuel Schmidt wrote:
>>
>>> Hi,
>>>
>>> I run a MathKernel over MathLink with a License from a MathLM. Sometimes
>>> this licenseserver crashes and I get through the link a
>>>
>>> MenuPacket[2, Lost connection to server> ]
>>>
>>> now with LinkWrite[theLink,"retry"] i want to tell the kernel to
>>> reconnect to MathLM, but I get again the same message as above.
>>>
>>> What am I doing wrong?
>>>
>>> Thanks,
>>> Manuel
>>>
>


  • Prev by Date: Re: Types in Mathematica
  • Next by Date: Re: Re: Re: Types in Mathematica
  • Previous by thread: Re: Lost connection to license server
  • Next by thread: Re: Re: Lost connection to license server