Failed to open publish sockets.

14 vues (au cours des 30 derniers jours)
Michael
Michael le 15 Déc 2025 à 21:23
Réponse apportée : Aditya le 19 Déc 2025 à 4:22
On my RHEL server when I run the
MATALAB_ROOT/toolbox/parallel/bin/startjobmanager
script, I get the error:
"The mjs service on the host <hostname> returned an error.
The cause of the problem is:
failed to open publish sockets. Cannot publish SRV record.
This is causing:
null.
This is causing:
Problem starting the job manager lookup process. "
What does that mean?

Réponses (1)

Aditya
Aditya il y a 12 minutes
Hi Michael,
This error means the MATLAB Job Manager can’t open the network ports it needs to advertise itself.
Most common causes:
  • Firewall is blocking the required ports (27350–27450).
  • Another process is using those ports.
  • SELinux or permissions are blocking socket creation.
  • Network misconfiguration (hostname/IP issue).
Quick fix steps:
1.Open the required ports on your firewall:
sudo firewall-cmd --permanent --add-port=27350-27450/tcp
sudo firewall-cmd --reload
2.Make sure no other process is using those ports.
3.Check SELinux (getenforce) and set to permissive for testing (setenforce 0).
4.Ensure your server has a valid IP address and hostname.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by