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

foamLog error in OpenFoam 2.0.1

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

Like Tree5Likes
  • 5 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   November 7, 2011, 11:53
Default foamLog error in OpenFoam 2.0.1
  #1
Member
 
Join Date: Jul 2011
Posts: 42
Rep Power: 5
A.D.E is on a distinguished road
Hello all!!!

I tried to run foamLog in OpenFoam 2.0.1 and I get the following error message:

bash: /opt/openfoam201/bin/foamLog: Permission denied

Does anyone know why?

Thankd you,

A.D.E
A.D.E is offline   Reply With Quote

Old   November 7, 2011, 12:19
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,066
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
use:
sudo foamLog
nimasam is offline   Reply With Quote

Old   November 7, 2011, 15:33
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,326
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings to all!

Actually the problem is due to a very strange glitch... in "/opt/openfoam200" foamLog had permissions to execute, but in "/opt/openfoam201" it no longer has.

Run the following command and it'll only be necessary once per installation:
Code:
sudo chmod +x /opt/openfoam201/bin/foamLog
It will give permissions back to foamLog for script execution.
edit: I forgot about sudo before posting!

Best regards,
Bruno

Last edited by wyldckat; November 7, 2011 at 15:34. Reason: forgot about sudo ...
wyldckat is offline   Reply With Quote

Old   November 8, 2011, 08:18
Default
  #4
Member
 
Join Date: Jul 2011
Posts: 42
Rep Power: 5
A.D.E is on a distinguished road
Thank you both. The code works perfectly.



Best regards,


A.D.E
A.D.E is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SpalartAllmaras wall function in OpenFOAM 2.0.1 moser_r OpenFOAM Running, Solving & CFD 4 September 18, 2013 17:37
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
OpenFoam 2.0.1 installation shailesh.nitk OpenFOAM Installation 4 October 4, 2011 08:50
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56


All times are GMT -4. The time now is 05:49.