You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/06/23 06:24:11 UTC

[GitHub] [couchdb-documentation] subgero commented on issue #511: Extend Clouseau(search-plugin) installation docs

subgero commented on issue #511:
URL: https://github.com/apache/couchdb-documentation/issues/511#issuecomment-647935625


   Hi @Dracoyodan, are you running this in a docker container? If I follow [this documentation](https://docs.couchdb.org/en/master/install/search.html#install-search) working on Ubuntu 18.04 everything works fine, but If I try to do the same in a docker container(apache/couchdb:3.1 | Debian 10), I receive this message:
   
   `2020-06-23 05:54:05,939 clouseau.main [FATAL] Uncaught exception: Connection refused
   2020-06-23 05:54:05,942 scalang.epmd.EpmdHandler [DEBUG] Oh snap channel closed.`  
   
   - Jar files are in place /opt/clouseau, the same for clouseau.ini and log4j.properties.
   
   - Dockerfile
   
   > FROM apache/couchdb:3.1
   expose 5984:5984
   RUN apt update
   RUN apt install libterm-readline-gnu-perl dialog -y
   RUN apt upgrade -y
   RUN apt install wget software-properties-common -y
   RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
   RUN add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
   RUN apt update
   RUN apt install adoptopenjdk-8-hotspot -y
   COPY src/clouseau/ /opt/clouseau/
   
   - Inside the container we are running this:
   
   `java -server -classpath '/opt/clouseau/*' -Xmx2G -Dsun.net.inetaddr.ttl=30 -Dsun.net.inetaddr.negative.ttl=30 -Dlog4j.debug=true -Dlog4j.configuration=file:/opt/clouseau/log4j.properties -XX:OnOutOfMemoryError="kill -9 %p" -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled com.cloudant.clouseau.Main /opt/clouseau/clouseau.ini
   `
   
   But I have no success.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org