Error on rename of './snorby/delayed_jobs' to './snorby/#sql2-48cb-1f' (errno: -1) #199

Closed
dnadle opened this Issue May 26, 2012 · 0 comments

Comments

Projects
None yet
2 participants

dnadle commented May 26, 2012

I'm getting an error creating the snorby database when running rake snorby:setup. Setup bombs out and the resulting snorby database only has one table ('delayed_jobs'). I have to manually drop the table to try again.

This is the latest git clone, installing on CentOS 6.2:

bundle exec rake snorby:setup --trace

Jammit Warning: Asset compression disabled -- Java unavailable.
** Invoke snorby:setup (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute snorby:setup
** Invoke secret (first_time)
** Execute secret
** Invoke db:create (first_time)
** Invoke environment
** Execute db:create
[ a bunch of hex omitted...]
** Invoke snorby:update (first_time)
** Invoke environment
** Execute snorby:update
** Invoke db:autoupgrade (first_time)
** Invoke environment
** Execute db:autoupgrade
rake aborted!
Error on rename of './snorby/delayed_jobs' to './snorby/#sql2-48cb-1f' (errno: -1)
/usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-do-adapter.rb💯in execute_non_query' /usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-do-adapter.rb:100:inblock (2 levels) in create_model_storage'
/usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-do-adapter.rb:98:in each' /usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-do-adapter.rb:98:inblock in create_model_storage'
/usr/local/lib/ruby/gems/1.9.1/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:276:in with_connection' /usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-do-adapter.rb:93:increate_model_storage'
/usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-do-adapter.rb:57:in upgrade_model_storage' /usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:73:inupgrade_model_storage'
/usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:145:in auto_upgrade!' /usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:47:inblock in repository_execute'
/usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:46:in each' /usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:46:inrepository_execute'
/usr/local/lib/ruby/gems/1.9.1/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:27:in auto_upgrade!' /usr/local/lib/ruby/gems/1.9.1/gems/dm-rails-1.2.0/lib/dm-rails/railties/database.rake:47:inblock (3 levels) in <top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/dm-rails-1.2.0/lib/dm-rails/railties/database.rake:46:in each' /usr/local/lib/ruby/gems/1.9.1/gems/dm-rails-1.2.0/lib/dm-rails/railties/database.rake:46:inblock (2 levels) in <top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in call' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:inblock in execute'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in each' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:inexecute'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:158:in block in invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:151:in invoke_with_call_chain' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:144:ininvoke'
/var/www/html/snorby/lib/tasks/snorby.rake:41:in block (2 levels) in <top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:incall'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in block in execute' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:ineach'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in execute' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:158:inblock in invoke_with_call_chain'
/usr/local/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:144:in invoke' /var/www/html/snorby/lib/tasks/snorby.rake:34:inblock (2 levels) in <top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in call' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:inblock in execute'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in each' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:inexecute'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:158:in block in invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:151:in invoke_with_call_chain' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:144:ininvoke'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:112:in invoke_task' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:inblock (2 levels) in top_level'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in each' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:inblock in top_level'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in standard_exception_handling' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:84:intop_level'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:62:in block in run' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:instandard_exception_handling'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:59:in run' /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/bin/rake:32:in<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/bin/rake:19:in load' /usr/local/lib/ruby/gems/1.9.1/bin/rake:19:in

'
Tasks: TOP => db:autoupgrade
[datamapper] Created database 'snorby'

@mephux mephux closed this May 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment