printlogo
ETH Zuerich - Homepage
Department of Materials
 
print
  

Matlab R2007a Troubleshooting

Operating Systems: Linux (RHEL5)
Published:         24.08.2007, Marc Petitmermet
Update:            30.08.2007, added Problem 2, Marc Petitmermet
Update:            03.10.2007, Problem 2 not fixed yet, Marc Petitmermet
Update:		   08.01.2008, Application disappears after starting up; ETHZ Licenseserver changed; Andreas Kvapil

SELinux

Problem 1

When starting matlab a permission denied error occurs:

[myhost]> matlab
  libmwlapack: load error: /usr/local/mtlab/bin/glnxa64/libguide.so:  
     cannot restore segment prot after reloc: Permission denied
  terminate called after throwing an instance of 'std::runtime_error'
  what():  /usr/local/mMatlab/bin/glnxa64/libguide.so:
    cannot restore segment prot after reloc: Permission denied
  Aborted

Solution

Don't just disable SELinux; fix the problem! Change the file context to textrel_shlib_t with the following command:

[myhost] chcon -t textrel_shlib_t /usr/local/matlab/bin/glnxa64/libguide.so

Problem 2

When running matlab SELinux complains that the program tries to change the access protection of memory on the heap. It might happen that matlab does not start at all.

No Solution

Changing the allow_execheap boolean with the following command does not fix the problem:

[myhost] setsebool -P allow_execheap=1

Problem 2 has been reported to Mathworks.

Any operating system (status jan-08)

problem: Application disappears after start
solution: ETHZ Licenseserver changed to nava.ethz.ch; change or replace your license.dat in matlab-installationdirectory



 

Wichtiger Hinweis:
Diese Website wird in älteren Versionen von Netscape ohne graphische Elemente dargestellt. Die Funktionalität der Website ist aber trotzdem gewährleistet. Wenn Sie diese Website regelmässig benutzen, empfehlen wir Ihnen, auf Ihrem Computer einen aktuellen Browser zu installieren. Weitere Informationen finden Sie auf
folgender Seite.

Important Note:
The content in this site is accessible to any browser or Internet device, however, some graphics will display correctly only in the newer versions of Netscape. To get the most out of our site we suggest you upgrade to a newer browser.
More information

© 2012 ETH Zurich | Imprint | Disclaimer | 9 January 2008
top