Personal tools
You are here: Home Forum Install & build No free ports

No free ports

Up to Install & build


This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.

No free ports

Posted by MRobert at December 28. 2021

Dear forum,

 

Although there are pleny discussions on this case on the forum, I am unable to fix it. Suddenly I have the following error when launching Salome :

Process Process-1:

Traceback (most recent call last):

  File "C:\SALOME-9.7.0\W64\Python\lib\multiprocessing\process.py", line 258, in _bootstrap

    self.run()

  File "C:\SALOME-9.7.0\W64\Python\lib\multiprocessing\process.py", line 93, in run

    self._target(*self._args, **self._kwargs)

  File "C:\SALOME-9.7.0\W64\KERNEL\bin\salome\searchFreePort.py", line 68, in searchFreePort_withPortManager

    port = getPort(use_port)

  File "C:\SALOME-9.7.0\W64\KERNEL\bin\salome\PortManager.py", line 149, in getPort

    raise RuntimeError(msg)

RuntimeError:

Can't find a free port to launch omniNames

Try to kill the running servers and then launch SALOME again.

 

First, I had this error while using Salome 9.6.0 version for Windows, I uninstalled it and installed the 9.7.0 version for Windows but the problems persists. One of the solutions found in other posts was to delete "TMP" folder but I don't have any. Is there something else I should try?

Regards,

Robert

Re: No free ports

Posted by ghodbane at December 28. 2021

the issue occurs if SALOME session ends on error. In that case you need to delete residual files.

So start a Windows file browser and delete all files:

  • %appdata%\.omni* files
  • %appdata%\.salome_PortManager.cfg

These files hold omniORB booked port related information. Hopefully we get ride of omniORB soon. Then restart SALOME and port 2810 will be used.

HTH.

 

Re: No free ports

Posted by MRobert at December 28. 2021

Thank you, Nabil! It worked. 

Regards,

Robert


This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.

Powered by Ploneboard
Document Actions