MATLAB Answers

Why am I unable to use the Admin Center or connect to a cluster with Parallel Computing on Debian based systems?

1 view (last 30 days)
When trying to open matlabpool on a Debian Linux system, I receive the following message:
Starting matlabpool using the 'local' configuration ... stopped.
??? Error using ==> matlabpool at 104
The interactive parallel job errored with the following message:
Lab 1 on host localhost failed to connect to the MATLAB client
on host localhost, port 27371.
Also I open the Admin Center and try to run a connectivity test, the test never completes and I receive no results. How can I resolve this issue?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Jun 2011
This bug has been fixed in Release 2011a (R2011a). For previous product releases, read below for any possible workarounds:
This issue is a bug in Java on Debian with ipv6 settings. When the net.ipv6.bindv6only is set to 1, networking is broken for Java. For more details about this bug, see the report here:
To check this setting you can run the following command:
sudo /sbin/sysctl net.ipv6.bindv6only
If the output of the command is "net.ipv6.bindv6only=1", you can temporarily change it by running:
sudo /sbin/sysctl net.ipv6.bindv6only=0
For a persistent fix, run the command:
sudo sed -i 's/net.ipv6.bindv6only\ =\ 1/net.ipv6.bindv6only\ =\ 0/' \
/etc/sysctl.d/bindv6only.conf && sudo invoke-rc.d procps restart
In either case, once complete, restart MATLAB to enable the changes. Once MATLAB is restarted, you should be able to use matlabpool once more.

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags

No tags entered yet.

Products