Skip to content

Instantly share code, notes, and snippets.

@sigmonsays
Created November 3, 2009 19:31
Show Gist options
  • Save sigmonsays/225356 to your computer and use it in GitHub Desktop.
Save sigmonsays/225356 to your computer and use it in GitHub Desktop.
---- Begin output of /etc/init.d/apache2 start ----
STDOUT: Starting web server: apache2 failed!STDERR: Syntax error on line 4 of /etc/apache2/sites-enabled/chef_server.conf:
DocumentRoot takes one argument, Root directory of the document tree---- End output of /etc/init.d/apache2 start ----
/usr/lib/ruby/1.8/chef/mixin/command.rb:175:in `handle_command_failures'/usr/lib/ruby/1.8/chef/mixin/command.rb:118:in `run_command'/usr/lib/ruby/1.8/chef/provider/service/init.rb:37:in `start_service'/usr/lib/ruby/1.8/chef/provider/service.rb:62:in `action_start'/usr/lib/ruby/1.8/chef/runner.rb:61:in `send'/usr/lib/ruby/1.8/chef/runner.rb:61:in `run_action'/usr/lib/ruby/1.8/chef/runner.rb:111:in `converge'/usr/lib/ruby/1.8/chef/runner.rb:110:in `each'/usr/lib/ruby/1.8/chef/runner.rb:110:in `converge'/usr/lib/ruby/1.8/chef/resource_collection.rb:86:in `execute_each_resource'/usr/lib/ruby/1.8/chef/mixin/from_file.rb:30:in `each_with_index'/usr/lib/ruby/1.8/chef/resource_collection.rb:84:in `each'/usr/lib/ruby/1.8/chef/resource_collection.rb:84:in `each_with_index'/usr/lib/ruby/1.8/chef/resource_collection.rb:84:in `execute_each_resource'/usr/lib/ruby/1.8/chef/runner.rb:88:in `converge'/usr/lib/ruby/1.8/chef/client.rb:407:in `converge'/usr/lib/ruby/1.8/chef/client.rb:89:in `run'/usr/lib/ruby/1.8/chef/application/client.rb:186:in `run_application'/usr/lib/ruby/1.8/chef/application/client.rb:178:in `loop'/usr/lib/ruby/1.8/chef/application/client.rb:178:in `run_application'/usr/lib/ruby/1.8/chef/application.rb:57:in `run'/usr/bin/chef-client:25
[Tue, 03 Nov 2009 19:28:03 +0000] ERROR: Chef::Exceptions::Exec
[Tue, 03 Nov 2009 19:28:03 +0000] FATAL: /etc/init.d/apache2 start returned 1, expected 0
---- Begin output of /etc/init.d/apache2 start ----
STDOUT: Starting web server: apache2 failed!STDERR: Syntax error on line 4 of /etc/apache2/sites-enabled/chef_server.conf:
DocumentRoot takes one argument, Root directory of the document tree---- End output of /etc/init.d/apache2 start ----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment