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

[OpenFOAM.com] [Windows] "Error: failed to start one or more containers"

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

Like Tree2Likes
  • 2 Post By matejfor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2016, 10:37
Default [Windows] "Error: failed to start one or more containers"
  #1
New Member
 
Join Date: Mar 2016
Posts: 8
Rep Power: 6
Ambroise is on a distinguished road
Hi everyone!
I have troubles installing OpenFoam for windows.
I follow every steps, everything seems to be well but when I finally click on OpenFOAM_Start (I launch it as administrator since I read that on a forum) I get a message and the shell close (so fast that I had to print the screen to be to read it).

The error message is :

FATA[0000] Error: failed to start one or more containers
FATA[0000] Error response from daemon: no such id: of_plus_300

I reinstalled everything 3times... I don't know what to try... :/

Thank you for your help!
Ambroise is offline   Reply With Quote

Old   March 26, 2016, 10:42
Default
  #2
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 160
Rep Power: 13
matejfor is on a distinguished road
Hi,
few questions: what version on windows are you running?
Any previous installation of virtualbox on you box?
When you were uninstalling before installing again, have you removed the files in:
2) You should additionally remove the following files manually;
C:\Users\$UserName\.boot2docker
C:\Users\$UserName\.ssh
C:\Users\$UserName\.VirtualBox
C:\Users\$UserName\VirtualBox VMs/boot2docker-vm
as described here:
http://www.openfoam.com/download/txt...adme_v3.0+.txt

It solved my problem. Have you followed the intallation steps in this document?
Especially step 2?
Btw. you do not need to run it as administrator as far as I know (at least on W7 pro).
Else you can try to run boot2docker (icon created on the desktop). and type:
docker ps -a to list all containers registred for the docker.
Is the of_plus_300 listed?

hope this helps.
Matej
wyldckat and pgh like this.
matejfor is offline   Reply With Quote

Old   March 28, 2016, 12:21
Default Error when trying to run Openfoam_start after installation on windows
  #3
New Member
 
A Russell
Join Date: Mar 2016
Posts: 13
Rep Power: 6
arussell92 is on a distinguished road
I am struggling to get past the first hurdle having finished installing Openfoam on windows. Below is the text from the command window that appears upon trying to run Openfoam_start. Any suggestions as to what my problem is?

Thanks


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

C:\Program Files (x86)\ESI\OpenFOAM\v3.0+>"C:\Program Files (x86)\ESI\OpenFOAM\v
3.0+\Windows\Scripts\of_start_container.exe" -Arguments "C:\Program Files\Boot2D
ocker for Windows\;C:\Program Files (x86)\Git\bin"
Set-ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\M
icrosoft\PowerShell\1\ShellIds\Microsoft.PowerShel l' is denied.
At C:\Users\0906626r\AppData\Local\Temp\Quest Software\PowerGUI\fd86b2aa-7eb2-4
93d-a41b-6a5287ddc558\of_start_container.ps1:1 char:20
+ Set-ExecutionPolicy <<<< bypass
+ CategoryInfo : NotSpecified: ( [Set-ExecutionPolicy], Unautho
rizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
erShell.Commands.SetExecutionPolicyCommand

************************************************** ***************************.

Welcome to the OpenFOAM Windows Version (v3.0+)
A bash shell will appear with OpenFOAM environment set.
************************************************** ***************************.

Waiting for VM and Docker daemon to start...
.........o
Started.
Writing C:\Users\0906626r\.boot2docker\certs\boot2docker-vm\ca.pem
Writing C:\Users\0906626r\.boot2docker\certs\boot2docker-vm\cert.pem
Writing C:\Users\0906626r\.boot2docker\certs\boot2docker-vm\key.pem

To connect the Docker client to the Docker daemon, please set:
If you are running inside Windows Command Prompt (cmd.exe), copy and paste the
following commands to your terminal to set the environment variables:
set DOCKER_HOST=tcp://192.168.59.103:2376
set DOCKER_CERT_PATH=C:\Users\0906626r\.boot2docker\ce rts\boot2docker-vm
set DOCKER_TLS_VERIFY=1

If you are running inside PowerShell, copy or paste the following commands
to your shell or run "boot2docker shellinit | Invoke-Expression" to set the
environment variables:
$EnvOCKER_HOST = "tcp://192.168.59.103:2376"
$EnvOCKER_CERT_PATH = "C:\Users\0906626r\.boot2docker\certs\boot2doc ker-vm
"
$EnvOCKER_TLS_VERIFY = "1"

Writing C:\Users\0906626r\.boot2docker\certs\boot2docker-vm\ca.pem
Writing C:\Users\0906626r\.boot2docker\certs\boot2docker-vm\cert.pem
Writing C:\Users\0906626r\.boot2docker\certs\boot2docker-vm\key.pem
If you are running inside Windows Command Prompt (cmd.exe), copy and paste the
following commands to your terminal to set the environment variables:
set DOCKER_HOST=tcp://192.168.59.103:2376
set DOCKER_CERT_PATH=C:\Users\0906626r\.boot2docker\ce rts\boot2docker-vm
set DOCKER_TLS_VERIFY=1

If you are running inside PowerShell, copy or paste the following commands
to your shell or run "boot2docker shellinit | Invoke-Expression" to set the
environment variables:
************************************************** ***************************.

Welcome to the OpenFOAM Windows Version (v3.0+)
A bash shell will appear with OpenFOAM environment set.
************************************************** ***************************.

An error occurred trying to connect: Post https://192.168.59.103:2376/v1.18/cont
ainers/of_plus_300/start: dial tcp 192.168.59.103:2376: ConnectEx tcp: A connect
ion attempt failed because the connected party did not properly respond after a
period of time, or established connection failed because connected host has fail
ed to respond.
FATA[0021] Error: failed to start one or more containers
arussell92 is offline   Reply With Quote

Old   March 30, 2016, 08:27
Default
  #4
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 133
Rep Power: 7
pgh is on a distinguished road
run boot2docker (icon created on the desktop). and type:
docker ps -a to list all containers registred for the docker
Also type docker images . Let me know the output of both .
pgh is offline   Reply With Quote

Old   March 30, 2016, 09:44
Default
  #5
New Member
 
A Russell
Join Date: Mar 2016
Posts: 13
Rep Power: 6
arussell92 is on a distinguished road
I reinstalled everything one more time and it appears to be working now, it may have had something to do with it not being reinstalled properly and restarted enough times after enabling hardware visualisation, thanks for the help regardless.
arussell92 is offline   Reply With Quote

Old   March 31, 2016, 02:51
Default I have the same error and installed openfoam 7 times.
  #6
New Member
 
Carlos
Join Date: Mar 2016
Posts: 8
Rep Power: 6
Carlos.cuba is on a distinguished road
Hi all,

I have the same error message:
The error message is :

FATA[0000] Error: failed to start one or more containers
FATA[0000] Error response from daemon: no such id: of_plus_300


I installed OpenFOAM 7 times following the guide. I will appreciate any help,

Carlos


Quote:
Originally Posted by Ambroise View Post
Hi everyone!
I have troubles installing OpenFoam for windows.
I follow every steps, everything seems to be well but when I finally click on OpenFOAM_Start (I launch it as administrator since I read that on a forum) I get a message and the shell close (so fast that I had to print the screen to be to read it).

The error message is :

FATA[0000] Error: failed to start one or more containers
FATA[0000] Error response from daemon: no such id: of_plus_300

I reinstalled everything 3times... I don't know what to try... :/

Thank you for your help!
Carlos.cuba is offline   Reply With Quote

Old   March 31, 2016, 08:33
Default
  #7
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 133
Rep Power: 7
pgh is on a distinguished road
Do these two step and let me know output of these
1) run boot2docker (icon created on the desktop). It will open a terminal windows
now type: 'docker ps -a' to list all containers registered for the docker.
Is the of_plus_300 listed? .

2)Also type command 'docker images' from boot2docker terminal .
Post the output from both .
pgh is offline   Reply With Quote

Old   March 31, 2016, 15:15
Default Follow-up
  #8
New Member
 
Carlos
Join Date: Mar 2016
Posts: 8
Rep Power: 6
Carlos.cuba is on a distinguished road
Hi pgh,

Please find in the following link the screen captures I obtain when I follow your suggestions.

ftp://ftp.engr.oregonstate.edu/pub/c...or_message.pdf

Best regards,
Carlos
Carlos.cuba is offline   Reply With Quote

Old   April 1, 2016, 03:05
Default
  #9
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 133
Rep Power: 7
pgh is on a distinguished road
Hi Carlos
The snapshot shows that openfoam image is there but no container. Please click on OF_Env_Start shortcut to create container.
pgh is offline   Reply With Quote

Old   April 2, 2016, 01:56
Default follow-up
  #10
New Member
 
Carlos
Join Date: Mar 2016
Posts: 8
Rep Power: 6
Carlos.cuba is on a distinguished road
Hi pgh,

Yes, following the guide I clicked on OF_Env_Start before I clicked OpenFOAM_Start. Just in case I did this again. In the ftp site below please find the new messages I get and the videos I obtain when I clicked OF_Env_Start and OpenFOAM_Start.

Link:
ftp://ftp.engr.oregonstate.edu/pub/civil/Leon/

Any help will be appreciated.

Best regards,
Carlos
Carlos.cuba is offline   Reply With Quote

Reply

Tags
openfoam 3.0, openfoam error, openfoam installation, openfoam windows 7

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
Start new Ansys Fluent automatically Malue Fluent UDF and Scheme Programming 0 September 28, 2017 11:53
[OpenFOAM.com] Binary install doesn't start on Ubuntu 16.04 LTS camino123 OpenFOAM Installation 8 September 7, 2017 05:44
What is the command to start a batch file with UDF? h0rst Fluent UDF and Scheme Programming 1 May 24, 2017 04:21
Start a crashed simulation from the iteration when it crashed. alexskerhut FLUENT 0 May 11, 2016 05:33
Lets start the public domain CFD-Project! Heinz Wilkening Main CFD Forum 3 March 11, 1999 23:55


All times are GMT -4. The time now is 10:37.