[chef] Re: Docker install cookbook error


Chronological Thread 
  • From: "kritivagop01 ." < >
  • To:
  • Subject: [chef] Re: Docker install cookbook error
  • Date: Fri, 28 Nov 2014 15:14:36 +0530

hi,

kill existing pid for docker start again 

     /var/run/docker.pid still exists...


thanks,


On Fri, Nov 28, 2014 at 3:09 PM, Mukta A < " target="_blank"> > wrote:
Hi

I am trying to install docker using the Docker cookbook. I get the following error.
The target OS is centos 6.5 . Is that an issue? Please help.

* service[docker] action start


     ================================================================================

     Error executing action `start` on resource 'service[docker]'

     ================================================================================


     Mixlib::ShellOut::ShellCommandFailed

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

     Expected process to exit with [0], but received '7'

     ---- Begin output of /sbin/service docker start ----

     STDOUT: [FAILED]

     /var/run/docker.pid still exists...

     STDERR:

     ---- End output of /sbin/service docker start ----

     Ran /sbin/service docker start returned 7


     Resource Declaration:

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

     # In /var/chef/cache/cookbooks/docker/recipes/sysv.rb


      21: service 'docker' do

      22:   supports :status => true, :restart => true, :reload => true

      23:   action [:start, :enable]

      24: end


     Compiled Resource:

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

     # Declared in /var/chef/cache/cookbooks/docker/recipes/sysv.rb:21:in `from_file'


     service("docker") do

       action [:start, :enable]

       updated true

       supports {:status=>true, :restart=>true, :reload=>true}

       retries 0

       retry_delay 2

       guard_interpreter :default

       service_name "docker"

       enabled true

       running true

       pattern "docker"

       cookbook_name "docker"

       recipe_name "sysv"

     end


 Recipe: ntp::default

   * service[ntpd] action restart

     - restart service service[ntpd]





Archive powered by MHonArc 2.6.16.

§