[Archivesspace_Users_Group] 2.5 install issue
Majewski, Steven Dennis (sdm7g)
sdm7g at virginia.edu
Mon Nov 12 14:02:28 EST 2018
The default ports haven’t changed.
Blake transposed digits in his email to 8028, but the error message says 8082, which is the default port for public webapp.
Default port numbers are in common/config/config-defaults.rb:
https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L22-L48 <https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L22-L48>
AppConfig[:backend_url] = "http://localhost:8089"
AppConfig[:frontend_url] = "http://localhost:8080"
AppConfig[:public_url] = "http://localhost:8081"
AppConfig[:oai_url] = "http://localhost:8082"
AppConfig[:solr_url] = "http://localhost:8090"
AppConfig[:indexer_url] = "http://localhost:8091"
AppConfig[:docs_url] = "http://localhost:8888"
> On Nov 12, 2018, at 1:53 PM, Neal, Rick <rneal at richmond.edu> wrote:
>
> Blake,
>
> What port did it run on before 2.5?
>
> Rick
>
> Sent from my iPhone
>
> On Nov 12, 2018, at 11:39 AM, Blake Carver <blake.carver at lyrasis.org> wrote:
>
>>>> WARNING: FAILED SelectChannelConnector at 0.0.0.0:8082: java.net.BindException: Address already in use
>>
>> Something is running on port 8028 already so ArchivesSpace can't start up since that's being used now.
>>
>>
>>
>> ________________________________________
>> From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Neal, Rick <rneal at richmond.edu>
>> Sent: Monday, November 12, 2018 11:30:07 AM
>> To: Archivesspace Users Group
>> Subject: [Archivesspace_Users_Group] 2.5 install issue
>>
>> Good morning,
>>
>> I successfully upgraded our version of ArchiveSpace on my test server to version 2.5 with no issues.
>>
>> I am now trying to replicate it on my production server.
>>
>> After my upgrade I restarted the service and the staff and public interfaces won’t display in a browser although the backend does:
>>
>> { "databaseProductName": "MySQL", "databaseProductVersion": "5.1.73", "ruby_version": "2.3.0", "host_os": "linux", "host_cpu": "x86_64", "build": "java1.7", "archivesSpaceVersion": "v2.5.0" }
>>
>>
>> The archivesspace.out log had this in it: A trace file has been written to the following location: /tmp/aspace_diagnostic_1542039282.txt
>>
>> That file mentions that an address is already in use. (I append it to the bottom).
>>
>> I did not use the new config.rb file because I use virtualhosts to give unique urls for ArchivesSpace to use. The only thing in my config.rb file that is uncommented is the line for database access. I have been using it this way for years now and there was no issue with the recent test server upgrade.
>>
>> I appreciate whatever advice you have.
>>
>> Rick
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~
>>
>> I see this in the archivesspace.out file
>>
>> Nov 12, 2018 11:14:42 AM org.eclipse.jetty.server.handler.ContextHandler callContextInitialized
>> INFO: started o.e.j.w.WebAppContext{/,file:/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8082-oai.war-_-any-/webapp/},/usr/local/archivesspace/wars/oai.war
>> Nov 12, 2018 11:14:42 AM org.eclipse.jetty.util.component.AbstractLifeCycle setFailed
>> WARNING: FAILED SelectChannelConnector at 0.0.0.0:8082: java.net.BindException: Address already in use
>>
>> This is the complete aspace_diagnostic_1542032577.txt file
>>
>> "cpu_count": 2,
>> "exception": {
>> "msg": "Address already in use",
>> "backtrace": [
>> "sun.nio.ch.Net.bind0(Native Method)",
>> "sun.nio.ch.Net.bind(sun/nio/ch/Net.java:463)",
>> "sun.nio.ch.Net.bind(sun/nio/ch/Net.java:455)",
>> "sun.nio.ch.ServerSocketChannelImpl.bind(sun/nio/ch/ServerSocketChannelImpl.java:223)",
>> "sun.nio.ch.ServerSocketAdaptor.bind(sun/nio/ch/ServerSocketAdaptor.java:74)",
>> "org.eclipse.jetty.server.nio.SelectChannelConnector.open(org/eclipse/jetty/server/nio/SelectChannelConnector.java:182)",
>> "org.eclipse.jetty.server.AbstractConnector.doStart(org/eclipse/jetty/server/AbstractConnector.java:311)",
>> "org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(org/eclipse/jetty/server/nio/SelectChannelConnector.java:260)",
>> "org.eclipse.jetty.util.component.AbstractLifeCycle.start(org/eclipse/jetty/util/component/AbstractLifeCycle.java:59)",
>> "org.eclipse.jetty.server.Server.doStart(org/eclipse/jetty/server/Server.java:283)",
>> "org.eclipse.jetty.util.component.AbstractLifeCycle.start(org/eclipse/jetty/util/component/AbstractLifeCycle.java:59)",
>> "java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:606)",
>> "org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:438)",
>> "org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:302)",
>> "launcher.launcher.invokeOther148:start(launcher/launcher.rb:92)",
>> "launcher.launcher.start_server(launcher/launcher.rb:92)",
>> "launcher.launcher.invokeOther341:start_server(launcher/launcher.rb:179)",
>> "launcher.launcher.main(launcher/launcher.rb:179)",
>> "launcher.launcher.invokeOther454:main(launcher/launcher.rb:261)",
>> "launcher.launcher.<main>(launcher/launcher.rb:261)",
>> "java.lang.invoke.MethodHandle.invokeWithArguments(java/lang/invoke/MethodHandle.java:599)",
>> "org.jruby.Ruby.runScript(org/jruby/Ruby.java:827)",
>> "org.jruby.Ruby.runNormally(org/jruby/Ruby.java:746)",
>> "org.jruby.Ruby.runNormally(org/jruby/Ruby.java:764)",
>> "org.jruby.Ruby.runFromMain(org/jruby/Ruby.java:577)",
>> "org.jruby.Main.doRunFromMain(org/jruby/Main.java:417)",
>> "org.jruby.Main.internalRun(org/jruby/Main.java:305)",
>> "org.jruby.Main.run(org/jruby/Main.java:232)",
>> "org.jruby.Main.main(org/jruby/Main.java:204)"
>> ]
>> }
>> }
>> _______________________________________________
>> Archivesspace_Users_Group mailing list
>> Archivesspace_Users_Group at lyralists.lyrasis.org
>> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20181112/e9e39a63/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6102 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20181112/e9e39a63/attachment.bin>
More information about the Archivesspace_Users_Group
mailing list