This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chef-client -t `cat /etc/chef/validation_token` -j firehoser-ruby-role.json | |
INFO: Starting Chef Run | |
/opt/ruby-enterprise/lib/ruby/1.8/net/http.rb:2097:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError) | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/rest.rb:233:in `run_request' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/rest.rb:95:in `post_rest' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/client.rb:228:in `create_registration' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/client.rb:206:in `register' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/client.rb:78:in `run' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/application/client.rb:186:in `run_application' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/application/client.rb:178:in `loop' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ Started request handling: Thu Oct 08 04:28:01 +0000 2009 | |
~ Params: {"format"=>nil, "node"=>"firehoser1.superfeedr.com", "action"=>"show", "id"=>"_provider_files", "controller"=>"chef_server_slice/cookbooks"} | |
~ Cannot find a cookbook named _provider_files; did you forget to add metadata to a cookbook? (http://wiki.opscode.com/display/chef/Metadata) - (ArgumentError) | |
/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/cookbook_loader.rb:111:in `[]' | |
/usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.7.4/app/controllers/cookbooks.rb:34:in `show' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:315:in `send' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:315:in `_call_action' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/merb_controller.rb:252:in `_dispatch' | |
/usr/lib/ruby/gems/1.8/gems/merb-cor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/apache2/sites-enabled/chef_server.conf | |
<VirtualHost *:443> | |
ServerName chef.superfeedr.com | |
ServerAlias chef | |
DocumentRoot /usr/lib/ruby/gems/1.8/gems/chef-server-0.7.4/public | |
Alias /facebox /usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.7.4/public/facebox | |
Alias /images /usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.7.4/public/images | |
Alias /javascripts /usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.7.4/public/javascripts | |
Alias /stylesheets /usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.7.4/public/stylesheets |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# set memory limit to 250MB | |
exec 2>&1 | |
exec chpst -m 262144000 /usr/bin/env chef-client -i 1800 -s 20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'sinatra' | |
# Accepts subscriptions vcerification and unsubscription verification | |
get '/ok' do | |
params['hub.challenge'] | |
end | |
# Upon notification... You just need to parse the body to extract the new entries :) | |
post '/ok' do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "eventmachine" | |
EM.epoll | |
EM.run { | |
now = Time.now | |
EM.add_periodic_timer(1) { | |
puts (Time.now - (now + 1)) | |
now = Time.now | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Exception Errno::EPIPE in Passenger RequestHandler (Broken pipe) (process 6788): | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/request_handler.rb:109:in `write' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/request_handler.rb:109:in `process_request' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/request_handler.rb:108:in `each' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/request_handler.rb:108:in `process_request' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/application_spawner.rb:114:in `run' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/application_spawner.rb:65:in `spawn_application' | |
from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#user nobody; | |
worker_processes 4; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ pid=7896 file=ext/nginx/HelperServer.cpp:478 time=2010-01-09 22:12:09.480 ]: | |
Couldn't forward the HTTP response back to the HTTP client: It seems the user clicked on the 'Stop' button in his browser. | |
*** Exception Errno::EPIPE in Passenger RequestHandler (Broken pipe) (process 8005): | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/request_handler.rb:109:in `write' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/request_handler.rb:109:in `process_request' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/request_handler.rb:108:in `each' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/rack/request_handler.rb:108:in `process_request' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.9/lib/phu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"GET /ok?hub.topic=http%3A%2F%2Fsuperfeedr.com%2Fdummy.xml&hub.verify_token=&hub.challenge=ded417ae56996630a580b8c5e1b633b1&hub.lease_seconds=&hub.mode=subscribe HTTP/1.1" 200 32 0.0000 |