Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 1998 14:01:19 -0800
From:      amor@geop.ubc.ca (John Amor)
To:        freebsd-emulation@FreeBSD.ORG
Subject:   linux emulation problem with floating license server
Message-ID:  <199802062201.OAA08564@gepa.geop.ubc.ca>

next in thread | raw e-mail | index | archive | help
I am tring to get matlab to run in linux emulation under freebsd 2.2.5.

Our matlab license is centrally administered using matlab supplied flexlm 
and a floating license. Using a ktrace it appears to be getting garbage back
from the license server when it tries to sign out a copy.

  Anyone with any ideas on whats wrong or were to look?

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
===============================================================================
Here is the ktrace in the problem area.
...
  2839 matlab   CALL  reboot(0x4,0x2,0x1)
  2839 matlab   RET   reboot 0
  2839 matlab   CALL  old.recv(0x3,0xefbfd1d4)
  2839 matlab   RET   old.recv 0
  2839 matlab   CALL  write(0x4,0xefbfd338,0x93)
  2839 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\0\0\0\0\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0MLM\0\0\0\0\0\0\0\0/dev/ttyp3\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\000283\
	9\0\0\0\0\0\0\0i86_l1\0\0\0\0\0\0\0\^E\0\0\0\0\0\0\0"
  2839 matlab   RET   write 147/0x93
  2839 matlab   CALL  obs_vread(0xe,0xefbfd1b4,0xefbfd1a4)
  2839 matlab   RET   obs_vread 0
  2839 matlab   CALL  bind(0,0x86632e0,0x86632f0)
  2839 matlab   RET   bind 0
  2839 matlab   CALL  mincore(0xefbfd19c,0xefbfd194)
  2839 matlab   RET   mincore 0
  2839 matlab   CALL  setpgid(0xefbfd198)
  2839 matlab   RET   setpgid 1
  2839 matlab   CALL  mincore(0xefbfd19c,0xefbfd194)
  2839 matlab   RET   mincore 0
  2839 matlab   CALL  obs_vread(0xe,0xefbfd1b4,0xefbfd1a4)
  2839 matlab   RET   obs_vread 0
  2839 matlab   CALL  bind(0,0x86632f0,0)
  2839 matlab   RET   bind 0
  2839 matlab   CALL  mincore(0xefbfd1b8,0xefbfd1b0)
  2839 matlab   RET   mincore 0
  2839 matlab   CALL  mincore(0xefbfd148,0xefbfd140)
  2839 matlab   RET   mincore 0
  2839 matlab   CALL  setpgid(0xefbfd144)
  2839 matlab   RET   setpgid 1
  2839 matlab   CALL  mincore(0xefbfd148,0xefbfd140)
  2839 matlab   RET   mincore 0
  2839 matlab   CALL  read(0x4,0xefbfd2a4,0x93)
  2839 matlab   GIO   fd 4 read 147 bytes
       "W\M^?-60\0\0002\0\0\0\0\0\^A\0\0\M-p\M-T\M-n\M-D\0\0\0002\0\0\0\0\0\^A\
	\0\0\0\0\0\M^H5'V \M-p\M-T\M-n\M-D4\M-U, \0\^E\M-Y\M-p\0\0\0\M-`\0\^ET\
	\0\0\0\0007\0\0\0\^C\0\^E\M-Y\M-8\M-o\M^?\M-|(\0\^B\M^V\M^H\0\0\0\0\0\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0004\M-U+\M-f\0\^ET\0\0\^B\M^Vx\0\^B\M^V|\
	4\M-U, \0\^ET\0\0\^B\M^Vx\0\^B\M^V|\M^?\0\0\b\0\0\0\b\0\0\0\M^S\0\0\0"
  2839 matlab   RET   read 147/0x93
  2839 matlab   CALL  close(0x4)
  2839 matlab   RET   close 0
  2839 matlab   CALL  old.recv(0xd,0xefbfd1dc)
  2839 matlab   RET   old.recv -1 errno -9 Unknown error: -9
  2839 matlab   CALL  close(0xffffffff)
  2839 matlab   RET   close -1 errno -9 Unknown error: -9
  2839 matlab   CALL  obs_vread(0xe,0xefbfd1b4,0xefbfd1a4)
  2839 matlab   RET   obs_vread 0
  2839 matlab   CALL  bind(0,0x8663300,0)
  2839 matlab   RET   bind 0
  2839 matlab   CALL  write(0x1,0x1069f000,0x1a)
  2839 matlab   GIO   fd 1 wrote 26 bytes
       "MATLAB cannot be started.
       "
  2839 matlab   RET   write 26/0x1a
  2839 matlab   CALL  write(0x1,0x1069f000,0x33)
  2839 matlab   GIO   fd 1 wrote 51 bytes
       "Invalid returned data from license server (-12,16)
       "
  2839 matlab   RET   write 51/0x33
  2839 matlab   CALL  obs_execv(0x867b8a8,0xefbf5544,0xefbfd618)
  2839 matlab   NAMI  "/compat/linux/usr/local/opt/MATLAB-5.0/etc/lmerror"
  2839 matlab   NAMI  "/usr/local/opt/MATLAB-5.0/etc/lmerror"
  2839 matlab   NAMI  "/bin/sh"
...
================================================================



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