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
Intergalactic:goab andy$ tail -f /usr/local/var/postgres/server.log | |
LOG: shutting down | |
LOG: database system is shut down | |
FATAL: could not create shared memory segment: Cannot allocate memory | |
DETAIL: Failed system call was shmget(key=5432001, size=3809280, 03600). | |
HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory or swap space, or exceeded your kernel's SHMALL parameter. You can either reduce the request size or reconfigure the kernel with larger SHMALL. To reduce the request size (currently 3809280 bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or max_connections. | |
The PostgreSQL documentation contains more information about shared memory configuration. | |
FATAL: could not create shared memory segment: Cannot allocate memory | |
DETAIL: Failed system call was shmget(key=5432001, size=3809280, 03600). | |
HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory |
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
Intergalactic:goab andy$ go run cmd/api/main.go -v=2 -logtostderr | |
I1002 18:30:46.511230 04881 context.go:409] api] listening on :8080 using dev environment | |
I1002 18:30:57.312329 04881 context.go:409] 2536296600185028843] objectGet dvd-notices-2013-06-07T09-38/38-908444363112054785: 636 bytes | |
I1002 18:30:57.312796 04881 context.go:409] 2536296600185028843] GET /api/v3/projects/1055/groups/38/notices/908444363112054785?key=6aa9fafd92d1f4710e18b5d6267b03ebd3af9ea1 200 0 | |
I1002 18:30:57.547781 04881 context.go:409] 3920556522908792869] GET /api/v3/projects/1055/deploys/6794179?key=6aa9fafd92d1f4710e18b5d6267b03ebd3af9ea1 200 0 | |
I1002 18:31:15.374880 04881 context.go:409] 2083826019409258457] GET /api/v3/projects/1055?key=6aa9fafd92d1f4710e18b5d6267b03ebd3af9ea1 200 0 | |
I1002 18:31:15.722832 04881 context.go:409] 8242105463466455663] GET /api/v3/projects/1055/groups?group_id=38&key=6aa9fafd92d1f4710e18b5d6267b03ebd3af9ea1 200 0 | |
I1002 18:31:15.724571 04881 context.go:409] 8235341712552577421] objectGet from cache dvd-n |
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
Intergalactic:airbrake-app andy$ gem install activerecord-postgresql-adapter | |
Successfully installed activerecord-postgresql-adapter-0.0.1 | |
Parsing documentation for activerecord-postgresql-adapter-0.0.1 | |
1 gem installed | |
Intergalactic:airbrake-app andy$ rake db:migrate | |
rake aborted! | |
Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.) | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:7:in `<top (required)>' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' |
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
development: | |
adapter: mysql2 | |
database: airbrake_development | |
test: &TEST | |
adapter: mysql2 | |
database: airbrake_test | |
cucumber: | |
<<: *TEST |
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
Intergalactic:airbrake-app andy$ bundle exec rake db:migrate | |
rake aborted! | |
Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.) | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:7:in `<top (required)>' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' | |
/Users/a |
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
Intergalactic:airbrake-app andy$ rake db:migrate | |
----> No REDIS_RESQUE_URL in the env <----- | |
rake aborted! | |
bad URI(is not URI?): | |
/Users/andy/Sites/repository/airbrake-app/config/initializers/resque.rb:2:in `<top (required)>' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `block in load' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' |
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
Intergalactic:airbrake-app andy$ export $(cat .env) | |
Intergalactic:airbrake-app andy$ rake db:migrate | |
== AddMissingIndexToActivities: migrating ==================================== | |
-- add_index(:activities, :trackable_id) | |
-> 34.7378s | |
== AddMissingIndexToActivities: migrated (34.7379s) ========================== | |
== RemoveOptOutFromAccounts: migrating ======================================= | |
-- remove_column(:accounts, :opt_out) | |
-> 4.3343s |
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
Intergalactic:airbrake-app andy$ rake db:migrate | |
rake aborted! | |
Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.) | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:7:in `<top (required)>' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' | |
/Users/andy/.rvm/gems/ruby-2.0.0-p247@airbrake/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' | |
/Users/andy/.rvm/gem |
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
Intergalactic:airbrake-app andy$ export $(cat .env) | |
Intergalactic:airbrake-app andy$ rake db:migrate | |
== AddNotificationsSettingsToProjectMemberships: migrating =================== | |
-- column_exists?(:project_memberships, :send_email_on_error) | |
-> 0.0026s | |
-- add_column(:project_memberships, :send_email_on_error, :boolean, {:default=>true}) | |
-> 1.6808s | |
-- column_exists?(:project_memberships, :send_email_on_comment) | |
-> 0.0022s | |
-- add_column(:project_memberships, :send_email_on_comment, :boolean, {:default=>true}) |
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
memcache: memcached | |
redis: redis-server | |
resque: bundle exec rake resque:work QUEUE=* INTERVAL=0.5 | |
logs: tail -f /Users/andy/Sites/repository/airbrake-app/log/development.log | |
api: go run /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/api.go -c /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/config/dev.json -logtostderr -v=3 | |
worker: go run /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/worker.go -c /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/config/dev.json -logtostderr -v=3 | |
scheduler: go run /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/scheduler.go -c /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/config/dev.json -logtostderr -v=3 | |
# coffee: coffee -c -w -o /Users/andy/Sites/repository/airbrake-app/app/assets/javascripts /Users/andy/Sites/repository/airbrake-app/app/assets/coffee |