{"action":"closed","issue":{"url":"https://api.github.com/repos/TalkingQuickly/rails-server-template/issues/28","labels_url":"https://api.github.com/repos/TalkingQuickly/rails-server-template/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/TalkingQuickly/rails-server-template/issues/28/comments","events_url":"https://api.github.com/repos/TalkingQuickly/rails-server-template/issues/28/events","html_url":"https://github.com/TalkingQuickly/rails-server-template/issues/28","id":59797688,"number":28,"title":"Error executing action `run` on resource 'execute[restart-monit]'","user":{"login":"jose8a","id":817855,"avatar_url":"https://avatars.githubusercontent.com/u/817855?v=3","gravatar_id":"","url":"https://api.github.com/users/jose8a","html_url":"https://github.com/jose8a","followers_url":"https://api.github.com/users/jose8a/followers","following_url":"https://api.github.com/users/jose8a/following{/other_user}","gists_url":"https://api.github.com/users/jose8a/gists{/gist_id}","starred_url":"https://api.github.com/users/jose8a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jose8a/subscriptions","organizations_url":"https://api.github.com/users/jose8a/orgs","repos_url":"https://api.github.com/users/jose8a/repos","events_url":"https://api.github.com/users/jose8a/events{/privacy}","received_events_url":"https://api.github.com/users/jose8a/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T13:33:00Z","updated_at":"2015-03-04T15:02:33Z","closed_at":"2015-03-04T15:02:33Z","body":"I recently bought the book and am trying to follow the book through the first few chapers on Chef Solo and provisioning a VPS on Digital Ocean.  \r\n\r\nAnyways, I've googled around the error I received and can't find any viable solution.  Hoping this is a known issue.  Or maybe based on a recent change in the scripts.  I cloned them about two days ago.\r\n\r\nHere's the whole error output below -----------------------------\r\n\r\nRecipe: monit_configs-tlq::redis-server\r\n  * execute[restart-monit] action run\r\n    \r\n    ================================================================================\r\n    Error executing action `run` on resource 'execute[restart-monit]'\r\n    ================================================================================\r\n    \r\n    Mixlib::ShellOut::ShellCommandFailed\r\n    ------------------------------------\r\n    Expected process to exit with [0], but received '1'\r\n    ---- Begin output of monit reload ----\r\n    STDOUT: \r\n    STDERR: /etc/monit/monitrc:10: Error: erroneous network or host identifier REPLACE 'REPLACE'\r\n    /etc/monit/monitrc:10: Error: syntax error 'USERNAME'\r\n    ---- End output of monit reload ----\r\n    Ran monit reload returned 1\r\n    \r\n    Resource Declaration:\r\n    ---------------------\r\n    # In /root/chef-solo/cookbooks-2/monit_configs-tlq/recipes/redis-server.rb\r\n    \r\n      9: execute \"restart-monit\" do\r\n     10:   command \"initctl reload-configuration\"\r\n     11:   command \"monit reload\"\r\n     12:   action :nothing\r\n     13: end\r\n    \r\n    Compiled Resource:\r\n    ------------------\r\n    # Declared in /root/chef-solo/cookbooks-2/monit_configs-tlq/recipes/redis-server.rb:9:in `from_file'\r\n    \r\n    execute(\"restart-monit\") do\r\n      action [:nothing]\r\n      retries 0\r\n      retry_delay 2\r\n      guard_interpreter :default\r\n      command \"monit reload\"\r\n      backup 5\r\n      returns 0\r\n      cookbook_name :\"monit_configs-tlq\"\r\n      recipe_name \"redis-server\"\r\n    end\r\n    \r\nRecipe: ntp::default\r\n  * service[ntp] action restart\r\n    - restart service service[ntp]\r\n\r\nRunning handlers:\r\n[2015-03-03T11:18:51-05:00] ERROR: Running exception handlers\r\nRunning handlers complete\r\n[2015-03-03T11:18:51-05:00] ERROR: Exception handlers complete\r\n[2015-03-03T11:18:51-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out\r\nChef Client failed. 11 resources updated in 13.439035481 seconds\r\n[2015-03-03T11:18:51-05:00] ERROR: execute[restart-monit] (monit_configs-tlq::redis-server line 9) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'\r\n---- Begin output of monit reload ----\r\nSTDOUT: \r\nSTDERR: /etc/monit/monitrc:10: Error: erroneous network or host identifier REPLACE 'REPLACE'\r\n/etc/monit/monitrc:10: Error: syntax error 'USERNAME'\r\n---- End output of monit reload ----\r\nRan monit reload returned 1\r\n[2015-03-03T11:18:52-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)\r\nERROR: RuntimeError: chef-solo failed. See output above."}}