Open paulsutcliffe opened 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.
Thanks a lot, that was the problem, it's solved now.
The same with php7.0-fpm on Ubuntu14.04. Thanks for help.
Recipe: look_and_feel-tlq::default
* service[ssh] action restart
Error executing action
restart
on resource 'service[ssh]'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
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.