[Archivesspace_Users_Group] Backup error

Richard Ho rho at folkartmuseum.org
Fri Jul 10 12:10:52 EDT 2015


I'm currently running ArchivesSpace 1.2 with mysql and tomcat running.
Running the backup script produced this massive error pasted below.    I
have a solr directory in my Tomcat 7.0 folder.  Also in my tomcat 7.0
folder, it has a subfolder "work" with ArchivesSpaceBackend,
ArchivesSpaceFrontend, ArchivesSpaceIndexer, ArchivesSpacePublic,
ArchivesSpaceSolr and Catalina folders.  Should I edit the config.rb file
AppConfig[:solr_index_directory] to point to c:\Tomcat 7.0\solr or
c:\Tomcat 7.0\work\ArchivesSpaceSolr?


C:\archivesspace\scripts>backup.bat --mysqldump --output
/archivesspace/backup.z

ip

Loading ArchivesSpace configuration file from path:
C:\archivesspace\scripts\\..

/config/config.rb

Loading ArchivesSpace configuration file from path:
C:\archivesspace\scripts\\..

/config/config.rb

2015-07-07 11:37:49 -0400: Writing backup to C:/archivesspace/backup.zip

ERROR: Solr snapshot failed (Solr snapshot failed: Connection refused -
Connecti

on refused: ["org/jruby/ext/socket/RubyTCPSocket.java:126:in `initialize'",
"org

/jruby/RubyIO.java:1177:in `open'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.

18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:763

:in `connect'", "org/jruby/ext/timeout/Timeout.java:104:in `timeout'",
"/C:/arch

ivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jrub

y.home/lib/ruby/1.9/net/http.rb:763:in `connect'",
"/C:/archivesspace/gems/gems/

jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/

net/http.rb:756:in `do_start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/l

ib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:745:in

`start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18

.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:454:in `get_response'",
"file

:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:45:in
`last_snapshot_stat

us'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:100:in
`do_sna

pshot'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:63:in
`snap

shot'", "org/jruby/RubyFixnum.java:280:in `times'",
"file:/C:/archivesspace/lib/

common.jar!/solr_snapshotter.rb:61:in `snapshot'",
"../launcher/backup/lib/backu

p.rb:100:in `backup'", "../launcher/backup/lib/backup.rb:149:in `main'",
"../lau

ncher/backup/lib/backup.rb:153:in `(root)'"]) - attempt 0

ERROR: Solr snapshot failed (Solr snapshot failed: Connection refused -
Connecti

on refused: ["org/jruby/ext/socket/RubyTCPSocket.java:126:in `initialize'",
"org

/jruby/RubyIO.java:1177:in `open'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.

18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:763

:in `connect'", "org/jruby/ext/timeout/Timeout.java:104:in `timeout'",
"/C:/arch

ivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jrub

y.home/lib/ruby/1.9/net/http.rb:763:in `connect'",
"/C:/archivesspace/gems/gems/

jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/

net/http.rb:756:in `do_start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/l

ib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:745:in

`start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18

.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:454:in `get_response'",
"file

:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:45:in
`last_snapshot_stat

us'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:100:in
`do_sna

pshot'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:63:in
`snap

shot'", "org/jruby/RubyFixnum.java:280:in `times'",
"file:/C:/archivesspace/lib/

common.jar!/solr_snapshotter.rb:61:in `snapshot'",
"../launcher/backup/lib/backu

p.rb:100:in `backup'", "../launcher/backup/lib/backup.rb:149:in `main'",
"../lau

ncher/backup/lib/backup.rb:153:in `(root)'"]) - attempt 1

ERROR: Solr snapshot failed (Solr snapshot failed: Connection refused -
Connecti

on refused: ["org/jruby/ext/socket/RubyTCPSocket.java:126:in `initialize'",
"org

/jruby/RubyIO.java:1177:in `open'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.

18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:763

:in `connect'", "org/jruby/ext/timeout/Timeout.java:104:in `timeout'",
"/C:/arch

ivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jrub

y.home/lib/ruby/1.9/net/http.rb:763:in `connect'",
"/C:/archivesspace/gems/gems/

jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/

net/http.rb:756:in `do_start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/l

ib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:745:in

`start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18

.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:454:in `get_response'",
"file

:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:45:in
`last_snapshot_stat

us'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:100:in
`do_sna

pshot'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:63:in
`snap

shot'", "org/jruby/RubyFixnum.java:280:in `times'",
"file:/C:/archivesspace/lib/

common.jar!/solr_snapshotter.rb:61:in `snapshot'",
"../launcher/backup/lib/backu

p.rb:100:in `backup'", "../launcher/backup/lib/backup.rb:149:in `main'",
"../lau

ncher/backup/lib/backup.rb:153:in `(root)'"]) - attempt 2

ERROR: Solr snapshot failed (Solr snapshot failed: Connection refused -
Connecti

on refused: ["org/jruby/ext/socket/RubyTCPSocket.java:126:in `initialize'",
"org

/jruby/RubyIO.java:1177:in `open'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.

18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:763

:in `connect'", "org/jruby/ext/timeout/Timeout.java:104:in `timeout'",
"/C:/arch

ivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jrub

y.home/lib/ruby/1.9/net/http.rb:763:in `connect'",
"/C:/archivesspace/gems/gems/

jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/

net/http.rb:756:in `do_start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/l

ib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:745:in

`start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18

.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:454:in `get_response'",
"file

:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:45:in
`last_snapshot_stat

us'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:100:in
`do_sna

pshot'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:63:in
`snap

shot'", "org/jruby/RubyFixnum.java:280:in `times'",
"file:/C:/archivesspace/lib/

common.jar!/solr_snapshotter.rb:61:in `snapshot'",
"../launcher/backup/lib/backu

p.rb:100:in `backup'", "../launcher/backup/lib/backup.rb:149:in `main'",
"../lau

ncher/backup/lib/backup.rb:153:in `(root)'"]) - attempt 3

ERROR: Solr snapshot failed (Solr snapshot failed: Connection refused -
Connecti

on refused: ["org/jruby/ext/socket/RubyTCPSocket.java:126:in `initialize'",
"org

/jruby/RubyIO.java:1177:in `open'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.

18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:763

:in `connect'", "org/jruby/ext/timeout/Timeout.java:104:in `timeout'",
"/C:/arch

ivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jrub

y.home/lib/ruby/1.9/net/http.rb:763:in `connect'",
"/C:/archivesspace/gems/gems/

jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/

net/http.rb:756:in `do_start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/l

ib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:745:in

`start'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18

.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:454:in `get_response'",
"file

:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:45:in
`last_snapshot_stat

us'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:100:in
`do_sna

pshot'", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:63:in
`snap

shot'", "org/jruby/RubyFixnum.java:280:in `times'",
"file:/C:/archivesspace/lib/

common.jar!/solr_snapshotter.rb:61:in `snapshot'",
"../launcher/backup/lib/backu

p.rb:100:in `backup'", "../launcher/backup/lib/backup.rb:149:in `main'",
"../lau

ncher/backup/lib/backup.rb:153:in `(root)'"]) - attempt 4

Solr snapshot failed (Solr snapshot failed after 5 retries: Solr snapshot
failed

: Connection refused - Connection refused:
["org/jruby/ext/socket/RubyTCPSocket.

java:126:in `initialize'", "org/jruby/RubyIO.java:1177:in `open'",
"/C:/archives

space/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.ho

me/lib/ruby/1.9/net/http.rb:763:in `connect'",
"org/jruby/ext/timeout/Timeout.ja

va:104:in `timeout'",
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-s

tdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:763:in
`connect'"

,
"/C:/archivesspace/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/ME

TA-INF/jruby.home/lib/ruby/1.9/net/http.rb:756:in `do_start'",
"/C:/archivesspac

e/gems/gems/jruby-jars-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/l

ib/ruby/1.9/net/http.rb:745:in `start'",
"/C:/archivesspace/gems/gems/jruby-jars

-1.7.18/lib/jruby-stdlib-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.r

b:454:in `get_response'",
"file:/C:/archivesspace/lib/common.jar!/solr_snapshott

er.rb:45:in `last_snapshot_status'",
"file:/C:/archivesspace/lib/common.jar!/sol

r_snapshotter.rb:100:in `do_snapshot'",
"file:/C:/archivesspace/lib/common.jar!/

solr_snapshotter.rb:63:in `snapshot'", "org/jruby/RubyFixnum.java:280:in
`times'

", "file:/C:/archivesspace/lib/common.jar!/solr_snapshotter.rb:61:in
`snapshot'"

, "../launcher/backup/lib/backup.rb:100:in `backup'",
"../launcher/backup/lib/ba

ckup.rb:149:in `main'", "../launcher/backup/lib/backup.rb:153:in
`(root)'"]).  A
borting!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150710/4c29ff4f/attachment.html>


More information about the Archivesspace_Users_Group mailing list