[Archivesspace_Users_Group] setup database jdbc failure

Holland, Andrew S andrew-holland at uiowa.edu
Thu May 21 11:26:47 EDT 2015


I'm having trouble getting the database setup to finish. As of now, it gets as far as creating the user table before it stops. Has anyone dealt with this?

Output:

Loading ArchivesSpace configuration file from path: /local/vol00/srv/www/htdocs/aspace/archivesspace/config/config.rb
Loading ArchivesSpace configuration file from path: /local/vol00/srv/www/htdocs/aspace/archivesspace/config/config.rb
Running migrations against jdbc:mysql://localhost:3306/as_migration?user=ad_admin_migrat&password=xxxxxxxxxxxxxx&useUnicode=true&characterEncoding=UTF-8
Sequel::DatabaseError: Java::ComMysqlJdbcExceptionsJdbc4::CommunicationsException: Communications link failure

The last packet successfully received from the server was 34 milliseconds ago.  The last packet sent successfully to the server was 32 milliseconds ago.
                  raise_error at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/database/misc.rb:313
                    statement at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/adapters/jdbc.rb:563
                    statement at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/adapters/jdbc.rb:561
                      execute at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/adapters/jdbc.rb:255
                         hold at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:104
                         hold at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:93
                  synchronize at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:240
                      execute at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/adapters/jdbc.rb:254
                  execute_ddl at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/adapters/jdbc.rb:277
            apply_alter_table at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/adapters/utils/split_alter_table.rb:32
                         each at org/jruby/RubyArray.java:1613
            apply_alter_table at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/adapters/utils/split_alter_table.rb:32
                         each at org/jruby/RubyArray.java:1613
            apply_alter_table at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/adapters/utils/split_alter_table.rb:30
  apply_alter_table_generator at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/database/schema_methods.rb:349
                  alter_table at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/database/schema_methods.rb:78
                       (root) at file:/local/vol00/srv/www/htdocs/aspace/archivesspace/lib/common.jar!/db/migrations/001_create_base_schema.rb:355
                instance_eval at org/jruby/RubyBasicObject.java:1536
                        apply at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/extensions/migration.rb:94
                          run at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/extensions/migration.rb:519
          checked_transaction at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/extensions/migration.rb:456
                          run at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/extensions/migration.rb:518
                         each at org/jruby/RubyArray.java:1613
                          run at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/extensions/migration.rb:514
                          run at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/extensions/migration.rb:381
               setup_database at file:/local/vol00/srv/www/htdocs/aspace/archivesspace/lib/common.jar!/db/db_migrator.rb:126
                       (root) at ../scripts/rb/migrate_db.rb:43
                      connect at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:80
                      connect at /local/vol00/srv/www/htdocs/aspace/archivesspace/gems/gems/sequel-3.41.0/lib/sequel/core.rb:147
                       (root) at ../scripts/rb/migrate_db.rb:28

Thank you,

-Andrew Holland

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150521/aab0d014/attachment.html>


More information about the Archivesspace_Users_Group mailing list