Skip to content

Instantly share code, notes, and snippets.

View jjdevbiz's full-sized avatar
💭
MEOOOOWWWWWWWWWW

jjdevbiz

💭
MEOOOOWWWWWWWWWW
View GitHub Profile
@jjdevbiz
jjdevbiz / genesis_public_key
Created February 28, 2018 09:53
genesis_public_key
04e2abb2aa1eb98c534b5e9144015028221a1a007536ec24f8ed36f5d43ce59349e60b70695e283b37b91ec0f9cc7c7988791acafbd1a8418a842ffbeedf487621
@jjdevbiz
jjdevbiz / kitchen-vagrant.err
Created August 27, 2015 18:53
kitchen-vagrant error
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.
@jjdevbiz
jjdevbiz / docker-sc4-error.py
Created August 26, 2015 22:32
docker-sc4-error.py
Installing collected packages: Adafruit-BBIO, gevent, webapp2, webob, python-memcached, ws4py, jinja2, peewee, greenlet, MarkupSafe
Running setup.py install for Adafruit-BBIO
building 'Adafruit_BBIO.GPIO' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c source/py_gpio.c -o build/temp.linux-x86_64-2.7/source/py_gpio.o -Wno-format-security
source/py_gpio.c:31:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
@jjdevbiz
jjdevbiz / error.txt
Created August 5, 2015 22:43
knife bootstrap error
DEBUG: Using the specified bootstrap template: /home/jjohnson/.chef/bootstrap
ERROR: knife encountered an unexpected error
This may be a bug in the 'bootstrap' knife command or plugin
Please collect the output of this command with the `-VV` option before filing a bug report.
Exception: NameError: undefined local variable or method `chef_version' for #<Chef::Knife::Core::BootstrapContext:0x0000000405d1e8>
@jjdevbiz
jjdevbiz / chef-12-error.txt
Created January 8, 2015 21:07
chef-server-core-12.0.0-1.el6.x86_64.rpm chef-server-ctl reconfigure
* execute[bifrost_schema] action run
================================================================================
Error executing action `run` on resource 'execute[bifrost_schema]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0, 1], but received '127'
---- Begin output of sqitch --engine pg --db-name bifrost --top-dir /opt/opscode/embedded/service/oc_bifrost/db deploy --verify ----
@jjdevbiz
jjdevbiz / test-kitchen-omnibus
Created November 12, 2014 23:31
test-kitchen issue not being able to pull
-----> Installing Chef Omnibus (true)
downloading https://www.getchef.com/chef/install.sh
to file /tmp/install.sh
trying curl...
curl: (6) Couldn't resolve host 'www.getchef.com'
trying python...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
@jjdevbiz
jjdevbiz / berks_stacktrace
Created August 11, 2014 20:25
berks celluloid stacktrace
$ berks upload --force
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0.pre2/lib/celluloid/actor.rb:357:in `each': task was terminated (Celluloid::Task::TerminatedError)
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0.pre2/lib/celluloid/actor.rb:357:in `cleanup'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0.pre2/lib/celluloid/actor.rb:341:in `shutdown'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0.pre2/lib/celluloid/actor.rb:333:in `handle_crash'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0.pre2/lib/celluloid/actor.rb:162:in `rescue in run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0.pre2/lib/celluloid/actor.rb:148:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0.pre2/lib/celluloid/actor.rb:130:in `block in start'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0.pre2/lib/celluloid/thre
@jjdevbiz
jjdevbiz / bashrc
Created July 31, 2014 20:41
bash.bashrc from linux mint 17
if [ -f ~/.mint.bashrc ]; then
source ~/.mint.bashrc
fi
@jjdevbiz
jjdevbiz / gitlab-ctl-reconfigure-error
Created July 17, 2014 16:11
gitlab-ctl reconfigure pgsql error
* execute[create gitlab database user] action run
================================================================================
Error executing action `run` on resource 'execute[create gitlab database user]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '2'
---- Begin output of /opt/gitlab/embedded/bin/psql --port 2345 -d template1 -c "CREATE USER gitlab" ----
@jjdevbiz
jjdevbiz / chef-stacktrace.out
Created July 15, 2014 18:54
postgres error on chef-server-ctl reconfigure
Generated at 2014-07-15 13:48:50 -0500
PG::ConnectionBad: chef-server_pg_user[opscode_chef] (chef-server::postgresql line 170) had an error: PG::ConnectionBad: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
/opt/chef-server/embedded/cookbooks/chef-server/libraries/ec_postgres.rb:22:in `initialize'
/opt/chef-server/embedded/cookbooks/chef-server/libraries/ec_postgres.rb:22:in `new'
/opt/chef-server/embedded/cookbooks/chef-server/libraries/ec_postgres.rb:22:in `block in with_connection'
/opt/chef-server/embedded/cookbooks/chef-server/libraries/ec_postgres.rb:40:in `as_user'
/opt/chef-server/embedded/cookbooks/chef-server/libraries/ec_postgres.rb:21:in `with_connection'