Personal tools
You are here: Home Forum Install & build Error launching salome meca

Error launching salome meca

Up to Install & build

Error launching salome meca

Posted by Claude at February 14. 2018

I finished installing salome meca and when I try launching it , I get this error message:

Searching /Kernel/Session in Naming Service ++++++Traceback (most recent call last):

  File "/home/Claude/salome_meca/appli_V2017.0.2/bin/salome/runSalome.py", line 625, in useSalome

    clt = startSalome(args, modules_list, modules_root_dir)

  File "/home/Claude/salome_meca/appli_V2017.0.2/bin/salome/runSalome.py", line 570, in startSalome

    session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)

  File "/home/Claude/salome_meca/V2017.0.2/modules/KERNEL_V8_3_0/bin/salome/orbmodule.py", line 174, in waitNSPID

    raise RuntimeError, "Process %d for %s not found" % (thePID,theName)

RuntimeError: Process 11866 for /Kernel/Session not found

Anyone knows how to solve the issue. 

 

Thanks!

Re: Error launching salome meca

Posted by Lessandro at February 14. 2018

Hi. How did you launch it? What is the command?

Re: Error launching salome meca

Posted by bthomas at February 14. 2018

Hello,

I have just dicovered Salome (hence may be doing some beginner mistake) and believe having the same issue. I am trying to run on Fedora 27. I used the 8.3.0 universal installer and installed Salome to /home/cfd/local/salome:

[cfd@localhost salome]$ ./appli_V8_3_0/salome

runSalome running on localhost.localdomain

Searching for a free port for naming service: 2825 - OK

Searching Naming Service + found in 0.1 seconds

Searching /Kernel/Session in Naming Service ++++++++Traceback (most recent call last):

  File "/home/cfd/local/salome/appli_V8_3_0/bin/salome/runSalome.py", line 625, in useSalome

    clt = startSalome(args, modules_list, modules_root_dir)

  File "/home/cfd/local/salome/appli_V8_3_0/bin/salome/runSalome.py", line 570, in startSalome

    session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)

  File "/home/cfd/local/salome/Salome-V8_3_0-univ-public/modules/KERNEL_V8_3_0/bin/salome/orbmodule.py", line 174, in waitNSPID

    raise RuntimeError, "Process %d for %s not found" % (thePID,theName)

RuntimeError: Process 13869 for /Kernel/Session not found --- Error during Salome launch ---

 

With cat /var/log/messages:

Feb 14 17:23:47 localhost kernel: SALOME_Session_[13869]: segfault at cb60 ip 000000000000cb60 sp 00007ffcf027adf8 error 14 in SALOME_Session_Server[400000+d000]

Feb 14 17:23:47 localhost audit[13869]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=13869 comm="SALOME_Session_" exe="/home/cfd/local/salome/Salome-V8_3_0-univ-public/modules/GUI_V8_3_0/bin/salome/SALOME_Session_Server" sig=11 res=1

Feb 14 17:23:47 localhost systemd[1]: Started Process Core Dump (PID 13882/UID 0).

Feb 14 17:23:47 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@3-13882-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Feb 14 17:23:48 localhost systemd-coredump[13883]: Process 13869 (SALOME_Session_) of user 1000 dumped core.#012#012Stack trace of thread 13869:#012#0 0x000000000000cb60 n/a (n/a)

Feb 14 17:23:49 localhost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@3-13882-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Feb 14 17:23:51 localhost abrt-server[13891]: Deleting problem directory ccpp-2018-02-14-17:23:49.215826-13869 (dup of ccpp-2018-02-13-19:59:36.524923-3849)

Feb 14 17:23:52 localhost dbus-daemon[724]: [system] Activating service name='org.freedesktop.problems' requested by ':1.63' (uid=0 pid=13931 comm="/usr/bin/python3 /usr/bin/abrt-action-notify -d /v" label="system_u:system_r:abrt_t:s0-s0:c0.c1023") (using servicehelper)

Feb 14 17:23:52 localhost dbus-daemon[724]: [system] Successfully activated service 'org.freedesktop.problems'

Feb 14 17:23:52 localhost abrt-notification[13937]: Process 3849 (SALOME_Session_Server) crashed in ??()

 

Any help is greatly appreciated!

 

 

 

Re: Error launching salome meca

Posted by Roman NIKOLAEV at February 14. 2018

Hello,

Have a look this topic http://www.salome-platform.org/forum/forum_9/995984028

Regards,

Roman.

Re: Error launching salome meca

Posted by bthomas at February 15. 2018

Hi Again,

The advice didn't help (btw, does it matter that I tried in a virtualbox with NAT network connection?), but I figured that on a bare metal fedora24 it runs without problems. If I understand correctly in 8.4.0 there will be bugfixes with regards to this symptom. My schedule allows me to experiment on the old machine and wait for the new release.

Apologees to the OP for sidelining the post.

Thank you!

Re: Error launching salome meca

Posted by oliva at February 16. 2018

Hi

After installing Salome-Meca on OpenSUSE 4.2.3 ,the salome can not start ,getting this error :

Creating salome_meca application in /opt/SalomeMeca/appli_V2017.0.2 ...
Desktop directory not found.
salome_meca post-installation ...
Adjusting the file : /opt/SalomeMeca/appli_V2017.0.2/SalomeApp.xml
The salome_meca application was successfully created.
To run the application:
$ /opt/SalomeMeca/appli_V2017.0.2/salome
Adjusting wishexecutable /opt/SalomeMeca/V2017.0.2/tools/Code_aster_frontend-20170/etc/codeaster/profile.sh
Initialize terminal and editor for Code_aster
Creating symlink in /opt/SalomeMeca/V2017.0.2/tools/Code_aster_stable-v134_smeca : salome -> /opt/SalomeMeca/appli_V2017.0.2/salome
Creating symlink in /opt/SalomeMeca/V2017.0.2/tools/Code_aster_oldstable-1280 : salome -> /opt/SalomeMeca/appli_V2017.0.2/salome
linux-rht8:/home/scientist/Documents # /opt/SalomeMeca/appli_V2017.0.2/salome
runSalome running on linux-rht8
Searching for a free port for naming service: 2819 - OK
Searching Naming Service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Failed to narrow the root naming context
Traceback (most recent call last):
  File "/opt/SalomeMeca/appli_V2017.0.2/bin/salome/runSalome.py", line 625, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/opt/SalomeMeca/appli_V2017.0.2/bin/salome/runSalome.py", line 422, in startSalome
    clt=orbmodule.client(args)
  File "/opt/SalomeMeca/V2017.0.2/modules/KERNEL_V8_3_0/bin/salome/orbmodule.py", line 47, in __init__
    self.initNS(args or {})
  File "/opt/SalomeMeca/V2017.0.2/modules/KERNEL_V8_3_0/bin/salome/orbmodule.py", line 86, in initNS
    sys.exit(1)
SystemExit: 1


--- Error during Salome launch ---

 

Please help me.

Special thank for All

 

Powered by Ploneboard
Document Actions