GithubHelp home page GithubHelp logo

chef-jboss7's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chef-jboss7's Issues

Please publish latest version 0.11.2 to Chef Supermarket

I am new to chef etc so apologies is this is not the correct etiquette.
I have a Berksfile that uses Chef Supermarket which currently uses 0.11.1. When I clicked the link to view source it takes me to 0.11.2 which caused a few headscratching moments until I realised the code I was looking at was not the code that was being run on my instance (more specifically I was falling foul of the hardcoded user and group of "web" that was fixed in cc87c21

Error executing action `enable` on resource 'service[jboss]'

HI
i'm running jboos7 cookbook on centos65 and getting below error

  • jboss7_user[Administrator] action create

    • Create jboss7_user[Administrator]
  • service[jboss] action nothing (skipped due to action :nothing)

  • service[jboss] action enable

    ================================================================================
    Error executing action enable on resource 'service[jboss]'

    Errno::ENOENT

    No such file or directory - /usr/sbin/update-rc.d -n -f jboss remove

    Resource Declaration:

    In /var/chef/cache/cookbooks/jboss7/recipes/default.rb

    102: service 'jboss' do
    103: provider Chef::Provider::Service::Init::Debian
    104: restart_command "/etc/init.d/jboss stop; sleep 10; nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
    105: start_command "nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
    106: action [ :nothing ]
    107: end

    Compiled Resource:

    Declared in /var/chef/cache/cookbooks/jboss7/recipes/default.rb:102:in `from_file'

    service("jboss") do
    provider Chef::Provider::Service::Debian
    action [:nothing]
    supports {:restart=>false, :reload=>false, :status=>false}
    retries 0
    retry_delay 2
    guard_interpreter :default
    service_name "jboss"
    pattern "jboss"
    start_command "nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
    restart_command "/etc/init.d/jboss stop; sleep 10; nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
    cookbook_name "jboss7"
    recipe_name "default"
    end

  • service[jboss] action restart

    ================================================================================
    Error executing action restart on resource 'service[jboss]'

    Errno::ENOENT

    No such file or directory - /usr/sbin/update-rc.d -n -f jboss remove

    Resource Declaration:

    In /var/chef/cache/cookbooks/jboss7/recipes/default.rb

    102: service 'jboss' do
    103: provider Chef::Provider::Service::Init::Debian
    104: restart_command "/etc/init.d/jboss stop; sleep 10; nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
    105: start_command "nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
    106: action [ :nothing ]
    107: end

    Compiled Resource:

    Declared in /var/chef/cache/cookbooks/jboss7/recipes/default.rb:102:in `from_file'

    service("jboss") do
    provider Chef::Provider::Service::Debian
    action [:nothing]
    supports {:restart=>false, :reload=>false, :status=>false}
    retries 0
    retry_delay 2
    guard_interpreter :default
    service_name "jboss"
    pattern "jboss"
    start_command "nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
    restart_command "/etc/init.d/jboss stop; sleep 10; nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
    cookbook_name "jboss7"
    recipe_name "default"
    end

    Running handlers:
    [2014-11-13T19:19:23+05:30] ERROR: Running exception handlers
    Running handlers complete
    [2014-11-13T19:19:23+05:30] ERROR: Exception handlers complete
    [2014-11-13T19:19:23+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
    Chef Client failed. 13 resources updated in 293.218262398 seconds
    [2014-11-13T19:19:23+05:30] ERROR: Chef::Exceptions::MultipleFailures
    [2014-11-13T19:19:24+05:30] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.