CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] Unable to determine IP address from host name "downloads.sourceforge.net"

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By jamalf64

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2015, 12:24
Default Unable to determine IP address from host name "downloads.sourceforge.net"
  #1
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Hi dear friend
During download OpenFoam 2.4 on Ubuntu 15.04 I get this error:

ERROR

The requested URL could not be retrieved


The following error was encountered while trying to retrieve the URL: http://downloads.sourceforge.net/pro...0-1_amd64.deb?
Unable to determine IP address from host name downloads.sourceforge.net
The DNS server returned:
Server Failure: The name server was unable to process this query.
This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.
Your cache administrator is webmaster.




Also during installation using terminal I get this error:


Err http://www.openfoam.org/download/ubuntu/ vivid/main openfoam240 amd64 0-1
503 Service Unavailable
E: Failed to fetch http://www.openfoam.org/download/ubu..._0-1_amd64.deb 503 Service Unavailable

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?








What do I do?
Attached Images
File Type: png a.png (53.0 KB, 7 views)
jamalf64 is offline   Reply With Quote

Old   October 17, 2015, 12:57
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: It looks like either you're unable to access the website downloads.sourceforge.net or your internet connection broke when you were trying to download.

Try:
Code:
ping downloads.sourceforge.net
To terminate the application, you will need to hit the key combination Ctrl+C to break the execution.
It should tell you something like this:
Code:
PING downloads.sourceforge.net (216.34.181.59) 56(84) bytes of data.
64 bytes from downloads.sourceforge.net (216.34.181.59): icmp_req=1 ttl=242 time=138 ms
If it doesn't, then you will have to download OpenFOAM 2.4.x and build from source code: https://openfoamwiki.net/index.php/I...M-2.4.x/Ubuntu
jamalf64 likes this.
wyldckat is offline   Reply With Quote

Old   October 17, 2015, 23:17
Default
  #3
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Thank you so much
It works fine.
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 05:16
Default new problem
  #4
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
I have another problem now:

I run openfoam correctly but when I write paraFoam code I get this error:

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
./Allwclean
./Allwmake

I install openfoam and paraview using this link:
https://openfoamwiki.net/index.php/I...M-2.4.x/Ubuntu
Attached Images
File Type: png a.png (65.9 KB, 3 views)
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 06:41
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: Please run the following commands:
Code:
cd $WM_THIRD_PARTY_DIR
gzip < log.makePV > log.makePV.gz
pwd
The last command will tell you the folder where the file "log.makePV.gz" is located. Please attach the file "log.makePV.gz" in your next post.
wyldckat is offline   Reply With Quote

Old   October 18, 2015, 06:51
Default
  #6
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer: Please run the following commands:
Code:
cd $WM_THIRD_PARTY_DIR
gzip < log.makePV > log.makePV.gz
pwd
The last command will tell you the folder where the file "log.makePV.gz" is located. Please attach the file "log.makePV.gz" in your next post.


Basic problem: I cant go to path " $WM_THIRD_PARTY_DIR"
When I write first command any thing not change
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 06:56
Default
  #7
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Quote:
Originally Posted by jamalf64 View Post
Basic problem: I cant go to path " $WM_THIRD_PARTY_DIR"
When I write first command any thing not change

I find log.makepv
Attached Files
File Type: gz log.makePV.gz (69 Bytes, 1 views)
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 07:12
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Something went wrong when you were following the installation instructions. This command:
Code:
cd $WM_THIRD_PARTY_DIR
should have worked. The folder it tries to go into is indicated by this command:
Code:
echo $WM_THIRD_PARTY_DIR
which should tell you the folder location for the "ThirdParty-2.4.x" folder.

Check if the folder exists, by running the following command:
Code:
ls -l ~/OpenFOAM/ThirdParty-2.4.x
wyldckat is offline   Reply With Quote

Old   October 18, 2015, 07:12
Default
  #9
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
other file:
Attached Files
File Type: gz log.makePV.tar.gz (291 Bytes, 1 views)
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 07:18
Default
  #10
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Something went wrong when you were following the installation instructions. This command:
Code:
cd $WM_THIRD_PARTY_DIR
should have worked. The folder it tries to go into is indicated by this command:
Code:
echo $WM_THIRD_PARTY_DIR
which should tell you the folder location for the "ThirdParty-2.4.x" folder.

Check if the folder exists, by running the following command:
Code:
ls -l ~/OpenFOAM/ThirdParty-2.4.x
Something is wrong, I dont know
Attached Images
File Type: png a.png (14.4 KB, 4 views)
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 07:23
Default
  #11
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Quote:
Originally Posted by jamalf64 View Post
Something is wrong, I dont know
another screenshot
Attached Images
File Type: png a.png (143.2 KB, 4 views)
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 07:30
Default
  #12
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
OK, run this command:
Code:
source $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc
And then try again the previous commands.
wyldckat is offline   Reply With Quote

Old   October 18, 2015, 07:43
Default
  #13
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, run this command:
Code:
source $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc
And then try again the previous commands.
Here is log.makePV.gz
Attached Files
File Type: gz log.makePV.gz (203 Bytes, 1 views)
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 08:41
Default
  #14
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
No, something went wrong again.
Run the following commands:
Code:
source $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc
echo $FOAM_INST_DIR
echo $WM_PROJECT_DIR
echo $WM_OPTIONS
echo $WM_THIRD_PARTY_DIR
These commands should give us a hint at what it is going wrong.

Last edited by wyldckat; October 18, 2015 at 08:43. Reason: fixed typo
wyldckat is offline   Reply With Quote

Old   October 18, 2015, 08:53
Default
  #15
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
No, something went wrong again.
Run the following commands:
Code:
source $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc
echo $FOAM_INST_DIR
echo $WM_PROJECT_DIR
echo $WM_OPTIONS
echo $WM_THIRD_PARTY_DIR
These commands should give us a hint at what it is going wrong.

Here you are:
Attached Images
File Type: png a.png (39.2 KB, 4 views)
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 09:01
Default
  #16
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Now it's working properly? This is very strange... OK, run the following commands:
Code:
source $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc
cd $WM_THIRD_PARTY_DIR
export QT_SELECT=qt4
./makeParaView4 -python -mpi -python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 > log.makePV 2>&1
gzip < log.makePV > log.makePV_New.gz
Then attach the file "log.makePV_New.gz" in your next post.
wyldckat is offline   Reply With Quote

Old   October 18, 2015, 09:07
Default
  #17
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
No, something went wrong again.
Run the following commands:
Code:
source $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc
echo $FOAM_INST_DIR
echo $WM_PROJECT_DIR
echo $WM_OPTIONS
echo $WM_THIRD_PARTY_DIR
These commands should give us a hint at what it is going wrong.
Quote:
Originally Posted by wyldckat View Post
Now it's working properly? This is very strange... OK, run the following commands:
Code:
source $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc
cd $WM_THIRD_PARTY_DIR
export QT_SELECT=qt4
./makeParaView4 -python -mpi -python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 > log.makePV 2>&1
gzip < log.makePV > log.makePV_New.gz
Then attach the file "log.makePV_New.gz" in your next post.
Ok, its here
Attached Files
File Type: gz log.makePV_New.gz (1.1 KB, 1 views)
jamalf64 is offline   Reply With Quote

Old   October 18, 2015, 10:11
Default
  #18
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
OK, now we are getting somewhere. You need to do again the first 3 steps for installing the packages that are needed: https://openfoamwiki.net/index.php/I...u#Ubuntu_15.04
wyldckat is offline   Reply With Quote

Old   October 20, 2015, 16:52
Default
  #19
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 161
Rep Power: 9
jamalf64 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, now we are getting somewhere. You need to do again the first 3 steps for installing the packages that are needed: https://openfoamwiki.net/index.php/I...u#Ubuntu_15.04
Dear Bruno
I forced to reinstall ubuntu and then install OpenFoam from source code. It works fine, now

Thank you so much

Jamal
wyldckat likes this.
jamalf64 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to find the master host : at least one required raunakjung CFX 2 June 1, 2017 07:51
Fluent Parallelization Problem After AC Power Dropped pawl Hardware 5 November 13, 2016 06:08
Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0 sam.ho OpenFOAM Installation 35 April 5, 2014 15:31
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, cfdproject OpenFOAM Meshing & Mesh Conversion 0 April 14, 2009 15:45
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37


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