Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 1997 17:22:41 -0700
From:      amor@geop.ubc.ca (John Amor)
To:        freebsd-emulation@FreeBSD.ORG
Subject:   MATLAB fails in startup
Message-ID:  <199706270022.RAA15055@wrang.ubc.ca>

next in thread | raw e-mail | index | archive | help


I am tring to get matlab to run under FreeBSD currently running;

   2.2.2     FreeBSD system
  2.2-970621 kernel (not critical as using lkm)
  2.2-970621 lkm for linux
  2.2-970621 linux_lib-2.4

The initial matlab X window pops up ok and goes away but the following error
kills matlab.

>>>   wavelet.geop.ubc.ca 83 /wave/amor> matlab
>>>
>>>                            < M A T L A B (R) >
>>>                (c) Copyright 1984-96 The MathWorks, Inc.
>>>                            All Rights Reserved
>>>                            Version 5.0.0.4064
>>>                                Nov 15 1996
>>>
>>> MATLAB cannot be started.
>>> Invalid returned data from license server (-12,16)
>>>
>>>------------------------------------------------------------------
>>>>>>>> MATLAB did not start due to a license manager problem. <<<<<
>>>
>>>      For troubleshooting help see the README file in the
>>>      $MATLAB/etc directory. As a last resort you can execute
>>>      the script, $MATLAB/etc/lmdebug.

A part of the ktrace shows;

>>>  ...
>>>    785 matlab   CALL  #91(0x10487000,0x2000)
>>>    785 matlab   RET   #91 0
>>>    785 matlab   CALL  old.recv(0x3,0xefbfd188)
>>>    785 matlab   RET   old.recv 0
>>>    785 matlab   CALL  write(0x4,0xefbfd2ec,0x93)
>>>    785 matlab   GIO   fd 4 wrote 147 bytes
>>>        "h\M-{13amor\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0wavelet.geop.ubc.ca\0\0\0\
>>> 	\0\0\0\0\0\0\0\0\0\0\0MLM\0\0\0\0\0\0\0\0/dev/ttyp1\0\0\0\0\0\0\0\0\0\
>>> 	\0\0\0\0\0\0\0\0\0\0\0\0\0\0T\0\0\0\0\0\0\0\0\0\0\0\000785\0\0\0\0\0\0\
>>> 	\0\0i86_l1\0\0\0\0\0\0\0\^E\0\0\0\0\0\0\0"
>>>    785 matlab   RET   write 147/0x93
>>>    785 matlab   CALL  obs_vread(0xe,0xefbfd168,0xefbfd158)
>>>    785 matlab   RET   obs_vread 0
>>>    785 matlab   CALL  bind(0,0x86632e0,0x86632f0)
>>>    785 matlab   RET   bind 0
>>>    785 matlab   CALL  mincore(0xefbfd150,0xefbfd148)
>>>    785 matlab   RET   mincore 0
>>>    785 matlab   CALL  setpgid(0xefbfd14c)
>>>    785 matlab   RET   setpgid 1
>>>    785 matlab   CALL  mincore(0xefbfd150,0xefbfd148)
>>>    785 matlab   RET   mincore 0
>>>    785 matlab   CALL  obs_vread(0xe,0xefbfd168,0xefbfd158)
>>>    785 matlab   RET   obs_vread 0
>>>    785 matlab   CALL  bind(0,0x86632f0,0)
>>>    785 matlab   RET   bind 0
>>>    785 matlab   CALL  mincore(0xefbfd16c,0xefbfd164)
>>>    785 matlab   RET   mincore 0
>>>    785 matlab   CALL  mincore(0xefbfd0fc,0xefbfd0f4)
>>>    785 matlab   RET   mincore 0
>>>    785 matlab   CALL  setpgid(0xefbfd0f8)
>>>    785 matlab   RET   setpgid 1
>>>    785 matlab   CALL  mincore(0xefbfd0fc,0xefbfd0f4)
>>>    785 matlab   RET   mincore 0
>>>    785 matlab   CALL  read(0x4,0xefbfd258,0x93)
>>>    785 matlab   GIO   fd 4 read 147 bytes
>>>       "W\M^G-60\0\M-|\M^@\0\0\M^M0\M-o\M^?\M-||3\M-0o\M-9@\M^@\^P\M^B3\M-0o\
>>> 	\M-9@@\^P\M^G\M-ox\^Sd\M-ox\^Sh\M^?\0\0\b\0\0\0\b\M^?\0\0\b\M-p\^VL\0\
>>> 	\M-o~p\\\M-o\M^?\M-}@\M-o\M^?\M-}8\0\0\M-S\M-,\0\0\^CD\0\0\0\^C\0\0\0\
>>> 	\0\M-o\M^?\M-|\M-P\0\0\M-S\M-\\0\0\0\^C\0\0\0\0\M-o\M^?\M-|\M-h\0\0\
>>> 	\M^^\M-L\0\0\0\0\0\^A\M^[\M^@@\M^P\^P\M^C\0\0\M-@\0@@\^P\M^@\0\0\M-S\
>>> 	\M-,\0\0\M-S\M-0\M^?\0\0\b\0\0\0\b\M^?\0\0"
>>>    785 matlab   RET   read 147/0x93
>>>    785 matlab   CALL  close(0x4)
>>>    785 matlab   RET   close 0
>>>    785 matlab   CALL  old.recv(0xd,0xefbfd190)
>>>    785 matlab   RET   old.recv -1 errno -9 Unknown error: -9
>>>    785 matlab   CALL  close(0xffffffff)
>>>    785 matlab   RET   close -1 errno -9 Unknown error: -9
>>>    785 matlab   CALL  obs_vread(0xe,0xefbfd168,0xefbfd158)
>>>    785 matlab   RET   obs_vread 0
>>>    785 matlab   CALL  bind(0,0x8663300,0)
>>>    785 matlab   RET   bind 0
>>>    785 matlab   CALL  write(0x1,0x1069f000,0x1a)
>>>    785 matlab   GIO   fd 1 wrote 26 bytes
>>>        "MATLAB cannot be started.
>>>        "
>>>    785 matlab   RET   write 26/0x1a
>>>    785 matlab   CALL  write(0x1,0x1069f000,0x33)
>>>    785 matlab   GIO   fd 1 wrote 51 bytes
>>>        "Invalid returned data from license server (-12,16)
>>>        "
>>>      ...

Anyone have a suggestion or an idea why this might happen?

Thanks,

John

----------------------------------------------------------------------------
   John Amor -- Systems Manager --   Geophysical Research Processing Facility
  amor@eos.ubc.ca    (604) 822-6933    Department of Earth and Ocean Sciences
 http://www.geop.ubc.ca/~amor/amor.html  University of British Columbia, Canada


----- End Included Message -----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706270022.RAA15055>