|
[Sponsors] |
October 9, 2006, 04:13 |
./FoamX
Starting NameServer w
|
#1 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
./FoamX
Starting NameServer with inet:console:1234 ... /export/home/heliang/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 122: nsd: command not found when i type which nsd /usr/bin/which: no nsd in (/export/home/heliang/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/platforms/.....) what can i do? |
|
October 9, 2006, 05:05 |
In my case, I have the nsd in:
|
#2 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
In my case, I have the nsd in:
dragosm@lap08:~> which nsd /fsd/home/dragosm/OpenFOAM/OpenFOAM-1.3/src/mico-2.3.11/platforms/linuxAMD64Gcc4 DPOpt/bin/nsd Try to see first if you have it there too! Dragos |
|
October 9, 2006, 05:57 |
In mico-2.3.11 there is no fol
|
#3 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
In mico-2.3.11 there is no folder what's name is platforms,
I havn't this file or folder |
|
October 9, 2006, 06:25 |
Probably your installation is
|
#4 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Probably your installation is not complete!
Did you first install the sources and then the binaries? If you did it the other way around it might cause you troubles. Dragos |
|
October 9, 2006, 06:53 |
binary pack?
how to use this
|
#5 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
binary pack?
how to use this pack? |
|
October 9, 2006, 08:08 |
Ok, I suspect you run a 32 bit
|
#6 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Ok, I suspect you run a 32 bit machine, so on short, the installation goes as follows:
0. cd 1. wget http://ovh.dl.sourceforge.net/source...3.General.gtgz 2. wget http://switch.dl.sourceforge.net/sourceforge/foam/OpenFOAM-1.3.linuxGcc4DPOpt.gt gz 3. wget http://puzzle.dl.sourceforge.net/sou....1.0.linux.tgz 4. wget http://heanet.dl.sourceforge.net/sou....4.2.linux.tgz 5. wget http://ovh.dl.sourceforge.net/source...2_05.linux.tgz 6. mkdir -p ~/OpenFOAM/linux 7. mkdir ~/OpenFOAM/jobControl 8. cd OpenFOAM 9. tar -zxvf ../OpenFOAM-1.3.General.gtgz 10. tar -zxvf ../OpenFOAM-1.3.linuxGcc4DPOpt.gtgz 11. cd linux 12. tar -zxvf ../../gcc-4.1.0.linux.tgz 13. tar -zxvf ../../paraview-2.4.2.linux.tgz 14. tar -zxvf ../../j2sdk1.4.2_05.linux.tgz 15. cd 16. echo ". ~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc" >> .bashrc That should be all! Dragos |
|
October 9, 2006, 08:31 |
thanks,I have re-install accor
|
#7 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
thanks,I have re-install according your list step
but I receive anthor error: Starting NameServer with inet:console:1234 ... nsd: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory How to solve it regards |
|
October 9, 2006, 09:15 |
Ok, now you come around http:/
|
#8 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Ok, now you come around
This error is simple to solve. Just install whatever package is available for your linux distribution, which contains the libelf.so.0. For instance, in my case,I have Suse 9.3, and the package containing this library is libelf-0.8.5-35.rpm Dragos |
|
October 9, 2006, 09:43 |
my operate system is Redhat ,d
|
#9 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
my operate system is Redhat ,do you what package is available for this ?
thanks very much |
|
October 9, 2006, 09:48 |
What version?
Here you can fi
|
#10 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
What version?
Here you can find a package for RedHat 8.0 ftp://194.199.20.114/linux/redhat/8.0/en/os/i386/RedHat/RPMS/libelf-0.8.2-2.i386 .rpm Dragos |
|
October 9, 2006, 10:00 |
it is ok
thanks
|
#11 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
it is ok
thanks |
|
October 10, 2006, 02:26 |
I cant install the rpm package
|
#12 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
I cant install the rpm package yesterday because i am not administrator of that computer .
just now,after installing the package of libelf.so.0,I meet another error when runing FoamX : [heliang@console heliang]$ FoamX Starting NameServer with inet:console:1234 ... Starting FoamX Host Browser with inet:console:1234 ... FoamXHostBrowser: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by FoamXHostBrowser) runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 32723). I search it from forum, somebody give advice to recompile the source. Do anyone have other method to sovle this problem? |
|
October 10, 2006, 02:28 |
I cant install the rpm package
|
#13 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
I cant install the rpm package yesterday because i am not administrator of that computer .
just now,after installing the package of libelf.so.0,I meet another error when runing FoamX : [heliang@console heliang]$ FoamX Starting NameServer with inet:console:1234 ... Starting FoamX Host Browser with inet:console:1234 ... FoamXHostBrowser: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by FoamXHostBrowser) runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 32723). I search it from forum, somebody give advice to recompile the source. Do anyone have other method to sovle this problem? |
|
October 10, 2006, 05:32 |
You won't like the other metho
|
#14 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
You won't like the other method: upgrade your system to something newer, like fedora core 5.
Dragos |
|
October 10, 2006, 09:56 |
I dont understand what meaning
|
#15 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
I dont understand what meaning
I have re-compiled the source completely.Another problem comes out. [heliang@console OpenFOAM-1.3]$ FoamX Starting NameServer with inet:console:1234 ... Starting FoamX Host Browser with inet:console:1234 ... /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.3 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : FoamXHostBrowser Date : Oct 11 2006 Time : 00:13:37 Host : console PID : 782 Root : Case : Nprocs : 1 Caught FoamXError exception in FoamXHostBrowser::main(int argc, char **argv) : FoamXError "Unexpected error" In function "FoamX::NameServer::connect(CORBA:RB_ptr pOrb)" in file "NameServer.C" at line 220 Finishing FoamXHostBrowser::main(int argc, char **argv) /export/home/heliang/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 131: 780 nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null runFoamXHB : cleanup runFoamXHB: Name server is not running. |
|
October 10, 2006, 10:56 |
It seems that your FoamXHostBr
|
#16 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
It seems that your FoamXHostBrowser is giving you the error.
Try to see if your compilation produced a proper executable: ldd $(which FoamXHostBrowser) It should not give you any "not found" message. If it does, that means you did not recompile everything. Dragos P.S. I still think you should upgrade your system, or you will most likely have problems with paraview |
|
October 11, 2006, 00:14 |
yes,I did not recompile comple
|
#17 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
yes,I did not recompile completely.
I want to know that it can be installed in the redhat 8, do anyone finish this before? P.S what is the meaning "upgrade your system", upgrade the core of system, or use other system? |
|
October 11, 2006, 03:43 |
By upgrading your system, I me
|
#18 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
By upgrading your system, I meant to install a newer library glibc. Though, this is not trivial so maybe you will find easier to install a newer successor of RedHat 8: Fedora Core 5 perhaps.
Dragos |
|
October 12, 2006, 05:11 |
I have install Fedora Core 5
|
#19 |
New Member
heliang
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
I have install Fedora Core 5
one more problem: FoamX Starting NameServer with inet:localhost.localdomain:1234 ... Starting FoamX Host Browser with inet:localhost.localdomain:1234 ... FoamXHostBrowser: error while loading shared libraries: /home/Dario/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). Does anybody know what kind of touble is this? |
|
October 12, 2006, 07:16 |
Well, google is your friend!
|
#20 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Well, google is your friend!
"He" says this problem is cause on modern distributions by a new security layer called selinux. Among other solutions, the simplest is to disable this layer by issuing the following command, as root: /usr/sbin/setenforce 0 That should do the trick! I hope you will find it usefull. Dragos |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error opening FoamX | robbo | OpenFOAM Pre-Processing | 1 | March 14, 2008 10:54 |
ERROR IN OPENING CFX POST | VISHNU | CFX | 6 | January 7, 2008 04:21 |
Error in opening the UDF library | Sri | FLUENT | 3 | December 11, 2006 17:19 |
Error while opening pro-star | Help with Pro-Star | Siemens | 3 | November 1, 2006 01:53 |
Problem with opening FoamX | osimonsimon | OpenFOAM Installation | 0 | October 4, 2006 18:07 |