TalkingQuickly / look_and_feel-tlq

Chef recipe to install basic server admin prettiness
3 stars 36 forks source link

ssh restart error #3

Open paulsutcliffe opened 10 years ago

paulsutcliffe commented 10 years ago

Recipe: look_and_feel-tlq::default

Expected process to exit with [0], but received '1' ---- Begin output of /etc/init.d/ssh start ---- STDOUT: STDERR: ---- End output of /etc/init.d/ssh start ---- Ran /etc/init.d/ssh start returned 1

Resource Declaration:

In /root/chef-solo/cookbooks-2/look_and_feel-tlq/recipes/default.rb

55: service 'ssh' do 56: action :restart 57: end 58: end

Compiled Resource:

Declared in /root/chef-solo/cookbooks-2/look_and_feel-tlq/recipes/default.rb:55:in `from_file'

service("ssh") do action [:restart] supports {:restart=>false, :reload=>false, :status=>false} retries 0 retry_delay 2 service_name "ssh" pattern "ssh" cookbook_name :"look_and_feel-tlq" recipe_name "default" end

Running handlers: [2014-08-09T01:17:58-04:00] ERROR: Running exception handlers Running handlers complete

[2014-08-09T01:17:58-04:00] ERROR: Exception handlers complete [2014-08-09T01:17:58-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out Chef Client failed. 4 resources updated in 6.35731387 seconds [2014-08-09T01:17:58-04:00] ERROR: service[ssh](look_and_feel-tlq::default line 55) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of /etc/init.d/ssh start ---- STDOUT: STDERR: ---- End output of /etc/init.d/ssh start ---- Ran /etc/init.d/ssh start returned 1 [2014-08-09T01:17:59-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) ERROR: RuntimeError: chef-solo failed. See output above.

TalkingQuickly commented 10 years ago

Hey, checkout the note on Ubuntu 14.04 in the Readme for; https://github.com/TalkingQuickly/basic_security-tlq

I believe this is the same issue.

paulsutcliffe commented 10 years ago

Thanks a lot, that was the problem, it's solved now.

dolobanko commented 8 years ago

The same with php7.0-fpm on Ubuntu14.04. Thanks for help.