Skip to content

Instantly share code, notes, and snippets.

View markbate's full-sized avatar

Mark Bate markbate

View GitHub Profile
@markbate
markbate / setup-statsd.sh
Created October 19, 2012 13:13 — forked from KyleAMathews/setup-statsd.sh
Turn an Ubuntu 12.04 Amazon EC2 Micro instance into a StatsD/Bucky/Graphite server
# install git
sudo apt-get update
sudo apt-get install g++ curl libssl-dev apache2-utils make
sudo apt-get install git-core
# download the Node source, compile and install it
cd /opt
git clone https://github.com/joyent/node.git
cd node
git checkout v0.9.2
Gem mixlib-log-1.1.0
Used by
chef-0.9.8 (mixlib-log (>= 1.1.0))
chef-0.8.16 (mixlib-log (>= 1.1.0))
mixlib-authentication-1.1.2 (mixlib-log (>= 0))
mixlib-authentication-1.1.4 (mixlib-log (>= 0))
ohai-0.5.6 (mixlib-log (>= 0))
ohai-0.5.8 (mixlib-log (>= 0))
Gem mixlib-log-1.2.0
@markbate
markbate / knife error
Created March 7, 2011 01:27
knife error received when pointing chef 0.9.14 gem to 0.9.8 server
~ ➤ knife node list
/Library/Ruby/Site/1.8/rubygems.rb:267:in `activate': can't activate mixlib-log (= 1.1.0) for [], already activated mixlib-log-1.2.0 for [] (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:46:in `require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:45:in `each'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:45:in `require'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.14/lib/chef/log.rb:21
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in `require'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.14/lib/chef/config.rb:20
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in `gem_original_require'
Process: Sparrow [13406]
Path: /Applications/Sparrow.app/Contents/MacOS/Sparrow
Identifier: org.etpan.sparrow
Version: 1.0beta (298)
Code Type: X86-64 (Native)
Parent Process: launchd [152]
Date/Time: 2010-10-05 18:27:07.642 +1100
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6
(in /Users/markbate/Dev/Mekentosj/Livfe/chef-repo)
INFO: ** activemq **
INFO: Saving activemq
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Generating Metadata
INFO: Uploading files
INFO: Uploading /Users/markbate/Dev/Mekentosj/Livfe/chef-repo/cookbooks/activemq/templates/default/sv-activemq-run.erb (checksum hex = 33ee727d3355ab5a70ffdbf04f79bb23) to http://chef.livfe.net:4000/sandboxes/6405ebea8ec048a895c81148ca0bc7db/33ee727d3355ab5a70ffdbf04f79bb23
INFO: Uploading /Users/markbate/Dev/Mekentosj/Livfe/chef-repo/cookbooks/activemq/README.rdoc (checksum hex = ace4705deee63c40f302893948d20abe) to http://chef.livfe.net:4000/sandboxes/6405ebea8ec048a895c81148ca0bc7db/ace4705deee63c40f302893948d20abe
We couldn’t find that file to show.
INFO: ** activemq **
INFO: Saving activemq
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Generating Metadata
INFO: Uploading files
WARN: HTTP Request Returned 500 Internal Server Error: Connection refused - connect(2)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError)
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:229:in `api_request'