Message Boards Message Boards

0
|
5129 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Kernel Connection Error for Non-Privileged Users

Posted 4 years ago

Hello all,

I have an issue with which I hope someone can help me troubleshoot. I installed Mathematica 12 on our Red Hat 7.7 cluster. Initially, everything worked fine; all users could use both the non-GUI (math) and GUI front-end versions (Mathematica).

At some point, within a couple weeks, something changed, such that now, only the root user can launch the GUI front-end. Any other user receives the attached error message, indicating a problem connecting to the kernel. Note that non-privileged users can still successfully launch the non-GUI version without issue. Although I know something must have changed, I cannot think what it would have been; no major updates or changes to the system occurred.

Normally I would attribute this behavior to a permission problem, but for the life of me, I can't seem to identify it. I have tried re-installing multiple times, and I've even chmod 777 the entire installation directory just to see whether somehow permissions on anything in there could be the problem. I've followed all tips on deleting relevant cache and other Wolfram and Mathematica-related directories in user home directories. I simply cannot isolate the underlying issue.

Moreover, this error does not result in a crash, so there is no crash-related information I can examine. I'm able to click the Quit button and exit. If I click the close button on the window, it continues processing briefly and then throws the error again, this time continuously, though I can still quit without a true crash.

Any thoughts or guidance as to how I might troubleshoot this further would be welcome.

Warmest regards,

Jason Simms

Attachment

POSTED BY: Jason Simms
Posted 4 years ago

Hello,

I managed to solve this issue. I used lsof to identify all directories that the kernel was attempting to access, and it turns out it's trying to read from /tmp/MathLink. For whatever reason, this directory was R/W only by root. Once I fixed that, the problem resolved itself.

Jason

POSTED BY: Updating Name
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract