Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Re: Lost connection to license server

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62428] Re: [mg62407] Re: [mg62283] Lost connection to license server
  • From: Manuel Schmidt <Manuel.Schmidt at physik.uni-wuerzburg.de>
  • Date: Thu, 24 Nov 2005 06:33:26 -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> <200511230612.BAA14182@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

my problem is exactly, that the message "...could not contact..." does
NOT pop up. It will never pop up, because the Kernel is started by
another Kernel and not by the FrontEnd.
If I click on "retry" butto of the kernel, that has been started by the
FrontEnd, everything is ok. But from the Kernel started by the
FrontEnd's Kernel I (i.e. FrontEnd's Kernel) get this Package and I want
to answer. But obviously the answer is not recognized. Am I talking the
wrong language to the Kernel?
I write directly (i.e. without a package "around" the command)

LinkWrite[theLink,"retry"]

This works for example for
LinkInterrupt[theLink];
LinkWrite[theLink,"continue"];

Shouldn't it also work for this problem?

Thanks,
Manuel

On Wed, 2005-11-23 at 01:12 -0500, Yasvir A. Tesiram wrote:
> 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: Time needed for calculation
  • Next by Date: Re: Re: Lost connection to license server
  • Previous by thread: Re: Lost connection to license server
  • Next by thread: Re: Re: Lost connection to license server