Skip to content

Unable to run Clouseau after following the documentation #2630

@natcohen

Description

@natcohen

Description

Unable to run Clouseau even after following the installation procedure.

Steps to Reproduce

After carefully following the procedure here I'm unable to get it working on CentOS 8. Here is what I have done:

  • Installed Java 8 as described here.

  • Unzipped the Clouseau release in folder /opt/clouseau and added the clouseau.ini
    log4j.properties files (as described in the procedure) in the same folder.

  • Added the classpath:

    export CLASSPATH=/opt/clouseau/*`
  • Tried to run it with the following command:
    java -server \
         -Xmx2G \
         -Dsun.net.inetaddr.ttl=30 \
         -Dsun.net.inetaddr.negative.ttl=30 \
         -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'm getting the following error:

Unrecognized option: -9
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

In addition, I can see in the default.ini file of CouchDB some reference to dreyfus. Does it mean that I should add a configuration to CouchDB?

Also

cookie=monster

is described as "; set this to the same distributed Erlang cookie used by the CouchDB nodes" but I don't know where to find that.

Expected Behaviour

The Clouseau configuration should be easier to setup (probably by improving the documentation)

Your Environment

  • CouchDB version used: 3.0
  • Browser name and version: N/A
  • Operating system and version: CentOS 8

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions