CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   FoamX problem (https://www.cfd-online.com/Forums/openfoam-installation/57599-foamx-problem.html)

joegi May 5, 2006 09:06

Hi Guys, I just installed o
 
Hi Guys,

I just installed openfoam, but I'm having the following problem when I try to run FoamX, here is the message:

Starting NameServer with inet:flubio04.diam.unige.it:1234 ...
nsd: error while loading shared libraries: libelf.so.O: cannot open shared object file: no such file or directory.

I'm running under linux fedora 5

Hope you can help me,

Cheers

fra76 May 5, 2006 09:28

It's been discussed here: htt
 
It's been discussed here:
http://www.cfd-online.com/cgi-bin/Op...how.cgi?1/2085

I hope this can help you!
I'm running OpenFOAM under FC5, both 32 and 64 bit, and it works fine.

vcoralic June 17, 2006 09:43

I have tried doing the linking
 
I have tried doing the linking method proposed in that thread

# cd /usr/lib
# ln -s libelf.so.1 libelf.so.0

but i get the following error:

Starting NameServer with inet:localhost.localdomain:1234 ...
Starting FoamX Host Browser with inet:localhost.localdomain:1234 ...
FoamXHostBrowser: error while loading shared libraries: /home/Vedran/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/libFoamX.so: cannot restore segment prot after reloc: Permission denied
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 29989).

Can you help me?

mer June 17, 2006 11:11

Hi; It works well with me o
 
Hi;

It works well with me on fedora 5.0 :
as root
# cd /usr/lib
# ln -s libelf.so.1 libelf.so.0
Then restart the computer.

hjasak June 17, 2006 11:38

In similar cases on Suse I had
 
In similar cases on Suse I hadto install tha package that provides libelf. If the problem persists, try rebuilding FoamX:

util
cd preProcessing/FoamX
rmoall
./Allwmake

Hrv

vcoralic June 17, 2006 13:03

Well I can't seem to be able t
 
Well I can't seem to be able to fix this problem.

The error does change though once I enable my ethernet connection..

Before ethernet connection, I get the above mentioned error. But once I connect I get this error:

[Vedran@dhcppc5 ~]$ FoamX
Starting NameServer with inet:dhcppc5:1234 ...
uncaught MICO exception: IDL:omg.org/CORBA/INITIALIZE:1.0 (0, not-completed)
/home/Vedran/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 127: 6802 Aborted nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null

also, the foamInstallationTest starts giving me an error after the connection

Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_dhcppc5 No_entry_for_"dhcppc5"_in_/etc/hosts yes
WARNING: CRITICAL ERROR

Pinging_localHost Successful yes
Test_rsh: Not_active* yes
Test_ssh: Not_active* yes
FATAL ERROR: No remote shell available.
Foam1.3 enviroment requires either ssh and/or rsh.
Contact your system administrator.


-------------------------------------------------------------------------------

Somehow I am starting to think this maybe somewhat of a networking error. Does anyoen have an idea?

mattijs June 19, 2006 02:47

http://www.cfd-online.com/cgi-
 
http://www.cfd-online.com/cgi-bin/Op...=7681#POST7681

vcoralic June 21, 2006 02:57

Well umm, I tried everything t
 
Well umm, I tried everything that you guys suggested and I was unable to solve the problem. However, today, I don't know what happened, but the problem just disappeared. Anyways, whatever happened, I am grateful =).

Thanks everybody!

billpeace November 5, 2006 06:06

I have the same error, but i h
 
I have the same error, but i have solve it.
The reason for this problem maybe is you don't open port. When i close firewall, it works well.


All times are GMT -4. The time now is 19:20.